Difference between revisions of "OXP scriptInfo"

From Elite Wiki
(telescope)
(Added note on obsolescence)
 
(8 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
This page gives a short overview about used keys in OXPs in [[Shipdata.plist#script_info|shipdata.plist]].
 
This page gives a short overview about used keys in OXPs in [[Shipdata.plist#script_info|shipdata.plist]].
  
 +
Note: ''this page was last updated by a programmer in 2018 - it omits Library.oxp & GNN (which replaced CCL & Snoopers some years ago), nor does it include newer oxps such as Smugglers, PlanetFall2, etc.''
  
 
{| class="wikitable sortable" style="table-layout:fixed; overflow:auto; word-wrap: break-word; background-color: #f0f0ff; color: #000000; vertical-align: center; text-align: left; width: 100%"
 
{| class="wikitable sortable" style="table-layout:fixed; overflow:auto; word-wrap: break-word; background-color: #f0f0ff; color: #000000; vertical-align: center; text-align: left; width: 100%"
Line 11: Line 12:
 
! scope="col" width="54%" |Short description
 
! scope="col" width="54%" |Short description
 
|-
 
|-
|bgs_chatter
+
|bgs_chatExpand
 
|Station
 
|Station
 
|[[BGS]]
 
|[[BGS]]
|Adds chatter soundfile(s).
+
|Enables chatter for secondary stations.
 
|-
 
|-
|bgs_countonly
+
|bgs_engineAmbi
|Playership
 
|[[BGS]]
 
|Disables ambient sounds for hyperjumps.
 
|-
 
|bgs_engine
 
 
|Playership
 
|Playership
 
|[[BGS]]
 
|[[BGS]]
Line 36: Line 32:
 
|Specifies engine sound when accelerating.
 
|Specifies engine sound when accelerating.
 
|-
 
|-
|bgs_music
+
|bgs_tunnel_contrast
 +
|Station
 +
|[[BGS]]
 +
|Adjusts contrast of bgs_tunnel_texture.
 +
|-
 +
|bgs_tunnel_off
 
|Station
 
|Station
 
|[[BGS]]
 
|[[BGS]]
|Specifies musicfile(s) when docked.
+
|Disables tunnel effect.
 
|-
 
|-
|bgs_nocrowd
+
|bgs_tunnel_shape
 
|Station
 
|Station
 
|[[BGS]]
 
|[[BGS]]
|Disables ambient sound when docked.
+
|Shape of the tunnel effect.
 
|-
 
|-
|bgs_nomusic
+
|bgs_tunnel_texture
 
|Station
 
|Station
 
|[[BGS]]
 
|[[BGS]]
|Disables music when docked.
+
|Texture for the tunnel effect.
 +
|-
 +
|bgs_tunnel_tint
 +
|Station
 +
|[[BGS]]
 +
|Color for the stripes in tunnel effect.
 
|-
 
|-
 
|bombType
 
|bombType
Line 63: Line 69:
 
|ccl_missionShip
 
|ccl_missionShip
 
|Ship
 
|Ship
|[[Cabal_Common_Library]]
+
|[[Cabal_Common_Library|Cabal Common Library]]
 
|Flags this ship as mission relevant.
 
|Flags this ship as mission relevant.
 
|-
 
|-
 
|ccl_secureChannel
 
|ccl_secureChannel
 
|Ship
 
|Ship
|[[Cabal_Common_Library]]
+
|[[Cabal_Common_Library|Cabal Common Library]]
 
|Property in the ship-script that holds the object for ship2ship communications.
 
|Property in the ship-script that holds the object for ship2ship communications.
 
|-
 
|-
 
|ccl_secureChannelPrep
 
|ccl_secureChannelPrep
 
|Ship
 
|Ship
|[[Cabal_Common_Library]]
+
|[[Cabal_Common_Library|Cabal Common Library]]
 
|Function in the ship-script that initiates the object.
 
|Function in the ship-script that initiates the object.
 +
|-
 +
|classifiedShip
 +
|Ship
 +
|[[Technical_Reference_Library|Technical Reference Library]]
 +
|Exclude this ship from the library.
 
|-
 
|-
 
|DroneEquipment
 
|DroneEquipment
Line 85: Line 96:
 
|[[Random_Hits_OXP|Random Hits]]
 
|[[Random_Hits_OXP|Random Hits]]
 
|
 
|
 +
|-
 +
|GNN
 +
|Station
 +
|[[GNN]]
 +
|Enables interface on non main stations in stellarSpace.
 
|-
 
|-
 
|grs_dockinglength
 
|grs_dockinglength
Line 150: Line 166:
 
|[[Aquatics_OXP|Aquatics]]
 
|[[Aquatics_OXP|Aquatics]]
 
|
 
|
 +
|-
 +
|shipversion
 +
|Ship
 +
|[[ShipVersion]]
 +
|Set fixed version (1-10).
 
|-
 
|-
 
|skilled_npcs_role
 
|skilled_npcs_role
 
|
 
|
|[[Skilled_NPCs_OXP|Skilled_NPCs]]
+
|[[Skilled_NPCs_OXP|Skilled NPCs]]
 
|Controls behaviour for accuracy changes.
 
|Controls behaviour for accuracy changes.
 
|-
 
|-
Line 173: Line 194:
 
|UPSAIName
 
|UPSAIName
 
|
 
|
|[[UPS_Courier]]
+
|[[UPS_Courier|UPS Courier]]
 
|
 
|
 
|-
 
|-
Line 192: Line 213:
 
|}
 
|}
  
[[Category:Oolite scripting]] [[Category:OXPDoc]]
+
[[Category:Oolite scripting]] [[Category:OXP API's| ]]

Latest revision as of 06:05, 17 June 2024

Quite a few OXPs are using script_info keys to define specific settings per entity or per equipment and it gets harder to keep track of all possibilities with every new released OXP.

This page gives a short overview about used keys in OXPs in shipdata.plist.

Note: this page was last updated by a programmer in 2018 - it omits Library.oxp & GNN (which replaced CCL & Snoopers some years ago), nor does it include newer oxps such as Smugglers, PlanetFall2, etc.

Keyname Category OXP Short description
bgs_chatExpand Station BGS Enables chatter for secondary stations.
bgs_engineAmbi Playership BGS Specifies ambient engine sound.
bgs_engineDown Playership BGS Specifies engine sound when decelerating.
bgs_engineUp Playership BGS Specifies engine sound when accelerating.
bgs_tunnel_contrast Station BGS Adjusts contrast of bgs_tunnel_texture.
bgs_tunnel_off Station BGS Disables tunnel effect.
bgs_tunnel_shape Station BGS Shape of the tunnel effect.
bgs_tunnel_texture Station BGS Texture for the tunnel effect.
bgs_tunnel_tint Station BGS Color for the stripes in tunnel effect.
bombType Armoury
bounty Random Hits
ccl_missionShip Ship Cabal Common Library Flags this ship as mission relevant.
ccl_secureChannel Ship Cabal Common Library Property in the ship-script that holds the object for ship2ship communications.
ccl_secureChannelPrep Ship Cabal Common Library Function in the ship-script that initiates the object.
classifiedShip Ship Technical Reference Library Exclude this ship from the library.
DroneEquipment Armoury
extraMissileLauncher Random Hits
GNN Station GNN Enables interface on non main stations in stellarSpace.
grs_dockinglength Ship BuoyRepair Specifies distance for external dockers on buoyRepair facilities.
hateScore Random Hits
launchingRack Armoury
launch_name Armoury
level Random Hits
markLevel Random Hits
nextBuoy Lave Academies
npc_shields NPC-shields
podChance Random Hits
podType Random Hits
qmineChance Random Hits
score Galactic Navy
ship_name Aquatics
shipversion Ship ShipVersion Set fixed version (1-10).
skilled_npcs_role Skilled NPCs Controls behaviour for accuracy changes.
snoopersNews Station Snoopers Enables Snoopers on non-main stations or stations without NPC traffic.
telescope Telescope Alter the detection range of the ships, detect custom stations.
thargoidRepairBotChance RepairBots
UPSAIName UPS Courier
vector_epodName Ship Vector Suffix for special ships.
vector_name Ship Vector Suffix for special ships. Used in descriptions too.
vector_ovcycle Ship Vector Overlay fadeout after vector_ovcycle seconds.