EvilEngine/Assets: Difference between revisions

Content added Content deleted
Battlepedia>Seil
Battlepedia>Seil
Line 37: Line 37:
! Offset !! Type !! Variable !! Description
! Offset !! Type !! Variable !! Description
|-
|-
| 0x08 || byte || '''Visibility flags''' || 0 is invisible, 1 is visible. Can be changed dynamically mid-game through events. Does not apply to every type.
| 0x08 || byte || '''Visibility flags''' || Flags stored in a bitfield, most likely related to visibility. Can be changed dynamically mid-game through events. (?) Always 1 for [[BOUL]] and [[PLYR]].
* 1 - '''Visible''', used by [[BOUL]], [[BUTN]], [[DSTR]], [[EGEN]], [[PKUP]], [[PLAT]], [[PLYR]], [[SIMP]], [[TRIG]], [[UI]], [[UIFT]], [[VIL]]
* 2 - '''Unknown''', used by [[DSTR]], [[VIL]]
* 4 - Unused
* 8 - '''Unknown''', used by [[PLAT]]
* 16 - Unused
* 32 - Unused
* 64 - '''Unknown''', used by [[VIL]]
* 128 - Unused
|-
|-
| 0x09 || byte || '''Type flags''' || Defines the subtype of the asset. Usually 0 except for the asset types listed below.
| 0x09 || byte || '''Type flags''' || Defines the subtype of the asset. Usually 0 except for the asset types listed below.
Line 44: Line 52:
* [[TRIG]] - 0 = Box, 1 = Sphere
* [[TRIG]] - 0 = Box, 1 = Sphere
|-
|-
| 0x0A || byte || '''Unknown flags''' ||
| 0x0A || byte || '''Unknown flags''' || Always 0.
|-
|-
| 0x0B || byte || '''Solidity flags''' || 0 = unsolid, 1 = collision is a box around the model, 2 = solid. Can be changed dynamically mid-game through events. Does not apply to every type.
| 0x0B || byte || '''Solidity flags''' || Flags stored in a bitfield, most likely related to collision. Can be changed dynamically mid-game through events. (?) Always 0 for [[BOUL]], [[PLYR]], and [[TRIG]].
* 1 - Unused
* 2 - '''Unknown''', used by [[BUTN]], [[DSTR]], [[EGEN]], [[PKUP]], [[PLAT]], [[SIMP]], [[UI]], [[UIFT]], [[VIL]]
* 4 - '''Unknown''', used by [[EGEN]]
* 8 - Unused
* 16 - Unused
* 32 - '''Unknown''', used by [[PLAT]], [[SIMP]]
* 64 - Unused
* 128 - '''Unknown''', used by [[PLAT]], [[SIMP]]
|-
|-
| 0x0C || int || '''Unknown''' || Always null. '''Not present in some versions of placeable assets''', mainly beta/unused assets and non-BFBB assets.
| 0x0C || int || '''Unknown''' || Always null. '''Not present in some versions of placeable assets''', mainly beta/unused assets and non-BFBB assets.