modding:xml:spaceobject
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
modding:xml:spaceobject [2013/01/25 05:35] – rpc | modding:xml:spaceobject [2017/02/20 02:54] – [Properties] 0xabcdef | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | =====Summary===== | ||
+ | * < | ||
+ | * < | ||
+ | * < | ||
+ | * gSource | ||
+ | * aDockTarget | ||
+ | * Return: | ||
+ | * True | ||
+ | * Nil | ||
+ | * < | ||
+ | * gSource | ||
+ | * gItem | ||
+ | * aArmorSeg | ||
+ | * Return | ||
+ | * True | ||
+ | * Nil | ||
+ | * < | ||
+ | * gSource | ||
+ | * Return | ||
+ | * (list UNID Data Priority) | ||
+ | * (list UNID Priority) | ||
+ | * (list UNID) | ||
+ | * < | ||
+ | * gSource | ||
+ | * Return | ||
+ | * Nil | ||
+ | * UNID | ||
+ | * (UNID bonus cause) | ||
+ | * < | ||
+ | * gSource | ||
+ | * gItem | ||
+ | * aObj | ||
+ | * aService ((CTradingDesc.cpp, | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * aProviderObj | ||
+ | * gData | ||
+ | * Return | ||
+ | * Nil | ||
+ | * Integer | ||
+ | * < | ||
+ | * gSource | ||
+ | * aArmorSeg | ||
+ | * aCause | ||
+ | * aAttacker | ||
+ | * aOrderGiver | ||
+ | * aHitPos | ||
+ | * aHitDir | ||
+ | * aDamageHP | ||
+ | * aDamageType | ||
+ | * aWeaponType | ||
+ | * < | ||
+ | * gPlayerShip | ||
+ | * < | ||
+ | * gSource | ||
+ | * gData | ||
+ | * aBaseObj | ||
+ | * aOwnerObj | ||
+ | * aTargetobj | ||
+ | * aOrbit | ||
+ | * < | ||
+ | * gSource | ||
+ | * aBaseObj | ||
+ | * aTargetObj | ||
+ | * < | ||
+ | * gSource | ||
+ | * aArmorSeg | ||
+ | * aCause | ||
+ | * aAttacker | ||
+ | * aOrderGiver | ||
+ | * aHitPos | ||
+ | * aHitDir | ||
+ | * aDamageHP | ||
+ | * aDamageType | ||
+ | * aWeaponType | ||
+ | * Return | ||
+ | * Integer: Amount of damage to take | ||
+ | * < | ||
+ | * < | ||
+ | * gSource | ||
+ | * aPlayer | ||
+ | * < | ||
+ | * gSource | ||
+ | * aDestroyer | ||
+ | * aOrderGiver | ||
+ | * aWreckObj | ||
+ | * aDestroyReason | ||
+ | * < | ||
+ | * gSource | ||
+ | * Return | ||
+ | * Object | ||
+ | * Nil | ||
+ | * < | ||
+ | * gSource | ||
+ | * aGateObj | ||
+ | * aDestNodeID | ||
+ | * aDestEntryPoint | ||
+ | * < | ||
+ | * gSource | ||
+ | * aGateObj | ||
+ | * < | ||
+ | * gSource | ||
+ | * aVersion | ||
+ | * < | ||
+ | * gSource | ||
+ | * aMiner | ||
+ | * aMinePos | ||
+ | * aMineDir | ||
+ | * aMineProbability | ||
+ | * aHP | ||
+ | * aDamageType | ||
+ | * aWeaponType | ||
+ | * < | ||
+ | * gSource | ||
+ | * aObj | ||
+ | * vOnObjDestroyed> | ||
+ | * gSource | ||
+ | * aObjDestroyed | ||
+ | * aDestroyer | ||
+ | * aOrderGiver | ||
+ | * aWreckObj | ||
+ | * aDestroyReason | ||
+ | * < | ||
+ | * gSource | ||
+ | * aObjDocked | ||
+ | * aDockTarget | ||
+ | * < | ||
+ | * gSource | ||
+ | * aObj | ||
+ | * aGateObj | ||
+ | * aDestNodeID | ||
+ | * aDestEntryPoint | ||
+ | * < | ||
+ | * gSource | ||
+ | * aObj | ||
+ | * < | ||
+ | * gSource | ||
+ | * aObj | ||
+ | * < | ||
+ | * gSource | ||
+ | * aObj | ||
+ | * aJumpPos | ||
+ | * Return | ||
+ | * Position Vector | ||
+ | * Nil | ||
+ | * < | ||
+ | * gSource | ||
+ | * aObj | ||
+ | * < | ||
+ | * gSource | ||
+ | * < | ||
+ | * gSource | ||
+ | * < | ||
+ | * < | ||
+ | * gSource | ||
+ | * aMissionObj | ||
+ | * < | ||
+ | * gSource | ||
+ | * aMissionObj | ||
+ | * aReason | ||
+ | * < | ||
+ | * gSource | ||
+ | * < | ||
+ | * gSource | ||
+ | * aOldShip | ||
+ | * < | ||
+ | * gSource | ||
+ | * Return | ||
+ | * " | ||
+ | * " | ||
+ | * Nil | ||
+ | * < | ||
+ | * gSource | ||
+ | * aNewShip | ||
+ | * < | ||
+ | * gSource | ||
+ | * aGateObj | ||
+ | * aDestNodeID | ||
+ | * aDestEntryPoint | ||
+ | * Return | ||
+ | * " | ||
+ | * " | ||
+ | * Nil | ||
+ | * < | ||
+ | * < | ||
+ | * gSource | ||
+ | * aPlayer | ||
+ | * < | ||
+ | * gSource | ||
+ | * aObjAttacked | ||
+ | * aArmorSeg | ||
+ | * aCause | ||
+ | * aAttacker | ||
+ | * aOrderGiver | ||
+ | * aHitPos | ||
+ | * aHitDir | ||
+ | * aDamageHP | ||
+ | * aDamageType | ||
+ | * aWeaponType | ||
+ | * Return | ||
+ | * True | ||
+ | * Nil | ||
+ | * < | ||
+ | * gSource | ||
+ | * aExplosionObj | ||
+ | * aExplosionUNID | ||
+ | * aExplosionPos | ||
+ | * < | ||
+ | * gSource | ||
+ | * aObjAttacked | ||
+ | * aArmorSeg | ||
+ | * aCause | ||
+ | * aAttacker | ||
+ | * aOrderGiver | ||
+ | * aHitPos | ||
+ | * aHitDir | ||
+ | * aDamageHP | ||
+ | * aDamageType | ||
+ | * aWeaponType | ||
+ | * < | ||
+ | * gSource | ||
+ | * aObjDestroyed | ||
+ | * aDestroyer | ||
+ | * aOrderGiver | ||
+ | * aWreckObj | ||
+ | * aDestroyReason | ||
+ | * < | ||
+ | * gSource | ||
+ | * aFireRepeat | ||
+ | * aShotObj | ||
+ | * aWeaponObj | ||
+ | * aWeaponUNID | ||
+ | * aWeaponPos | ||
+ | * aWeaponType | ||
+ | * < | ||
+ | * gSource | ||
+ | * aMessage | ||
+ | * Return | ||
+ | * String | ||
+ | * Nil | ||
+ | * < | ||
+ | * gSource | ||
+ | |||
+ | * Note: A stargate with the attribute **" | ||
+ | //Inherits [[DesignType]] attributes and elements// | ||
+ | =====Fields===== | ||
+ | * descID | ||
+ | * canInstall | ||
+ | * canRemove | ||
+ | * objID | ||
+ | * pos | ||
+ | * price | ||
+ | * status | ||
+ | * upgradeInstallOnly | ||
+ | //Inherits [[DesignType]] fields// | ||
+ | =====Properties===== | ||
+ | * ascended: If true, then this object is inactive and can be descended into the current system | ||
+ | * category | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * commsKey: If this object appears in the player' | ||
+ | * currency: The UNID of the < | ||
+ | * cyberDefenseLevel | ||
+ | * damaged | ||
+ | * dockingPorts: | ||
+ | * objID: The ID of the object currently occupying the port, if any | ||
+ | * pos: The position vector of the docking port | ||
+ | * status: Whether the port is occupied by an object or not | ||
+ | * " | ||
+ | * " | ||
+ | * enabled | ||
+ | * hasDockingPorts | ||
+ | * hp | ||
+ | * id: Also returned by (objGetID object) | ||
+ | * installArmorMaxLevel | ||
+ | * installDeviceMaxLevel | ||
+ | * installDevicePrice | ||
+ | * installDeviceStatus | ||
+ | * installItemStatus | ||
+ | * known: If this attribute is true and this object has a map label, then the object shows up in the System Map | ||
+ | * level | ||
+ | * mass | ||
+ | * paintLayer | ||
+ | * playerMissionsGiven | ||
+ | * refuelMaxLevel | ||
+ | * removeDevicePrice | ||
+ | * removeDeviceMaxLevel | ||
+ | * removeItemStatus | ||
+ | * repairArmorMaxLevel | ||
+ | * scale | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * underAttack: | ||
+ | //Inherits [[DesignType]] properties// | ||
+ | =====Overview===== | ||
+ | |||
A SpaceObject is a meta-[[DesignType]]. You can't make something that is just a SpaceObject, | A SpaceObject is a meta-[[DesignType]]. You can't make something that is just a SpaceObject, | ||
Line 4: | Line 321: | ||
These codes are used in various functions that need to check for or list spaceobjects. | These codes are used in various functions that need to check for or list spaceobjects. | ||
+ | |||
+ | [[https:// | ||
< | < | ||
Line 26: | Line 345: | ||
J only objects from a given sovereign | J only objects from a given sovereign | ||
K only objects that cannot attack | K only objects that cannot attack | ||
+ | R | ||
R:nn; | R:nn; | ||
V | V | ||
Line 36: | Line 356: | ||
S:D | S:D | ||
I: | I: | ||
- | +xyz; | + | +xyz; |
- | -xyz; | + | -xyz; |
- | +unid: | + | |
+isPlayerClass: | +isPlayerClass: | ||
- | +data: | + | +data: |
- | -data: | + | -data: |
+ | +isPlanet: | ||
+ | -isPlanet: | ||
+ | +property: | ||
+ | -property: | ||
+ | +unid: | ||
+ | -unid: | ||
</ | </ | ||
Note: Virtual stations are not searched by default through t; therefore you should use V as well if searching for a virtual station. | Note: Virtual stations are not searched by default through t; therefore you should use V as well if searching for a virtual station. | ||
Line 266: | Line 591: | ||
====< | ====< | ||
**Populated variables: | **Populated variables: | ||
+ | * aObjDestroyed: | ||
+ | * aDestroyer: the object that caused the destruction. | ||
+ | * aOrderGiver: | ||
+ | * aDestroyReason: | ||
* aWreckObj: the wreck left behind the destroyed object. | * aWreckObj: the wreck left behind the destroyed object. | ||
- | * aObjDestroyed: | ||
* gSource: the object that holds the event. | * gSource: the object that holds the event. | ||
modding/xml/spaceobject.txt · Last modified: 2017/03/08 04:10 by 0xabcdef