EvilEngine/EGEN: Difference between revisions
Content added Content deleted
Battlepedia>Igorseabra4 (Created page with "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 Placeable Asse...") |
m (Seil moved page EGEN to EvilEngine/EGEN) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude> |
|||
{{#vardefine:typeid|EGEN}}<nowiki/> |
|||
{{#vardefine:name|Electric Arc Generator}}<nowiki/> |
|||
{{#vardefine:type|[[Entity]]}}<nowiki/> |
|||
{{#vardefine:basetype|0x29}}<nowiki/> |
|||
{{#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. |
||
==Format== |
==Format== |
||
Electric arcs are [[ |
Electric arcs are [[Entity|entity assets]], so they start with their 0x54 byte header, then are followed by: |
||
{| class="wikitable" |
{| class="wikitable" |
||
! Offset !! Type !! Description |
! Offset !! Type !! Variable !! Description |
||
|- |
|- |
||
| 0x54 || |
| 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? |
||
|- |
|- |
||
⚫ | |||
| 0x63 || byte || '''Unknown''' |
|||
|- |
|- |
||
| |
| 0x6C || Event[numberOfEvents] || '''[[Events]]''' || |
||
|- |
|||
| 0x68 || [[Asset ID]] || '''Unknown''', maybe arc type? |
|||
|- |
|||
⚫ | |||
|- |
|||
| 0x6C || Event[numberOfEvents] || '''[[Events]]''' |
|||
|} |
|} |
||
Line 33: | Line 38: | ||
* Arcto |
* Arcto |
||
* On |
* On |
||
{{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