-
Notifications
You must be signed in to change notification settings - Fork 82
Ship loadout event
Triggered when you obtain the loadout of your ship.
Where values are indexed (the compartments on a ship for example), the index will be represented by '<index>'. For VoiceAttack, a variable with the root name of the indexed array shall identify the total number of entries in the array. For example, if compartments 1 and 2 are available then the value of the corresponding 'compartments' variable will be 2.
When using this event in the Speech responder the information about this event is available under the event
object. The available variables are as follows:
-
{event.compartments} - The compartments (objects) of the ship
-
{event.compartments[<index>].module}
-
{event.compartments[<index>].module.ammoinclip}
-
{event.compartments[<index>].module.ammoinhopper}
-
{event.compartments[<index>].module.class}
-
{event.compartments[<index>].module.clipcapacity}
-
{event.compartments[<index>].module.enabled}
-
{event.compartments[<index>].module.engineerlevel}
-
{event.compartments[<index>].module.engineerquality}
-
{event.compartments[<index>].module.grade}
-
{event.compartments[<index>].module.health}
-
{event.compartments[<index>].module.hoppercapacity}
-
{event.compartments[<index>].module.hot}
-
{event.compartments[<index>].module.invariantName}
-
{event.compartments[<index>].module.modification}
-
{event.compartments[<index>].module.modified}
-
{event.compartments[<index>].module.mount}
-
{event.compartments[<index>].module.name}
-
{event.compartments[<index>].module.position}
-
{event.compartments[<index>].module.power}
-
{event.compartments[<index>].module.price}
-
{event.compartments[<index>].module.priority}
-
{event.compartments[<index>].module.value}
-
{event.compartments[<index>].size}
-
{event.hardpoints} - The hardpoints (objects) of the ship
-
{event.hardpoints[<index>].module}
-
{event.hardpoints[<index>].module.ammoinclip}
-
{event.hardpoints[<index>].module.ammoinhopper}
-
{event.hardpoints[<index>].module.class}
-
{event.hardpoints[<index>].module.clipcapacity}
-
{event.hardpoints[<index>].module.enabled}
-
{event.hardpoints[<index>].module.engineerlevel}
-
{event.hardpoints[<index>].module.engineerquality}
-
{event.hardpoints[<index>].module.grade}
-
{event.hardpoints[<index>].module.health}
-
{event.hardpoints[<index>].module.hoppercapacity}
-
{event.hardpoints[<index>].module.hot}
-
{event.hardpoints[<index>].module.invariantName}
-
{event.hardpoints[<index>].module.modification}
-
{event.hardpoints[<index>].module.modified}
-
{event.hardpoints[<index>].module.mount}
-
{event.hardpoints[<index>].module.name}
-
{event.hardpoints[<index>].module.position}
-
{event.hardpoints[<index>].module.power}
-
{event.hardpoints[<index>].module.price}
-
{event.hardpoints[<index>].module.priority}
-
{event.hardpoints[<index>].module.value}
-
{event.hardpoints[<index>].size}
-
{event.hot} - True if the ship is
hot
-
{event.hullhealth} - The health of the ship's hull
-
{event.hullvalue} - The value of the ship's hull (less modules)
-
{event.maxjumprange} - The max unlaiden jump range of the ship
-
{event.modulesvalue} - The value of the ship's modules (less hull)
-
{event.optimalmass} - The optimal mass value of the frame shift drive
-
{event.paintjob} - The paintjob of the ship
-
{event.rebuy} - The rebuy value of the ship
-
{event.ship} - The ship model
-
{event.shipid} - The ID of the ship
-
{event.shipident} - The identification string of the ship
-
{event.shipname} - The name of the ship
-
{event.unladenmass} - The unladen mass of the ship
-
{event.value} - The total value of the ship (hull + modules)
To respond to this event in VoiceAttack, create a command entitled ((EDDI ship loadout)). VoiceAttack variables will be generated to allow you to access the event information.
The following VoiceAttack variables are available for this event:
-
{INT:EDDI ship loadout compartments} - The compartments (objects) of the ship
-
{INT:EDDI ship loadout compartments <index> module ammoinclip}
-
{INT:EDDI ship loadout compartments <index> module ammoinhopper}
-
{INT:EDDI ship loadout compartments <index> module class}
-
{INT:EDDI ship loadout compartments <index> module clipcapacity}
-
{BOOL:EDDI ship loadout compartments <index> module enabled}
-
{INT:EDDI ship loadout compartments <index> module engineerlevel}
-
{DEC:EDDI ship loadout compartments <index> module engineerquality}
-
{TXT:EDDI ship loadout compartments <index> module grade}
-
{DEC:EDDI ship loadout compartments <index> module health}
-
{INT:EDDI ship loadout compartments <index> module hoppercapacity}
-
{BOOL:EDDI ship loadout compartments <index> module hot}
-
{TXT:EDDI ship loadout compartments <index> module invariant name}
-
{TXT:EDDI ship loadout compartments <index> module modification}
-
{BOOL:EDDI ship loadout compartments <index> module modified}
-
{TXT:EDDI ship loadout compartments <index> module mount}
-
{TXT:EDDI ship loadout compartments <index> module name}
-
{INT:EDDI ship loadout compartments <index> module position}
-
{DEC:EDDI ship loadout compartments <index> module power}
-
{DEC:EDDI ship loadout compartments <index> module price}
-
{INT:EDDI ship loadout compartments <index> module priority}
-
{DEC:EDDI ship loadout compartments <index> module value}
-
{INT:EDDI ship loadout compartments <index> size}
-
{INT:EDDI ship loadout hardpoints} - The hardpoints (objects) of the ship
-
{INT:EDDI ship loadout hardpoints <index> module ammoinclip}
-
{INT:EDDI ship loadout hardpoints <index> module ammoinhopper}
-
{INT:EDDI ship loadout hardpoints <index> module class}
-
{INT:EDDI ship loadout hardpoints <index> module clipcapacity}
-
{BOOL:EDDI ship loadout hardpoints <index> module enabled}
-
{INT:EDDI ship loadout hardpoints <index> module engineerlevel}
-
{DEC:EDDI ship loadout hardpoints <index> module engineerquality}
-
{TXT:EDDI ship loadout hardpoints <index> module grade}
-
{DEC:EDDI ship loadout hardpoints <index> module health}
-
{INT:EDDI ship loadout hardpoints <index> module hoppercapacity}
-
{BOOL:EDDI ship loadout hardpoints <index> module hot}
-
{TXT:EDDI ship loadout hardpoints <index> module invariant name}
-
{TXT:EDDI ship loadout hardpoints <index> module modification}
-
{BOOL:EDDI ship loadout hardpoints <index> module modified}
-
{TXT:EDDI ship loadout hardpoints <index> module mount}
-
{TXT:EDDI ship loadout hardpoints <index> module name}
-
{INT:EDDI ship loadout hardpoints <index> module position}
-
{DEC:EDDI ship loadout hardpoints <index> module power}
-
{DEC:EDDI ship loadout hardpoints <index> module price}
-
{INT:EDDI ship loadout hardpoints <index> module priority}
-
{DEC:EDDI ship loadout hardpoints <index> module value}
-
{INT:EDDI ship loadout hardpoints <index> size}
-
{BOOL:EDDI ship loadout hot} - True if the ship is
hot
-
{DEC:EDDI ship loadout hullhealth} - The health of the ship's hull
-
{DEC:EDDI ship loadout hullvalue} - The value of the ship's hull (less modules)
-
{DEC:EDDI ship loadout maxjumprange} - The max unlaiden jump range of the ship
-
{DEC:EDDI ship loadout modulesvalue} - The value of the ship's modules (less hull)
-
{DEC:EDDI ship loadout optimalmass} - The optimal mass value of the frame shift drive
-
{TXT:EDDI ship loadout paintjob} - The paintjob of the ship
-
{DEC:EDDI ship loadout rebuy} - The rebuy value of the ship
-
{TXT:EDDI ship loadout ship} - The ship model
-
{INT:EDDI ship loadout shipid} - The ID of the ship
-
{TXT:EDDI ship loadout shipident} - The identification string of the ship
-
{TXT:EDDI ship loadout shipname} - The name of the ship
-
{DEC:EDDI ship loadout unladenmass} - The unladen mass of the ship
-
{DEC:EDDI ship loadout value} - The total value of the ship (hull + modules)
For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.