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!
Научете още
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?
Последно редактиран от Fly in the Sky; 11 май 2022 в 7:57
< >
Показване на 1-2 от 2 коментара
Pintea  [разработчик] 2 11 май 2022 в 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.
Първоначално публикувано от 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.
< >
Показване на 1-2 от 2 коментара
На страница: 1530 50