EvilEngine/DYNA/game object:Ring: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
(Add new info)
 
(2 intermediate revisions by 2 users not shown)
Line 12: Line 12:
! Offset !! Type !! Variable !! Description
! Offset !! Type !! Variable !! Description
|-
|-
| 0x10 || [[Vector3]] || '''position''' || Position of the ring
| 0x10 || [[Vector3]] || '''location''' || Position of the ring
|-
|-
| 0x1C || [[Vector3]] || '''rotation''' || Rotation of the ring
| 0x1C || [[Vector3]] || '''direction''' || Rotation of the ring
|-
|-
| 0x28 || int[3] || '''offset''' ||
| 0x28 || [[Vector3]] || '''offset''' ||
|-
|-
| 0x34 || [[Vector3]] || '''scale''' || Scale of the ring
| 0x34 || [[Vector3]] || '''scale''' || Scale of the ring
|-
|-
| 0x40 || int || '''triggerBoundsType''' || 0 = half size shadow, 1 = full size shadow
| 0x40 || uint || '''triggerBoundsType''' || 0 = half size shadow, 1 = full size shadow
|-
|-
| 0x44 || float || '''radius''' || How big the collision radius is around the ring. The actual shape of the ring's collision is a flat circle, not a sphere, so this only applies to the X and Y axes.
| 0x44 || float || '''radius''' || How big the collision radius is around the ring. The actual shape of the ring's collision is a flat circle, not a sphere, so this only applies to the X and Y axes.
|-
|-
| 0x48 || float || width ||
| 0x48 || float || '''width''' ||
|-
|-
| 0x4C || float || height ||
| 0x4C || float || '''height''' ||
|-
|-
| 0x50 || float || '''timeOut''' || Time in seconds before ring starts flashing red
| 0x50 || float || '''timeOut''' || Time in seconds before ring starts flashing red
Line 32: Line 32:
| 0x54 || float || '''warningTime''' || Time in seconds ring flashes red before disappearing. -1 == default (2 seconds)
| 0x54 || float || '''warningTime''' || Time in seconds ring flashes red before disappearing. -1 == default (2 seconds)
|-
|-
| 0x58 || [[PLAT]] || '''platID''' || Driver platform for moving the ring
| 0x58 || [[AssetID]] || '''drivenByID''' || Driver platform for moving the ring
|}
|}



Latest revision as of 22:39, 15 September 2022

game_object:Ring
Version2
Hash0x4D81C1EE
Games usedThe SpongeBob SquarePants Movie
Offset Type Variable Description
0x10 Vector3 location Position of the ring
0x1C Vector3 direction Rotation of the ring
0x28 Vector3 offset
0x34 Vector3 scale Scale of the ring
0x40 uint triggerBoundsType 0 = half size shadow, 1 = full size shadow
0x44 float radius How big the collision radius is around the ring. The actual shape of the ring's collision is a flat circle, not a sphere, so this only applies to the X and Y axes.
0x48 float width
0x4C float height
0x50 float timeOut Time in seconds before ring starts flashing red
0x54 float warningTime Time in seconds ring flashes red before disappearing. -1 == default (2 seconds)
0x58 AssetID drivenByID Driver platform for moving the ring