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