User Tools

Site Tools


modding:xml:designtype

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
modding:xml:designtype [2013/03/21 17:44] gpmmodding:xml:designtype [2018/08/09 18:53] (current) – [<OnGlobalUniverseLoad>] nms
Line 26: Line 26:
   * [[Effect]] //(Deprecated in favor of EffectType per the source)//   * [[Effect]] //(Deprecated in favor of EffectType per the source)//
   * [[EncounterTable]] //(Same as ShipTable)//   * [[EncounterTable]] //(Same as ShipTable)//
 +  * [[Image]]
   * [[ItemTable]]   * [[ItemTable]]
   * [[Power]]   * [[Power]]
   * [[ShipTable]]   * [[ShipTable]]
 +  * [[Sound]]
   * [[Sovereign]]   * [[Sovereign]]
   * [[SpaceEnvironment]]   * [[SpaceEnvironment]]
Line 66: Line 68:
 s = ship class UNID s = ship class UNID
 t = station type UNID t = station type UNID
-u = sound UNID (currently returns nothing?)+u = sound UNID (currently returns nothing?)((please verify))
 v = sovereign UNID v = sovereign UNID
 w = name generator UNID (currently returns nothing?) w = name generator UNID (currently returns nothing?)
Line 195: Line 197:
   * aDestroyReason   * aDestroyReason
  
 +This is called whenever an ship or a station are destroyed.
 +
 +NOTE: This is //not// called for other kinds of objects, such as missiles.
 ====<OnGlobalPaneInit>==== ====<OnGlobalPaneInit>====
   * aScreenUNID is the UNID of the screen being shown   * aScreenUNID is the UNID of the screen being shown
Line 255: Line 260:
 ====<OnGlobalUniverseLoad>==== ====<OnGlobalUniverseLoad>====
  
-  * No variables initialized for this event+  * aReason: 'resurrect or Nil
   * Return value is discarded by engine   * Return value is discarded by engine
  
Line 266: Line 271:
  
 Called whenever the game is saved to disk, including going through stargates, exiting, dying, and initially starting the game. Called whenever the game is saved to disk, including going through stargates, exiting, dying, and initially starting the game.
 +
 +====<OnGlobalUpdate>====
 +**[apiVersion 14]** Called once every 15 ticks.
  
 ====<OnRandomEncounter>==== ====<OnRandomEncounter>====
modding/xml/designtype.1363887886.txt.gz · Last modified: 2014/12/27 04:40 (external edit)