EvilEngine/DYNA/game object:Vent: Difference between revisions
< EvilEngine | DYNA
Content added Content deleted
(New info) |
m (Seil moved page DYNA/game object:Vent to EvilEngine/DYNA/game object:Vent) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
{{#vardefine:version|1}}<nowiki/> |
{{#vardefine:version|1}}<nowiki/> |
||
{{#vardefine:hash|0x4E09EC43}}<nowiki/> |
{{#vardefine:hash|0x4E09EC43}}<nowiki/> |
||
{{#vardefine:games|TSSM ROTU}}<nowiki/> |
{{#vardefine:games|TSSM ROTU RatProto}}<nowiki/> |
||
{{#vardefine:sourcecode|}}<nowiki/> |
{{#vardefine:sourcecode|}}<nowiki/> |
||
{{#vardefine:image|}}<nowiki/> |
{{#vardefine:image|}}<nowiki/> |
||
Line 21: | Line 21: | ||
! Offset !! Type !! Variable !! Description |
! Offset !! Type !! Variable !! Description |
||
|- |
|- |
||
| 0x00 || [[Asset ID]] || [[game_object:VentType]] || Vent type Asset ID |
| 0x00 || [[Asset ID]] || [[DYNA/game_object:VentType|game_object:VentType]] || Vent type Asset ID |
||
|- |
|- |
||
| 0x04 || [[Vector3]] || Position || X, Y, Z |
| 0x04 || [[Vector3]] || Position || X, Y, Z |
Latest revision as of 22:39, 15 September 2022
game_object:Vent | |
---|---|
Version | 1 |
Hash | 0x4E09EC43 |
Games used | The SpongeBob SquarePants Movie Ratatouille Prototype |
This object defines a vent (steam emitter).
Vents have 3 states:
- Idle - not shooting steam
- Warn - shoots a little steam to warn the player
- Damage - shoots steam at full blast and damages the player when they touch it
Vents have a damage area in the shape of a box, similar to a box TRIG. You can specify the lower and upper corners of the box, which are relative to the vent's origin/position and rotated by the vent's rotation.
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | Asset ID | game_object:VentType | Vent type Asset ID |
0x04 | Vector3 | Position | X, Y, Z |
0x10 | Vector3 | Rotation | Yaw, Pitch, Roll |
0x1C | Vector3 | Damage box - lower corner | Lower corner offset of the damage box |
0x28 | Vector3 | Damage box - upper corner | Upper corner offset of the damage box |
0x34 | float | boulderInfluence | How fast it will push boulders (SpongeBall, SpongeBowl, etc.) during the damage state |
0x38 | uint | Flags |
|
0x3C | float | Idle time | How long the vent will stay in idle state |
0x40 | float | Warn time | How long the vent will stay in warning state |
0x44 | float | Damage time | How long the vent will stay in damage state |
Events
Reset
Sets the vent to idle state. Note: this is bugged, it doesn't stop the current sound. Use VentSetStateIdle instead.
Scene Finish
Same as Reset.
VentSetStateIdle
Sets the vent to idle state.
VentSetStateWarn
Sets the vent to warning state.
VentSetStateDamage
Sets the vent to damage state.
VentSetStateOff
Turns the vent off. You can send any VentSetStateXXX event to turn it back on.