1
0
Fork 0
A320-family/AircraftConfig/rendering.xml

161 lines
3.4 KiB
XML
Raw Normal View History

2019-10-14 16:48:35 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2022-01-11 02:17:41 +00:00
<!-- Copyright (c) 2022 Josh Davidson (Octal450) -->
2019-10-14 16:48:35 +00:00
<!-- A3XX Aircraft Config Dialog -->
<PropertyList>
<name>aircraft-config-rendering</name>
<layout>vbox</layout>
<group>
<layout>hbox</layout>
<text>
<halign>left</halign>
<label>Rendering Settings</label>
</text>
<button>
<halign>right</halign>
<pref-width>20</pref-width>
<pref-height>20</pref-height>
<legend>X</legend>
<key>Esc</key>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
<hrule/>
<group>
<layout>vbox</layout>
<text>
<halign>left</halign>
2022-01-14 16:33:58 +00:00
<label>Your rendering settings will not allow all graphical features of the aircraft to be visible!</label>
2019-10-14 16:48:35 +00:00
</text>
<text>
<halign>left</halign>
2022-01-14 16:33:58 +00:00
<label>This means certain lighting effects will not be usable, including cockpit floodlights. </label>
2019-10-14 16:48:35 +00:00
</text>
<text>
<halign>left</halign>
2022-01-14 16:33:58 +00:00
<label>For the best experience:</label>
2019-10-14 16:48:35 +00:00
</text>
<text>
<halign>left</halign>
2022-01-14 16:33:58 +00:00
<label>* Atmospheric Light Scattering should be enabled</label>
2019-10-14 16:48:35 +00:00
</text>
<text>
<halign>left</halign>
2022-01-14 16:33:58 +00:00
<label>* Landmass shader should be at least 4 for external lights to illuminate the ground</label>
</text>
<text>
<halign>left</halign>
<label>* Model shader should be at least 2 for lighting to illuminate the aircraft model</label>
2019-10-14 16:48:35 +00:00
</text>
<hrule/>
<text>
<halign>left</halign>
2022-01-14 16:33:58 +00:00
<label>Would you like Aircraft Config to automatically set these minimum basic settings?</label>
2019-10-14 16:48:35 +00:00
</text>
<text>
<halign>left</halign>
2022-01-14 16:33:58 +00:00
<label>To save these settings, make sure to quit FlightGear with File -&gt; Exit after your flight is complete.</label>
2019-10-14 16:48:35 +00:00
</text>
</group>
<hrule/>
<group>
<layout>hbox</layout>
<checkbox>
<label>Do not warn me about rendering settings again</label>
<halign>center</halign>
<property>/systems/acconfig/options/no-rendering-warn</property>
<binding>
<command>property-toggle</command>
<property>/systems/acconfig/options/no-rendering-warn</property>
</binding>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>nasal</command>
<script>
acconfig.writeSettings();
</script>
</binding>
<live>true</live>
</checkbox>
</group>
<hrule/>
<group>
<layout>hbox</layout>
<button>
<halign>center</halign>
2022-01-14 16:33:58 +00:00
<legend>Apply minimum settings</legend>
<pref-width>200</pref-width>
2019-10-14 16:48:35 +00:00
<binding>
<command>nasal</command>
<script>
acconfig.renderingSettings.fixAll();
</script>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
<button>
<halign>center</halign>
2022-01-14 16:33:58 +00:00
<legend>Advanced: View Shader Settings</legend>
<pref-width>200</pref-width>
2019-10-14 16:48:35 +00:00
<binding>
<command>nasal</command>
<script>
acconfig.renderingSettings.fixCore();
</script>
</binding>
<binding> <!-- Close the non-ALS shader dialog if it is open for some bizarre reason -->
<command>dialog-close</command>
<dialog-name>shaders</dialog-name>
</binding>
<binding>
<command>dialog-show</command>
<dialog-name>shaders-lightfield</dialog-name>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
<button>
<halign>center</halign>
2022-01-14 16:33:58 +00:00
<legend>Ignore</legend>
<pref-width>150</pref-width>
2019-10-14 16:48:35 +00:00
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
</PropertyList>