Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
When using a cockpit with multiple displays to display the artificial horizon, this script automatically adds lines to the cockpit's 'custom data' so the user can configure which screens it should use.
The problem is, for cockpits with multiple screens, when trying to use another script on a separate screen, this script deletes the configuration that the other script added to the 'custom data', and thus renders the other script useless.
Practical example:
- Load this script into a PB (will be referenced as 'primary');
- Load another script (used Isy's Ship Refueler in my testing, the 'secondary') in another PB;
- Add the tag for the primary script to a cockpit's name (default 'Horizon');
- This script will populate the 'custom data' of said cockpit with its config;
- Add the tag for the other script to the same cockpit name (for the script mentioned, it's '!ISR-main');
- The secondary script finds the cockpit, renames it again (to remove the temporary tag and add the permanent one, the standard behavior of said script) and adds its configuration to the 'custom data' of that cockpit, just under the configuration of the primary script;
- Then, this secondary script works for a few moments, and stops working because the configuration it added to the 'custom data' was overwritten by the primary script;
I believe this behavior can be tweaked so this script becomes more 'friendly' with others.
The way it is now seems to make all the other screens on my cockpit useless while I have this script running.
After doing some more testings, it seems it was just an odd coincidence that happened to me, because the default behavior of the primary script does try to keep the rest of the 'custom data' untouched.
In other words, my issue has been fixed and shouldn't actually have happened in the first place.
I found two issues which seem to be related to the script.
1) When using the Keen Industrial Cockpit (large grid; from the Decorative Pack DLC), the default will use the "Large Display" (top left corner display) for the AH.
If you enter into the Control Panel of the Industrial Cockpit, and select the "Large Display", the default script will be "None" (even though it is the AH script). A single-left-click on "Artificial Horizon" in the script section will revert instantly back to "None"; a double-left-click will cause SE to CTD.
2) When using the vanilla Cockpit (large grid), the default will use the "Top Center Screen" (bottom big central display) for the AH.
If you enter into the Control Panel of the Cockpit, and select the "Top Center Screen", the default script will be "None" (even though it is the AH script). A single-left-click on "Artificial Horizon" in the script section will revert instantly back to "None"; a double-left-click will cause SE to CTD.
If either of the above process is tried with the AH script removed or the programming block turned off, then "Artificial Horizon" in the script section can be selected with no (known) issue.
Configuring using the "Custom Data" works with no apparent issues.
I have found the CTD to be consistent in both the above cases. I have not tried the small-grid cockpits in either case. I also have not tested to see if this is an inherent conflict with any other mods or is consistent in a pure vanilla world; the mods I was using during testing (in the above two cases) was the same for #1 and #2.
Also, if you are using this script on a particular screen, do not change that screen to use the built in Artificial Horizon script. It needs to be set on "None" for in game scripts to work.
Edit: Just confirmed. I can replicate this with a 10 line script. It is certainly a game bug.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1987798544
She ship I'm flying in the screenshot is a VTOL space plane mainly flown in atmosphere by utilizing an aerodynamics mod. The screenshot was taken within a few seconds of hearing a false-positive.
The only mod interacting with the script is the seat I use on my ship but the screens is just a regular LCD screen on the wall
const string VERSION = "1.7.0"
Is it this version you are talking about?
Not sure if this it the reason for you but seems like 'transparent lcd textures' crashes my game if Whiplash's radar or artificial horizon script(SIMPL is fine) is shown on a lcd or screen
I have tested in a new save with only 'transparent lcd textures' and a old save that has a lot of mods but only 'transparent lcd textures' removed
Edit: Checked the mod page and it seems like someone found a fix
Whenever there is a bug, check the Change Notes to see if I
ve already fixed it. I'm generally pretty quick about breakages because I personally use all my scripts.