EvilEngine/EGEN: Difference between revisions
Content added Content deleted
m (3 revisions imported) |
m (Seil moved page EGEN to EvilEngine/EGEN) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude> |
|||
{{AssetInfobox |
|||
{{#vardefine:typeid|EGEN}}<nowiki/> |
|||
|subtitle=Electric Arc Generator |
|||
{{#vardefine:name|Electric Arc Generator}}<nowiki/> |
|||
|type=[[Entity]] |
|||
{{#vardefine:type|[[Entity]]}}<nowiki/> |
|||
|objectid=0x29 |
|||
{{#vardefine:basetype|0x29}}<nowiki/> |
|||
|games=Night of 100 Frights<br>Battle for Bikini Bottom<br>The SpongeBob SquarePants Movie |
|||
{{#vardefine:games|Scooby BFBB TSSM}}<nowiki/> |
|||
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Game/zEGenerator.h zEGenerator.h]}}<nowiki/> |
|||
{{#vardefine:image|}}<nowiki/> |
|||
</onlyinclude> |
|||
{{AutoAssetInfobox}} |
|||
This asset defines an entry for an electric arc generator. The arc is generated from the assets position onto an [[MVPT]] point. |
This asset defines an entry for an electric arc generator. The arc is generated from the assets position onto an [[MVPT]] point. |
||
Line 14: | Line 18: | ||
! Offset !! Type !! Variable !! Description |
! Offset !! Type !! Variable !! Description |
||
|- |
|- |
||
| 0x54 || [[Vector3]] |
| 0x54 || [[Vector3]] || '''src_dpos''' || |
||
|- |
|- |
||
| 0x60 || byte |
| 0x60 || byte || '''damage_type''' || |
||
|- |
|- |
||
| 0x61 || byte || '''flags''' || |
| 0x61 || byte || '''flags''' || |
||
|- |
|- |
||
| 0x62 || byte[2] || |
| 0x62 || byte[2] || padding || |
||
|- |
|- |
||
| 0x64 || float || '''ontime''' || Active time in seconds. |
| 0x64 || float || '''ontime''' || Active time in seconds. |
||
|- |
|- |
||
| 0x68 || [[ |
| 0x68 || [[AssetID]] || '''onAnimID''' || maybe arc type? |
||
|- |
|- |
||
! colspan="4" | Events |
! colspan="4" | Events |
||
Line 36: | Line 40: | ||
{{Assets}} |
{{Assets}} |
||
{{AutoGameNavs}} |
|||
[[Category:Asset]] |
[[Category:Asset]] |
Latest revision as of 22:40, 15 September 2022
EGEN | |
---|---|
Electric Arc Generator | |
Type | Entity |
Base Type | 0x29 |
Games used | Night of 100 Frights The SpongeBob SquarePants Movie |
Source code | zEGenerator.h |
This asset defines an entry for an electric arc generator. The arc is generated from the assets position onto an MVPT point.
Format
Electric arcs are entity assets, so they start with their 0x54 byte header, then are followed by:
Offset | Type | Variable | Description |
---|---|---|---|
0x54 | Vector3 | src_dpos | |
0x60 | byte | damage_type | |
0x61 | byte | flags | |
0x62 | byte[2] | padding | |
0x64 | float | ontime | Active time in seconds. |
0x68 | AssetID | onAnimID | maybe arc type? |
Events | |||
0x6C | Event[numberOfEvents] | Events |
Events
- Arcto
- On