EvilEngine/BOUL: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
Battlepedia>Seil
mNo edit summary
Battlepedia>Seil
Line 13: Line 13:
! Offset !! Type !! Description
! Offset !! Type !! Description
|-
|-
| 0x54 || float[9] || ?
| 0x54 || float || '''Gravity'''
|-
|-
| 0x78 || int || ?
| 0x58 || float || '''Mass'''
|-
|-
| 0x7C || float || ?
| 0x5C || float || '''Bounciness'''
|-
|-
| 0x80 || int || ?
| 0x60 || float || '''Friction'''
|-
|-
| 0x84 || [[AssetID]] || ?
| 0x64 || float || Unknown
|-
|-
| 0x88 || float[5] || ?
| 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 Format|Sound]]) || '''Bounce Sound'''
|-
| 0x88 || float[5] || Unknown
|-
|-
! colspan="3" | Events
! colspan="3" | Events

Revision as of 07:55, 3 December 2018

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