HANG

From Battlepedia
Jump to navigationJump to search
HANG
Hangable
Type Placeable
Object ID 0x17
Games used Night of 100 Frights
Rise of the Underminer

This asset defines an entry for a hangable object in Scooby Doo: Night of 100 Frights. Although hangables do work in Battle For Bikini Bottom (after adapting the extra value in the Placeable Asset struct), they do not function and will simply display the model.

Format

Hangables are placeable assets, so they start with their 0x54 byte header (which is only 0x50 in Scooby), then are followed by:

Offset Type Variable Description
0x54 int flags
0x58 float pivotOffset
0x5C float leverArm
0x60 float gravity
0x64 float accel
0x68 float decay
0x6C float grabDelay
0x70 float stopDecel
Events
0x60 Event[numberOfEvents] Events

Events