EvilEngine/BOUL

From Heavy Iron Modding
Revision as of 07:55, 3 December 2018 by Battlepedia>Seil (→‎Format)
BOUL
Boulder
TypePlaceable
Games usedThe 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 (damage player, damage NPCs, etc.)
0x7C float Unknown
0x80 int Unknown (always 1)
0x84 AssetID (Sound) Bounce Sound
0x88 float[5] Unknown
Events
0x9C Event[numberOfEvents] Events

Events