Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
UNDER CONSTRUCTION
Excerpt |
---|
A read-only list of the default game stats (prior to any modifiers or upgrades) for droid components, buildings, etc... |
Syntax
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
// normal syntax (component/building stats) var val = Stats.<section>[<player>].<Section>[...<name>].<property> // syntax specific to WeaponClass var wepClasses = Stats.WeaponClasses; // array |
Properties
The stats are grouped by player, then section.
Property | Type | Description | Game Ver | ||
---|---|---|---|---|---|
<player> | Number | The numeric ID of a specific player who's stats you want to inspect. | 3.2 | ||
<Section> | String | <section> | Property name | The section of the stats object to inspect (see below). | 3.2 |
Sections
Each section, except WeaponClass (see later), contains a name-referenced list of objects defining properties for the associated component or building.
: |
|
The stats object is split in to the following sections:
Property | Type | Description | Game Ver | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Body | Named list of Body stats | A list of body stats referenced by component name. | 3.2 | ||||||||
Sensor | Named list of Sensor stats | A list of sensor stats referenced by component name.
|
| ||||||||
ECM | Named list of ECM stats | A list of ECM stats referenced by component name. | 3.2 | ||||||||
Repair | Named list of Repair stats | A list of Repair stats referenced by component name. | 3.2 | ||||||||
Construct | Named list of Construct stats | A list of Construct stats referenced by component name.<name> | String | The name of the component or building. |
| ||||||
Weapon | Named list of Weapon stats | A list of Weapon stats referenced by component name. | 3.2 | ||||||||
WeaponClass | Array of Weapon classes | An array containing a list of Weapon class names. | 3.2 | ||||||||
Building | Named list of Building stats | A list of Building stats referenced by structure name. | 3.2 |
The properties of each section are described below.
Body Stats
Defines base stats of droid body components, referenced by component name.
<property> | Property name | The property to inspect. Property names are specific to the <section> (see lists below). |
|
Body
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
// syntax var bodyStat = Stats.Body[me]<name>].<property>; // example: Tiger engine power var tigerPower = Stats.Body[<body>"Tiger"].<stat>Power; |
The following properties are defined for each body component:
Property | Type | Description | Game Ver | ||||||
---|---|---|---|---|---|---|---|---|---|
<body><name> | String | The name of the body component to inspect. Example: "Tiger" |
| ||||||
<property> |
+ Weight
+ BuildPower
+ BuildTime
+ HitPoints
+ Power
+ Armour
+ Thermal (heat armour)
+ Resistance
Property name | The property to inspect:
|
|
Sensor
+ Id
+ Weight
+ BuildPower
+ BuildTime
+ HitPoints
+ Range
ECM
+ Id
+ Weight
+ BuildPower
+ BuildTime
+ HitPoints
+ Range
Repair
+ Id
+ Weight
+ BuildPower
+ BuildTime
+ HitPoints
+ RepairPoints
Construct
+ Id
+ Weight
+ BuildPower
+ BuildTime
+ HitPoints
+ ConstructorPoints
Weapon
+ Id
+ Weight
+ BuildPower
+ BuildTime
+ HitPoints
+ MaxRange
+ MinRange
+ HitChance
+ FirePause
+ ReloadTime
+ Rounds
+ Radius
+ Damage
+ RadiusDamage
+ RepeatDamage
+ RepeatTime
+ RepeatRadius
+ ImpactType (weapon sub class)
+ RepeatType (periodical effect weapon sub class)
+ ImpactClass (one of "KINETIC" or "HEAT")
+ RepeatClass (one of "KINETIC" or "HEAT")
+ FireOnMove
WeaponClass
+ (... list of weapon classes ...)
Building
+ Id
+ Type (one of "Wall", "Structure" or "Demolish")
+ ResearchPoints
+ RepairPoints
+ PowerPoints
+ ProductionPoints
+ RearmPoints
+ Armour
+ Resistance
+ Thermal
+ HitPoints
Div | ||
---|---|---|
| ||
All numeric values are the actual integer values that are used in the game (not percentages), unless specified otherwise. |
Div | ||||||
---|---|---|---|---|---|---|
| ||||||
Availability
Requires:
|