Table of Contents

Overview

<OverlayType> defines a type of attachment or enhancement to space object instances. For example, the pteravore attack which attaches on to a ship and drains fuel is implemented as an OverlayType.

Basic Attributes

UNID= The UNID of this type.

disarm= The object will be unable to fire its weapons if this is “true”

paralyze= The object will be unable to thrust or rotate if this is “true”

spin= The object will turn clockwise at a fixed rate if this is true.

drag= This is the percentage that the object's velocity will be multiplied by twice every second.

absorbAdj= Specifies the percentages of damage taken that this overlay will absorb for each damage type. For instance, “100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100” means this overlay will absorb 100% damage taken for every damage type.

weaponSuppress= Specifies the damage types that this overlay will prevent the user from firing. “*” means that all weapon fire from the user will be blocked. “laser, kinetic” means that the user's laser and kinetic attacks will be suppressed.

Events

An overlay instance has the following events:

<OnCreate>

<OnDamage>

This event is called when the overlay is hit. The following variables are defined.

<OnDestroy>

This event is called when the overlay is destroyed.

<OnObjDestroyed>

The object that the overlay is on was destroyed. [apiVersion 14]

<OnUpdate>

An overlay gets this event every 15 ticks.