EvilEngine/DYNA

From Heavy Iron Modding
Revision as of 23:20, 7 May 2020 by Battlepedia>Igorseabra4
DYNA
Dynamic
TypeObject
Games usedThe Incredibles

Format

Dynamics are object assets, so they start with their 8 byte header, then are followed by another 8 byte header:

Offset Type Variable Description
0x08 int type The subtype of this dynamic. Each Type is listed below and has its own page, where you can find its possible values for Version and format for Data.
0x0C short version The version of this dynamic. (Depends on the Type)
0x0E short handle Always 0.

HUD format (BFBB)

hud:meter:font, hud:meter:unit, hud:model, and hud:text all contain another header following the DYNA header.

Note: the X and Y coordinates of all Vector3s in HUD assets are measured in screen coordinates (0 to 1). The Z coordinate is distance from the camera which is only useful for Z-buffering (there is no visible size difference).

Offset Type Variable Description
0x10 Vector3 loc Position
0x1C Vector3 size Size

Meter format

hud:meter:font and hud:meter:unit both contain another header following the HUD header:

Offset Type Variable Description
0x28 float start_value
0x2C float min_value
0x30 float max_value
0x34 float increment_time
0x38 float decrement_time
0x3C AssetID (Sound) sound.start_increment
0x40 AssetID (Sound) sound.increment
0x44 AssetID (Sound) sound.start_decrement
0x48 AssetID (Sound) sound.decrement

Types

The following is a list of all DYNA types found across all 4 games (Scooby doesn't use DYNAs). Columns 1 through 4 represent the games ordered by their release dates, and specify which asset types are used in each game.

  1. SpongeBob SquarePants: Battle for Bikini Bottom
  2. The SpongeBob SquarePants Movie
  3. The Incredibles
  4. The Incredibles: Rise of the Underminer
Name ID Version Description 1 2 3 4
camera:preset 0xCDAB9190
effect:Flamethrower 0xFB1179F5
effect:grass 0x081A3629
effect:Lightning 0x94B8EF2D 2
Effect:particle_generator 0x4AF4ABC7 1
effect:Rumble 0x2A59443A 3
effect:Rumble Box Emitter 0x56F5D96F Unused.
effect:Rumble Spherical Emitter 0x1337E641 1
effect:ScreenFade 0x9535DB9D 1
effect:smoke_emitter 0x0903FBB9 1
effect:spark_emitter 0xA7039867
effect:Splash 0xCDF6730C
effect:spotlight 0x6AA8BF67 2
effect:uber_laser 0xA866726F
effect:water_body 0x90D4BA5B
effect:Waterhose 0x03E64AEB
Enemy:SB 0x5B1CC119 Unused.
Enemy:SB:BucketOTron 0xD2D6A1E5 4 Bucket-O-Tron enemy.
Enemy:SB:CastNCrew 0x1F9D54BB 1 Frogfish tongue spinner enemy and Dennis SpongeBob enemy.
Enemy:SB:Critter 0x45B73B62 2 Jellyfish enemy.
Enemy:SB:Dennis 0xCE41C144 3 Dennis boss.
Enemy:SB:FrogFish 0x11FCF451 2 Frogfish boss.
Enemy:SB:Mindy 0xC92170B2 3 Mindy, SpongeBob, and Patrick NPC.
Enemy:SB:Neptune 0xBE8C5CAC 4 King Neptune boss.
Enemy:SB:Standard 0x44EA147A 7 Fogger, Slammer, Flinger, Popper, Spinner, Mini-Merv, and Mervyn enemy.
Enemy:SB:SupplyCrate 0x495BFF9B 2 Supply Crate, Balloon Box, Supply Computer, Thunder Barrel, and Steel Safe.
Enemy:SB:Turret 0x9FEC1E09 4 Turret enemy.
game_object:BoulderGenerator 0xBB4864D8 1
game_object:bullet_mark 0x381232B4
game_object:bullet_time 0x390467A4
game_object:bungee_drop 0x574749A4 1
game_object:bungee_hook 0x57CFB6F0 13
game_object:BusStop 0x8F012778 2 Bus Stop/Port-O-Head for switching playable characters. ✔
game_object:camera_param_asset 0xE44DCEBA
game_object:Camera_Tweak 0x9092FB14 1
game_object:dash_camera_spline 0x571A5DBC
game_object:flame_emitter 0xE6120704 4
game_object:Flythrough 0x85BFDF34 1 Widget for Flythrough. ✔
game_object:Grapple 0xE7928821
game_object:Hangable 0x1D3C54EE
game_object:IN_Pickup 0x832E4208
game_object:laser_beam 0xBBCB17C1
game_object:NPCSettings 0x8768334A 2
game_object:RaceTimer 0x844BCF76 2
game_object:rband_camera_asset 0x945F2E84
game_object:Ring 0x4D81C1EE 2
game_object:RingControl 0x18028CA7 3
game_object:RubbleGenerator 0x3D0D5121
game_object:talk_box 0x0934B196 11 Instance of text box. ✔
game_object:task_box 0xE9D2C1BB 2 NPC talk box settings for specific playable characters. ✔
game_object:Taxi 0x4DC449FC 1 Taxi stops for warping to other levels. ✔
game_object:Teleport 0x70ADB7F9 1 or 2 Teleport box. ✔
game_object:text_box 0x442E1337 1 Text box style settings. ✔
game_object:train_car 0xC279D693
game_object:train_junction 0xEA7B28D9
game_object:Turret 0x798A7982
game_object:Vent 0x4E09EC43 1
game_object:VentType 0x5E5B5165 1
hud:image 0xB8DA553C Unused.
hud:meter:font 0x8B3E732F 3
hud:meter:unit 0x8D40B9AC 3
hud:model 0xFF5691D2 1
hud:text 0x687ED0B0 1
Incredibles:Icon 0xD6093241
interaction:Launch 0x4B03B4F7
interaction:Lift 0x4C1F2B57
interaction:Turn 0x4D34C2B9
JSP Extra Data 0x204D6ADB 1
logic:Function Generator 0x4494F483 Unused.
logic:reference 0xF98698FF 1
npc:group 0x2326640A
pointer 0x2196C135 1
Scene Properties 0xFABDB3B3 1
ui:box 0x8C2D107D 2
ui:controller 0xE8753BAE 0
ui:image 0x337BCB31 1
ui:model 0x79F807C7 2
ui:text 0xBD7646D7 2
ui:text:user string 0xFB50BACB Unused.