MOARdV / AvionicsSystems

MOARdV's Avionics Systems for Kerbal Space Program - a new generation of IVA enhancement.
Other
52 stars 26 forks source link

Document shared persistent variables #304

Open MOARdV opened 4 years ago

MOARdV commented 4 years ago

This needs to be a wiki page, so prop makers have this data available to make props that interact with existing features. I'll merge additional persistents into this post, and put a wiki page up once this looks fairly complete.

Valid ranges are listed as [x, y], where x is the minimum value, y is the maximum value (both inclusive). any value means it's a floating point number (fractional values are valid), integer means it must only be integers (no fractions).

There are many persistents named (something)Cabin_Light. These persistents are used to control prop cabin lights, or lighting installed in the IVA's mesh (Interior cabin lighting).

The persistents listed below for the FDAI 1 prop have equivalent values for FDAI 2.

theonegalen commented 4 years ago

I'm working on the Electric Output gauge which uses a persistent variable set in a knob or selector switch to determine which source of power to measure.

I submit "MAS_PowerOutput_Select" - Electric Output Prop electric source selector.

StoneBlue commented 1 year ago

These are all for the DriveDisplay and PitchRollDisplay in the ERS Rover mod. "ERSHUD_Compass" - Unknown use. Integer [0, 1]. "ERSHUD_Orientation" - Unknown use. Integer [0, 1]. "SwitchMFDtoDriveScreen" - Toggle a display mode between MFD and DRIVE. Integer [0, 1]. TODO: What is this connected to?

I'm working on subbmitting these props (as well as in a PR... I've changed the names to a moar fitting MAS-specific name (removing the "ERS" reference.

Are these persistent variable names hard-coded in MAS, or is it a simple matter of renaming in the appropriate prop cfgs?

Associated props are:

(not incl. in MAS yet...these are what will be in my PR)

(ARE incl. in MAS already)