Difference between revisions of "DevTools"

From Elite Wiki
(Added a little more)
m (Config for AddOns (F4 screen): Added note)
 
(One intermediate revision by the same user not shown)
Line 30: Line 30:
 
:SInt-Ok
 
:SInt-Ok
 
:GUI-Config
 
:GUI-Config
 +
 +
Around half of these seem to be not working.
  
 
=== Lib_MatEditor (F4 screen) ===
 
=== Lib_MatEditor (F4 screen) ===
Line 43: Line 45:
 
=== Check for Player/Playership properties ===
 
=== Check for Player/Playership properties ===
 
According to the Lib_PropertiesTestPlayer hidden inside the OXP, checks against the standard player Cobra Mk.III exists somewhere inside! There might also be checks for commodities
 
According to the Lib_PropertiesTestPlayer hidden inside the OXP, checks against the standard player Cobra Mk.III exists somewhere inside! There might also be checks for commodities
 +
 +
This may lead to output in your [[Latest.log]]:
 +
 +
16:26:04.931 [Lib_PropertiesTestPlayer] GlobalLog (OOJSGlobal.m:266): Mismatch: Value mismatch: false - expected: true property:docked in player.ship.docked,Value mismatch: FeudalStates_hud.plist - expected: hud.plist property:hud in player.ship.hud,Value mismatch: true - expected: false property:hudAllowsBigGui in player.ship.hudAllowsBigGui,Value mismatch: 0 - expected: 2 property:multiFunctionDisplays in player.ship.multiFunctionDisplays,Value mismatch: -0.20820949971675873 - expected: 0 property:roll in player.ship.roll,Value mismatch: VIEW_FORWARD - expected: VIEW_GUI_DISPLAY property:viewDirection in player.ship.viewDirection,Value mismatch: 2 - expected: 0 property:alertCondition in player.ship.alertCondition,Value mismatch: 175.00001525878906 - expected: 0 property:desiredSpeed in player.ship.desiredSpeed,Value mismatch: 27313 - expected: 28753 property:entityPersonality in player.ship.entityPersonality,Value mismatch: 1.90 - expected: 1.86 property:version in player.ship.script.version,Value mismatch: 175.00001525878906 - expected: 0 property:speed in player.ship.speed,Value mismatch: true - expected: false property:withinStationAegis in player.ship.withinStationAegis,Value mismatch: 72.69734954833984 - expected: 72.69734191894531 property:collisionRadius in player.ship.collisionRadius,Value mismatch: 446.2585144042969 - expected: 0 property:distanceTravelled in player.ship.distanceTravelled,Value mismatch: 214737.6875 - expected: 214737.703125 property:mass in player.ship.mass,Value mismatch: STATUS_IN_FLIGHT - expected: STATUS_DOCKED property:status in player.ship.status,Value mismatch: true - expected: false property:isInSpace in player.ship.isInSpace,Value mismatch: 2 - expected: 0 property:alertCondition in player.alertCondition,Value mismatch: true - expected: false property:alertMassLocked in player.alertMassLocked,Value mismatch: DOCKING_CLEARANCE_STATUS_NONE - expected: DOCKING_CLEARANCE_STATUS_GRANTED property:dockingClearanceStatus in player.dockingClearanceStatus<br>
 +
16:26:04.931 [Lib_PropertiesTestPlayer] GlobalLog (OOJSGlobal.m:266): Specials missing: missiles.0.calculatedPrice,missiles.1.calculatedPrice,missiles.2.calculatedPrice<br>
 +
16:26:04.931 [Lib_PropertiesTestPlayer] GlobalLog (OOJSGlobal.m:266): Specials info:  Specials matched in missiles
  
 
== MatFinder ==
 
== MatFinder ==

Latest revision as of 15:30, 1 July 2025

A developer-tool: Tests for all kind of things. Useless for gaming but still funny.

