State overlay system: Difference between revisions

Jump to navigation Jump to search
m
m (→‎Background: Add links to Citation and J3Cub)
Line 19: Line 19:
=== overlay file ===
=== overlay file ===
To add state overlays to your aircraft, create a folder called <code>states</code>. In there you can put your <code>$state-overlay.xml</code>. In the beginning your overlay.xml should look like this:
To add state overlays to your aircraft, create a folder called <code>states</code>. In there you can put your <code>$state-overlay.xml</code>. In the beginning your overlay.xml should look like this:
<pre>
<syntaxhighlight lang="xml">
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<PropertyList>
<PropertyList>
Line 27: Line 27:
   </overlay>
   </overlay>
</PropertyList>
</PropertyList>
</pre>
</syntaxhighlight>
Now you can put your items, which need to be set between the overlay tags. You only need to put properties in there, which differ from your default setup.
Now you can put your items, which need to be set between the overlay tags. You only need to put properties in there, which differ from your default setup.


Navigation menu