User Tools

Site Tools


modding:xml:overlaytype

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
modding:xml:overlaytype [2013/05/31 03:50] – created gpmmodding:xml:overlaytype [2017/01/21 07:10] (current) – Attributes 0xabcdef
Line 4: Line 4:
 =====Basic Attributes===== =====Basic Attributes=====
 **UNID=** The [[UNID]] of this type. **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 ===== ===== Events =====
Line 45: Line 57:
  
   * **aOverlayID**: The ID of the overlay being created.   * **aOverlayID**: The ID of the overlay being created.
 +
 +===<OnObjDestroyed>===
 +The object that the overlay is on was destroyed. **[apiVersion 14]**
 +
 +  * **gSource** is the object on which the item was installed.
 +
 +  * **aOverlayID** is the ID of the overlay.
 +
 +  * **aObjDestroyed** is the object that was destroyed (generally the same as gSource).
 +
 +  * **aDestroyer** is the object that destroyed us.
 +
 +  * **aOrderGiver** is the object that ordered the destruction. Generally this is the same as **aDestroyer** but in the case of autons, this is the controller of the auton.
 +
 +  * **aWreckObj** if not **Nil** this is the wreck object that resulted from the destruction.
 +
 +  * **aDestroyReason** this is the destruction cause.
  
 ===<OnUpdate>=== ===<OnUpdate>===
modding/xml/overlaytype.1369972259.txt.gz · Last modified: 2014/12/27 04:40 (external edit)