IconLib.png
Screen on starting Oolite (Switches for "Nested" settings under F4's Config for AddOns)
("Nested" settings under F4's Config for AddOns)
Values for "Nested" settings under F4's Config for AddOns

Feeble attempt at an Overview

  • Once the OXP is added to Oolite, if Library.oxp is also loaded, you will find you are taken straight away to the Config for AddOns "Nested" settings (under Config for AddOns).

Config for AddOns (F4 screen)

In addition to some 16 new sets of settings under Config for AddOns, under Lib_ConfigTest

Bool-B0-Empty setting
Bool-B0-No Def
Bool-B0-No Desc
Bool-B0-No Name
Bool-B0-null
Bool-Hide all
Bool notify
Bool-Ok
Nested (where the game opens up)
Path
Reference emptied
Reference type change
Removed reference object
SInt-Hid all
SInt-Notify
SInt-Ok
GUI-Config

Around half of these seem to be not working.

Lib_MatEditor (F4 screen)

On your F4 screen (if you have Library running too), there is also a new MatEditor/Lib_MatEditor entry on the F4 screen.
You can select an object and do things to it (a vanilla game ico appears in these):
Vanilla game icosahedron chosen from ship object list
Looking at the materials of the ico

Check for Player/Playership properties

According to the Lib_PropertiesTestPlayer hidden inside the OXP, checks against the standard player Cobra Mk.III exists somewhere inside! There might also be checks for commodities

This may lead to output in your Latest.log:

16:26:04.931 [Lib_PropertiesTestPlayer] GlobalLog (OOJSGlobal.m:266): Mismatch: Value mismatch: false - expected: true property:docked in player.ship.docked,Value mismatch: FeudalStates_hud.plist - expected: hud.plist property:hud in player.ship.hud,Value mismatch: true - expected: false property:hudAllowsBigGui in player.ship.hudAllowsBigGui,Value mismatch: 0 - expected: 2 property:multiFunctionDisplays in player.ship.multiFunctionDisplays,Value mismatch: -0.20820949971675873 - expected: 0 property:roll in player.ship.roll,Value mismatch: VIEW_FORWARD - expected: VIEW_GUI_DISPLAY property:viewDirection in player.ship.viewDirection,Value mismatch: 2 - expected: 0 property:alertCondition in player.ship.alertCondition,Value mismatch: 175.00001525878906 - expected: 0 property:desiredSpeed in player.ship.desiredSpeed,Value mismatch: 27313 - expected: 28753 property:entityPersonality in player.ship.entityPersonality,Value mismatch: 1.90 - expected: 1.86 property:version in player.ship.script.version,Value mismatch: 175.00001525878906 - expected: 0 property:speed in player.ship.speed,Value mismatch: true - expected: false property:withinStationAegis in player.ship.withinStationAegis,Value mismatch: 72.69734954833984 - expected: 72.69734191894531 property:collisionRadius in player.ship.collisionRadius,Value mismatch: 446.2585144042969 - expected: 0 property:distanceTravelled in player.ship.distanceTravelled,Value mismatch: 214737.6875 - expected: 214737.703125 property:mass in player.ship.mass,Value mismatch: STATUS_IN_FLIGHT - expected: STATUS_DOCKED property:status in player.ship.status,Value mismatch: true - expected: false property:isInSpace in player.ship.isInSpace,Value mismatch: 2 - expected: 0 property:alertCondition in player.alertCondition,Value mismatch: true - expected: false property:alertMassLocked in player.alertMassLocked,Value mismatch: DOCKING_CLEARANCE_STATUS_NONE - expected: DOCKING_CLEARANCE_STATUS_GRANTED property:dockingClearanceStatus in player.dockingClearanceStatus
16:26:04.931 [Lib_PropertiesTestPlayer] GlobalLog (OOJSGlobal.m:266): Specials missing: missiles.0.calculatedPrice,missiles.1.calculatedPrice,missiles.2.calculatedPrice
16:26:04.931 [Lib_PropertiesTestPlayer] GlobalLog (OOJSGlobal.m:266): Specials info: Specials matched in missiles

MatFinder

The companion OXP to this one (also written for Library.oxp). See MatFinder.

Author

Another mysterious offering from Svengali (RIP).

Download

Links

REDO: See here for original description which is mangled above. (2 pages, 2018).

Cabal Common MaterialsFinder - for the CCL precursor to Library (written between 2011-12). This will have formed the basis for MatFinder and may also be relevant to this.