EvilEngine/BOUL: Difference between revisions
Content added Content deleted
Battlepedia>Seil (→Format) |
Battlepedia>Seil m (→Format) |
||
Line 40: | Line 40: | ||
* 64 - |
* 64 - |
||
* 128 - |
* 128 - |
||
* 256 - '''Die on |
* 256 - '''Die on Player Attack''' |
||
* 512 - '''Die after Lifetime''' - If false, same effect as setting Lifetime to 0 (infinity). |
* 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 |
| 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 player attack. |
||
|- |
|- |
||
| 0x80 || int || Unknown (always 1) |
| 0x80 || int || Unknown (always 1) |
Revision as of 08:13, 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 player attack. |
0x80 | int | Unknown (always 1) |
0x84 | AssetID (Sound) | Bounce Sound |
0x88 | float[5] | Unknown |
Events | ||
0x9C | Event[numberOfEvents] | Events |