EGEN

From Heavy Iron Modding
Jump to navigation Jump to search

EGEN
Electric Arc Generator
TypeEntity
Base Type0x29
Games usedNight of 100 Frights

Battle for Bikini Bottom

The SpongeBob SquarePants Movie
Source codezEGenerator.h

This asset defines an entry for an electric arc generator. The arc is generated from the assets position onto an MVPT point.

Format[edit]

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[edit]

  • Arcto
  • On