EvilEngine/DYNA: Difference between revisions

no edit summary
Battlepedia>Igorseabra4
Battlepedia>Igorseabra4
No edit summary
Line 4:
|objectid=0x00
|games=Battle for Bikini Bottom<br>The SpongeBob SquarePants Movie<br>The Incredibles<br>Rise of the Underminer}}
 
A '''Dynamic''' is an asset type which can do multiple functions, depending on their type. The format for each DYNA type is completely different, and some are only used in some games.
 
==Format==
Line 11 ⟶ 13:
! Offset !! Type !! Variable !! Description
|-
| 0x08 || int || '''type''' || The subtype of this dynamic. Each Typetype 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. (Dependsdepends on the Typetype).
|-
| 0x0E || short || '''handle''' || Always 0.
|}
 
==Types==
===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 [[Vector3]]s 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).
 
{| class="wikitable"
! 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:
 
{| class="wikitable"
! 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.
 
Line 74 ⟶ 38:
! 4
|-
| [[#audio:conversation|audio:conversation]] || 0x3A335FCF || || || || || || ✔
|-
| [[Camera (Dynamic Type)#camera:binary_poi|camera:binary_poi]] || 0xFA0E4015 || || || || || || ✔
|-
| [[Camera (Dynamic Type)#camera:preset|camera:preset]] || 0xCDAB9190 || || || || || ✔ ||
|-
| [[Camera (Dynamic Type)#camera:transition_path|camera:transition_path]] || 0xBBA5036A || || Unused. || || || ||
|-
| [[Camera (Dynamic Type)#camera:transition_time|camera:transition_time]] || 0xBC304E86 || || || || || || ✔
|-
| [[#Checkpoint|Checkpoint]] || 0x2DE7AB98 || || || || || || ✔
|-
| [[Effect (Dynamic Type)#effect:BossBrain|effect:BossBrain]] || 0xDEC6DFF0 || || || || || || ✔
Line 148 ⟶ 112:
| [[Enemy:SB (Dynamic Type)#Enemy:SB:Turret|Enemy:SB:Turret]] || 0x9FEC1E09 || 4 || Turret enemy. || || ✔ || ||
|-
| [[Game Object (Dynamic Type)#game_object:BoulderGenerator|game_object:BoulderGenerator]] || 0xBB4864D8 || 1 || || ✔ || ✔ || ✔ || ✔
|-
| [[Game Object (Dynamic Type)#game_object:bullet_mark|game_object:bullet_mark]] || 0x381232B4 || || || || || ✔ || ✔
|-
| [[Game Object (Dynamic Type)#game_object:bullet_time|game_object:bullet_time]] || 0x390467A4 || || || || || ✔ || ✔
|-
| [[Game Object (Dynamic Type)#game_object:bungee_drop|game_object:bungee_drop]] || 0x574749A4 || 1 || || ✔ || ✔ || ||
|-
| [[Game Object (Dynamic Type)#game_object:bungee_hook|game_object:bungee_hook]] || 0x57CFB6F0 || 13 || || ✔ || ✔ || ||
|-
| [[Game Object (Dynamic Type)#game_object:BusStop|game_object:BusStop]] || 0x8F012778 || 2 || Bus Stop/Port-O-Head for switching playable characters. || ✔ || ✔ || ||
|-
| [[Game Object (Dynamic Type)#game_object:camera_param_asset|game_object:camera_param_asset]] || 0xE44DCEBA || || || || || ✔ ||
|-
| [[Game Object (Dynamic Type)#game_object:Camera_Tweak|game_object:Camera_Tweak]] || 0x9092FB14 || 1 || || ✔ || ✔ || ✔ ||
|-
| [[Game Object (Dynamic Type)#game_object:dash_camera_spline|game_object:dash_camera_spline]] || 0x571A5DBC || || || || || ✔ ||
|-
| [[Game Object (Dynamic Type)#game_object:flame_emitter|game_object:flame_emitter]] || 0xE6120704 || 4 || || || ✔ || ✔ || ✔
|-
| [[Game Object (Dynamic Type)#game_object:Flythrough|game_object:Flythrough]] || 0x85BFDF34 || 1 || Widget for Flythrough. || ✔ || ✔ || ||
|-
| [[Game Object (Dynamic Type)#game_object:FreezableObject|game_object:FreezableObject]] || 0x35D19631 || || || || || || ✔
|-
| [[Game Object (Dynamic Type)#game_object:Grapple|game_object:Grapple]] || 0xE7928821 || || || || || ✔ ||
|-
| [[Game Object (Dynamic Type)#game_object:Hangable|game_object:Hangable]] || 0x1D3C54EE || || || || || ✔ || ✔
|-
| [[Game Object (Dynamic Type)#game_object:IN_Pickup|game_object:IN_Pickup]] || 0x832E4208 || || || || || ✔ || ✔
|-
| [[Game Object (Dynamic Type)#game_object:laser_beam|game_object:laser_beam]] || 0xBBCB17C1 || || || || || ✔ || ✔
|-
| [[Game Object (Dynamic Type)#game_object:NPCSettings|game_object:NPCSettings]] || 0x8768334A || 2 || || ✔ || || ||
|-
| [[Game Object (Dynamic Type)#game_object:RaceTimer|game_object:RaceTimer]] || 0x844BCF76 || 2 || || || ✔ || ✔ ||
|-
| [[Game Object (Dynamic Type)#game_object:rband_camera_asset|game_object:rband_camera_asset]] || 0x945F2E84 || || || || || ✔ ||
|-
| [[Game Object (Dynamic Type)#game_object:Ring|game_object:Ring]] || 0x4D81C1EE || 2 || || || ✔ || ||
|-
| [[Game Object (Dynamic Type)#game_object:RingControl|game_object:RingControl]] || 0x18028CA7 || 3 || || || ✔ || ||
|-
| [[Game Object (Dynamic Type)#game_object:RubbleGenerator|game_object:RubbleGenerator]] || 0x3D0D5121 || || || || || ✔ || ✔
|-
| [[Game Object (Dynamic Type)#game_object:talk_box|game_object:talk_box]] || 0x0934B196 || 11 || Instance of text box. || ✔ || ✔ || ✔ ||
|-
| [[Game Object (Dynamic Type)#game_object:task_box|game_object:task_box]] || 0xE9D2C1BB || 2 || NPC talk box settings for specific playable characters. || ✔ || ✔ || ✔ ||
|-
| [[Game Object (Dynamic Type)#game_object:Taxi|game_object:Taxi]] || 0x4DC449FC || 1 || Taxi stops for warping to other levels. || ✔ || || ||
|-
| [[Game Object (Dynamic Type)#game_object:Teleport|game_object:Teleport]] || 0x70ADB7F9 || 1 or 2 || Teleport box. || ✔ || ✔ || ||
|-
| [[Game Object (Dynamic Type)#game_object:text_box|game_object:text_box]] || 0x442E1337 || 1 || Text box style settings. ✔ || ✔ || ✔ || ✔ || ✔
|-
| [[Game Object (Dynamic Type)#game_object:train_car|game_object:train_car]] || 0xC279D693 || || || || || ✔ ||
|-
| [[Game Object (Dynamic Type)#game_object:train_junction|game_object:train_junction]] || 0xEA7B28D9 || || || || || ✔ ||
|-
| [[Game Object (Dynamic Type)#game_object:Turret|game_object:Turret]] || 0x798A7982 || || || || || ✔ ||
|-
| [[Game Object (Dynamic Type)#game_object:Vent|game_object:Vent]] || 0x4E09EC43 || 1 || || || ✔ || || ✔
|-
| [[Game Object (Dynamic Type)#game_object:VentType|game_object:VentType]] || 0x5E5B5165 || 1 || || || ✔ || || ✔
|-
| [[Hud (Dynamic Type)#hud:image|hud:image]] || 0xB8DA553C || || || || || ✔ ||
|-
| [[Hud (Dynamic Type)#hud:meter:font|hud:meter:font]] || 0x8B3E732F || 3 || || ✔ || ✔ || ||
|-
| [[Hud (Dynamic Type)#hud:meter:unit|hud:meter:unit]] || 0x8D40B9AC || 3 || || ✔ || ✔ || ||
|-
| [[Hud (Dynamic Type)#hud:model|hud:model]] || 0xFF5691D2 || 1 || || ✔ || ✔ || ||
|-
| [[Hud (Dynamic Type)#hud:text|hud:text]] || 0x687ED0B0 || 1 || || ✔ || ✔ || ✔ ||
|-
| [[#Incredibles:Icon|Incredibles:Icon]] || 0xD6093241 || 1 || || || || ✔ ||
|-
| [[Interaction (Dynamic Type)#interaction:IceBridge|interaction:IceBridge]] || 0xF7E8697A || || || || || || ✔
|-
| [[Interaction (Dynamic Type)#interaction:Launch|interaction:Launch]] || 0x4B03B4F7 || || || || || ✔ ||
|-
| [[Interaction (Dynamic Type)#interaction:Lift|interaction:Lift]] || 0x4C1F2B57 || || || || || ✔ || ✔
|-
| [[Interaction (Dynamic Type)#interaction:SwitchLever|interaction:SwitchLever]] || 0x28478E46 || || || || || || ✔
|-
| [[Interaction (Dynamic Type)#interaction:Turn|interaction:Turn]] || 0x4D34C2B9 || || || || || ✔ ||
|-
| [[#Interest_Pointer|Interest_Pointer]] || 0x1F662B3C || || || || || || ✔
|-
| [[#JSP Extra Data|JSP Extra Data]] || 0x204D6ADB || 1 || || || ✔ || || ✔
|-
| [[Logic (Dynamic Type)#logic:Function Generator|logic:Function Generator]] || 0x4494F483 || || || || || ✔ ||
|-
| [[Logic (Dynamic Type)#logic:reference|logic:reference]] || 0xF98698FF || 1 || || || ✔ || ✔ || ✔
|-
| [[NPC (Dynamic Type)#npc:CoverPoint|npc:CoverPoint]] || 0x48C0D3A6 || || || || || || ✔
|-
| [[NPC (Dynamic Type)#npc:group|npc:group]] || 0x2326640A || || || || || ✔ ||
|-
| [[NPC (Dynamic Type)#npc:NPC_Custom_AV|npc:NPC_Custom_AV]] || 0xFF7E4CFC || || || || || || ✔
|-
| [[#pointer|pointer]] || 0x2196C135 || 1 || || ✔ || ✔ || ✔ || ✔
|-
| [[#Scene Properties|Scene Properties]] || 0xFABDB3B3 || 1 || || || ✔ || ✔ || ✔
|-
| [[UI (Dynamic Type)#ui:box|ui:box]] || 0x8C2D107D || 2 || || || ✔ || ✔ || ✔
|-
| [[UI (Dynamic Type)#ui:controller|ui:controller]] || 0xE8753BAE || 0 || || || ✔ || ✔ || ✔
|-
| [[UI (Dynamic Type)#ui:image|ui:image]] || 0x337BCB31 || 1 || || || ✔ || ✔ || ✔
|-
| [[UI (Dynamic Type)#ui:model|ui:model]] || 0x79F807C7 || 2 || || || ✔ || || ✔
|-
| [[UI (Dynamic Type)#ui:text|ui:text]] || 0xBD7646D7 || 2 || || || ✔ || ✔ || ✔
|-
| [[UI (Dynamic Type)#ui:text:user string|ui:text:user string]] || 0xFB50BACB || || || || || ✔ || ✔
|-
| Unknown || 0x2743B85C || || || || || || ✔
|-
| Unknown || 0x2CD29541 || || || || || ✔ ||
|-
| Unknown || 0x460F4FB2 || || || || || || ✔
|-
| Unknown || 0x4EE03B24 || || || || || || ✔
|-
| Unknown || 0x9F234F8E || || || || || || ✔
|-
| Unknown || 0xA072A4DA || || || || || ✔ ||
|-
| Unknown || 0xAD7CB421 || || || || || || ✔
|-
| Unknown || 0xC6C76EEE || || || || || || ✔
|-
| Unknown || 0xCDB57387 || || || || || || ✔
|-
| Unknown || 0xCF21DB89 || || || || || || ✔
|-
| Unknown || 0xE2301EA9 || || || || || || ✔
|-
| Unknown || 0xE5D82D97 || || || || || || ✔
|-
| Unknown || 0xEBC04E7B || || || || || ✔ || ✔
|-
| Unknown || 0xFC2951C1 || || || || || || ✔
|}
 
==Formats==
===pointer===
{{DynaInfobox
|title=pointer
|version=1
|hash=0x2196C135
|games=Battle For Bikini Bottom<br>The SpongeBob SquarePants Movie<br>The Incredibles<br>Rise of the Underminer}}
 
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 || [[Vector3]] || '''loc''' || Position
|-
| 0x0C || [[Vector3]] || '''rotation''' || Rotation
|}
 
===Incredibles:Icon===
{{DynaInfobox
|title=Incredibles:Icon
|version=1
|hash=0xD6093241
|games=The Incredibles}}
 
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 || [[Vector 3]] || '''position''' ||
|-
| 0x0C || [[Vector 3]] || '''rotation''' ||
|-
| 0x18 || float || '''unknown''' ||
|-
| 0x1C || int || '''unknown''' ||
|}
 
===JSP Extra Data===
{{DynaInfobox
|title=JSP Extra Data
|version=1
|hash=0x204D6ADB
|games=The SpongeBob SquarePants Movie<br>Rise of the Underminer}}
 
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 || [[Asset ID]] || [[JSP]] ||
|-
| 0x04 || [[Asset ID]] || [[GRUP]] ||
|}
 
===Scene Properties===
{{DynaInfobox
|title=Scene Properties
|version=1
|hash=0xFABDB3B3
|games=The SpongeBob SquarePants Movie<br>The Incredibles<br>Rise of the Underminer}}
 
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| [[ui:text]]0x00 || 0xBD7646D7int || 2null || || || ✔ || ✔ || ✔
|-
| 0x04 || int || '''unknown''' || always 52
| [[ui:text:user string]] || 0xFB50BACB || || || || || ✔ || ✔
|-
| 0x08 || 0x2743B85Cint || null || || || || || ✔
|-
| 0x0C || 0x2CD29541int || '''unknown''' || always || || || ✔ || 52
|-
| 0x10 || 0x460F4FB2byte || '''flag1''' || always || || || || ✔20
|-
| 0x11 || 0x4EE03B24byte || '''flag2''' || always || || || || ✔5
|-
| 0x12 || 0x9F234F8Ebyte || '''flag3''' || || || || || ✔varies
|-
| 0x13 || 0xA072A4DAbyte || '''flag4''' || || || || ✔ || varies
|-
| 0x14 || 0xAD7CB421[[SND]]/[[SNDS]] || '''musicID''' || Background ||music for || || ||the level.
|-
| 0x18 || 0xC6C76EEEint || '''unknown''' || always ||0 or || || || ✔1
|-
| 0x1C || 0xCDB57387float || '''unknown''' || || || || || ✔
|-
| 0x20 || 0xCF21DB89float || '''unknown''' || always || || || || ✔4
|-
| 0x24 || 0xE2301EA9int || null || || || || || ✔
|-
| 0x28 || 0xE5D82D97int || null || || || || || ✔
|-
| 0x2C || 0xEBC04E7Bint || null || || || || ✔ || ✔
|-
| 0x30 || 0xFC2951C1int || null || || || || || ✔
|}
 
[[Category:Asset]] [[Category:DYNA]]