You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Idea by Albin Stigö. This can be done by having duplicate textures for each control/panel.
For example when I want to make a panel having dual texture I first find the xml file that loads the AC3D file for the panel.
Then I add this to that xml file for a AC file that has an object called 'panel' which has a texture called Aircraft/JA37/Models/Instruments/Radar/radar-panel.png:
Then in Nasal/ja37.nas I go to the line called if (me.currentUnit) { and add a pair of setprops for swedish and english name of texture. Later on when many textures use this, can refactor this code as it will be sizeable.
The text was updated successfully, but these errors were encountered:
I would like to start implementing this since I am currently reworking the front panel, starting with the labels of the various indicator lights.
I suggest the following:
Add a new option (in the config menu), to choose the language of the cockpit.
Keep the existing HUD units option (and maybe add it to the config menu), so that it can be toggled in flight without changing the cockpit language.
However, to limit confusion, make the HUD units default to the same as the cockpit language.
Finally, remove the choice of units from the launcher states. The previous changes would make it unnecessary, and it never worked very well IMO: the language was forgotten when selecting a different aircraft/version, It would be better to have this options made persistent through aircraft-data.
Regarding the technical details, the implementation I was considering was to have the language controlled by, e.g. /ja37/english-cockpit, and for each relevant texture, have an animation
to change the version as appropriate.
I think it would be simpler than what you proposed, mostly because it does not require additional properties for each texture. Is there a downside I am not seeing to my version?
Idea by Albin Stigö. This can be done by having duplicate textures for each control/panel.
For example when I want to make a panel having dual texture I first find the xml file that loads the AC3D file for the panel.
Then I add this to that xml file for a AC file that has an object called 'panel' which has a texture called Aircraft/JA37/Models/Instruments/Radar/radar-panel.png:
Then in Nasal/ja37.nas I go to the line called if (me.currentUnit) { and add a pair of setprops for swedish and english name of texture. Later on when many textures use this, can refactor this code as it will be sizeable.
The text was updated successfully, but these errors were encountered: