HelloO.
could someone explain the numbers in the external views for me please?
I'm after some more cinematic views. when things are quieter, it's nice to lose the hud, switch to external, and go put the kettle on.
custom_views =
view_description = "Rear Right View";
ok, so thats the name that appears on screen.
view_orientation = "0.9239 0.0 0.3827 0.0";
4 numbers javascript:emoticon(':?')
view_position = "141.42 10.0 -141.42";
3 numbers javascript:emoticon(':?')
weapon_facing = "FORWARD";
what's weapons got to do with it?
Many thanks commanders.
customising external views.
Moderators: winston, another_commander
- Griff
- Oolite 2 Art Director
- Posts: 2483
- Joined: Fri Jul 14, 2006 12:29 pm
- Location: Probably hugging his Air Fryer
I can explain the view_position & the weapon_facing settings, i'm not so hot on the view_orientation setting, other than that it is a quaternion that tells oolite which way the camera is pointing. http://en.wikipedia.org/wiki/Quaternion
view_position these are X Y Z co-ordinates for the placement of the camera, ships are (usually) centered on 0,0,0 so "141.42 10.0 -141.42" is 141.42 'distance units' along X (port/starboard axis), 10.0 distance units on Y the 'up/down' axis (positive numbers are 'up', negative are 'down') and -141.42 distance units on the Z axis (fore/aft axis), negative numbers put the camera behind the ship, positive in front.
weapon_facing just lets Oolite know which laser should fire when shooting in that external view
view_position these are X Y Z co-ordinates for the placement of the camera, ships are (usually) centered on 0,0,0 so "141.42 10.0 -141.42" is 141.42 'distance units' along X (port/starboard axis), 10.0 distance units on Y the 'up/down' axis (positive numbers are 'up', negative are 'down') and -141.42 distance units on the Z axis (fore/aft axis), negative numbers put the camera behind the ship, positive in front.
weapon_facing just lets Oolite know which laser should fire when shooting in that external view