EvilEngine/BOUL: Difference between revisions
Content added Content deleted
Battlepedia>Seil (→Format) |
Battlepedia>Seil (→Format) |
||
Line 29: | Line 29: | ||
| 0x70 || float || '''Angular Friction''' |
| 0x70 || float || '''Angular Friction''' |
||
|- |
|- |
||
| 0x74 || float || '''Min Bounce Velocity''' |
| 0x74 || float || '''Min Bounce Velocity''' - If Y velocity is below this when hitting the ground, it gets reset to 0. |
||
|- |
|- |
||
| 0x78 || int || '''Flags''' |
| 0x78 || int || '''Flags''' |
||
* 1 - '''Can Hit Walls''' - If false, dies on hitting a wall. |
|||
* 2 - '''Damage Player''' |
|||
* 4 - something related to destructible objects |
|||
* 8 - '''Damage NPCs''' |
|||
* 16 - |
|||
* 32 - '''Die on OOB Surfaces''' |
|||
* 64 - |
|||
* 128 - |
|||
* 256 - '''Die on Bubble Spin''' |
|||
* 512 - '''Die after Lifetime''' - If false, same effect as setting Lifetime to 0 (infinity). |
|||
|- |
|- |
||
| 0x7C || float || '''Lifetime''' in seconds. If 0, lifetime is infinity and Can Hit Walls is forced on. Note that it can still die on OOB surfaces and bubble spin. |
|||
| 0x7C || float || Unknown |
|||
|- |
|- |
||
| 0x80 || int || Unknown (always 1) |
| 0x80 || int || Unknown (always 1) |
Revision as of 00:09, 4 December 2018
BOUL | |
---|---|
Boulder | |
Type | Placeable |
Games used | The Incredibles |
This asset defines an entry for boulders such as the ones thrown by cannons.
Format
Boulders are placeable assets, so they start with their 0x54 byte header, then are followed by:
Offset | Type | Description |
---|---|---|
0x54 | float | Gravity |
0x58 | float | Mass |
0x5C | float | Bounciness |
0x60 | float | Friction |
0x64 | float | Unknown |
0x68 | float | Max Linear Velocity |
0x6C | float | Max Angular Velocity |
0x70 | float | Angular Friction |
0x74 | float | Min Bounce Velocity - If Y velocity is below this when hitting the ground, it gets reset to 0. |
0x78 | int | Flags
|
0x7C | float | Lifetime in seconds. If 0, lifetime is infinity and Can Hit Walls is forced on. Note that it can still die on OOB surfaces and bubble spin. |
0x80 | int | Unknown (always 1) |
0x84 | AssetID (Sound) | Bounce Sound |
0x88 | float[5] | Unknown |
Events | ||
0x9C | Event[numberOfEvents] | Events |