• Dear visitors,

    The email issue has been finally solved.
    Thank you for your patience and happy browsing.

    Team ACM.

QUESTION KSLAYER issue

Mitja Bonca

Active Member
Hi, on my latest track I have issues with multiple same objects, which are made for choosing level of details.
For example, I named fences like:
fence01_01_KSLAYER3
fence01_02_KSLAYER4
...
All fences have unique name for sure, even before kslayer part.

But in the game (in AC) both fences are shown, for layer3 and layer 4. Never happened to me before. Don't know whats wrong. Any idea?
 

Johnr777

Moderator
Hi, on my latest track I have issues with multiple same objects, which are made for choosing level of details.
For example, I named fences like:
fence01_01_KSLAYER3
fence01_02_KSLAYER4
...
All fences have unique name for sure, even before kslayer part.

But in the game (in AC) both fences are shown, for layer3 and layer 4. Never happened to me before. Don't know whats wrong. Any idea?
Not sure I understand what you are trying to do, are they 2 separate fences in different locations and you want to make them disappear or are they the same and you are trying to have the high detail switch into the lower detail?

Switching between the 2 objects will require that you set the LOD out value of the higher poly object at.. example 150, and set the LOD in value of the lower poly object at 149... again, example values.
 

Mitja Bonca

Active Member
I have 2 different fences (2 objects) on same place, one is low poly, 2nd one high poly. I want one to be selected when in game high level of details is selected, 2nd one when very high is selected.
But I still didnt set the lods in kseditor.
I though thats not necessary, or is it?
Lod is only when some objects appear and disappear, right? It has nothing to do with kslayer reserved word in AC, as fas as I know.
 
Last edited:

Johnr777

Moderator
I have 2 different fence on same place, one is low poly, 2nd one high poly. I want one to be selected when in game high level of details is selected, 2nd one when vety high is selected.
But I still didnt set the lods in kseditor.
I though thats not necessary, or is it?
Lod is only when some objects appear and disappear, right? It has nothing to do with kslayer reserved word in AC, as fas as I know.
Yeah, that wont work then. Because Very High will render everything, all lower KSLAYERs as well.

Example, to show how it renders

MAX = Layers 1,2,3,4,5
Very High = Layers 1,2,3,4
High = Layers 1,2,3
Med = Layers 1,2
Low = Layer 1
 

Mitja Bonca

Active Member
So I have to set lods? So in All previous projects I was doing it wrong :(
Any idea how to salve this? How to hide all objects of KS3 when KS4 is selected for example? As you described in your 1st post?
 

Johnr777

Moderator
So I have to set lods? So i. All previous projects I was doing it wrong :(
Any idea how to salve this?
Yeah, unfortunately it layers them, not replaces anything.

For your multi-object system, you need to use LODs, so in KS editor, high poly object LOD IN = 0 , LOD OUT = 100, low poly object LOD IN = 74, LOD OUT = 350

Try those values or change them as needed
 

Mitja Bonca

Active Member
Thank you so much. This is exactly what I was after :) I can even optimize my previous tracks.

Btw, this wouln't work?
high poly object LOD IN = 0 , LOD OUT = 100, low poly object LOD IN = 100 (or 99) LOD OUT = 350

So that you don't have duplicate objects at one for some period of time.
 
Last edited:

Johnr777

Moderator
Thank you so much. This is exactly what I was after :) I can even optimize my previous tracks.

Btw, this wouln't work?
high poly object LOD IN = 0 , LOD OUT = 100, low poly object LOD IN = 100 (or 99) LOD OUT = 350

So that you don't have duplicate objects at one for some period of time.
You might need to overlap, otherwise they could disappear for a split second. But try, might be ok
 
Top