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
< >
Сообщения 12 из 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.
< >
Сообщения 12 из 2
Показывать на странице: 1530 50