Door Kickers

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!
深入了解
Fly in the Sky 13 2022 年 5 月 11 日 上午 7:56
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; 2022 年 5 月 11 日 上午 7:57
< >
目前顯示第 1-2 則留言,共 2
Pintea  [開發人員] 2 2022 年 5 月 11 日 上午 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.
Fly in the Sky 13 2022 年 5 月 11 日 上午 8:19 
引用自 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