Howto:Make nice screenshots: Difference between revisions

Jump to navigation Jump to search
→‎Ground to Air: syntaxhighlight and rearrange equation
(Replacing old screenshots with better ones and fixing some typos)
(→‎Ground to Air: syntaxhighlight and rearrange equation)
Line 44: Line 44:
Anders Gidenstam made a nice nasal script to move the tower whenever you control-click on the ground.
Anders Gidenstam made a nice nasal script to move the tower whenever you control-click on the ground.
You can find it [http://www.gidenstam.org/FlightGear/misc/place_tower.xml here]. Copy the code between the <code><PropertyList></code>-tags and put in somewhere in your <code>preferences.xml</code> . Now, when you ''Ctrl + left click'' somewhere on the ground, you can set the position of the tower view. The view is still about 30 feet above ground level; assuming you want to stand at eye-level, you can change the line
You can find it [http://www.gidenstam.org/FlightGear/misc/place_tower.xml here]. Copy the code between the <code><PropertyList></code>-tags and put in somewhere in your <code>preferences.xml</code> . Now, when you ''Ctrl + left click'' somewhere on the ground, you can set the position of the tower view. The view is still about 30 feet above ground level; assuming you want to stand at eye-level, you can change the line
 
<syntaxhighlight lang="nasal">
setprop(tower ~ "/altitude-ft", 30 + M2FT * click_pos.alt());                 
setprop(tower ~ "/altitude-ft", 30 + (click_pos.alt() * M2FT));                 
 
</syntaxhighlight>
to
to
 
<syntaxhighlight lang="nasal">
setprop(tower ~ "/altitude-ft", 6.5 + M2FT * click_pos.alt());
setprop(tower ~ "/altitude-ft", 6.5 + (click_pos.alt() * M2FT));
</syntaxhighlight>


=== Panorama ===
=== Panorama ===

Navigation menu