EvilEngine/EGEN: Difference between revisions
Content added Content deleted
m (3 revisions imported) |
No edit summary |
||
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 36: | Line 40: | ||
{{Assets}} |
{{Assets}} |
||
{{AutoGameNavs}} |
|||
[[Category:Asset]] |
[[Category:Asset]] |
Revision as of 22:51, 25 May 2021
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 (enum?) | damage_type | |
0x61 | byte | flags | |
0x62 | byte[2] | unknown | padding? |
0x64 | float | ontime | Active time in seconds. |
0x68 | Asset ID | onAnimID | maybe arc type? |
Events | |||
0x6C | Event[numberOfEvents] | Events |
Events
- Arcto
- On