Door Kickers
Platoon Workshop
Find and install maps, equipment and other mods made by our awesome community. Or create your own and upload it directly to Steam!
Află mai multe
What Is The Meaning Of "flags" ?
I'm trying to make some object mod of DK1, and I checked object_library.xml these days.

And I found objects information like this:

<Entity name="ATM" type="Cover" fogOfWarVisibility="partial">
<CollisionInfo type="static" flags="10"/>
<RenderObject2D texture="data/textures/environment/obj_atm.png" layer="2"/>
</Entity>

Now I got other things' meaning of this item, but I cannot figure out what "flags' means, seems like it doesn't effect both element type and collision.

So is that important to find out its meaning?
Editat ultima dată de Fly in the Sky; 11 mai 2022 la 7:57
< >
Se afișează 1-2 din 2 comentarii
Pintea  [dezvoltator] 2 11 mai 2022 la 8:10 
It’s a combination of parameters that tells the game whether that object should block movement, or if the troops can’t see over it etc.
I think they are explained at the top of entities.xml file, or one of the files in that folder.
Postat inițial de Pintea:
It’s a combination of parameters that tells the game whether that object should block movement, or if the troops can’t see over it etc.
I think they are explained at the top of entities.xml file, or one of the files in that folder.
Okay, I'll check it again.
< >
Se afișează 1-2 din 2 comentarii
Per pagină: 1530 50