Oolite Exterior views

News and discussion of the PC port of Oolite.

Moderators: winston, another_commander

Post Reply
arabelsraven
Mostly Harmless
Mostly Harmless
Posts: 3
Joined: Wed May 28, 2008 10:23 am

Oolite Exterior views

Post by arabelsraven »

Hello,

I am a newbie to Oolite. I have read somewhere that there are exterior ship views available on later versions of Oolite. I have downloaded the latest version for Windows, but don't seem to be able to find the key to enable exterior ship views.

Has this feature been implemented in the Windows version?
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6654
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Yes, it is mapped by default to the 'v' key. What ship are you trying to view? All the standard game ships should be viewable externally.
arabelsraven
Mostly Harmless
Mostly Harmless
Posts: 3
Joined: Wed May 28, 2008 10:23 am

Post by arabelsraven »

It is for a Viper Interceptor (my fave ship!)
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6654
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Do you have Realistic Shipyards installed by any chance? The Viper Interceptor is not a player ship by default, as far as I can tell.

The ships won't be shown with external views, unless the "custom_views" key has been defined in their shipdata.plist entries. So, it is not a bug in the game, it is just something missing from the ship OXP itself.
arabelsraven
Mostly Harmless
Mostly Harmless
Posts: 3
Joined: Wed May 28, 2008 10:23 am

Post by arabelsraven »

Yes I have this OXP installed. How would I edit the plist to enable ship views?
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

...

Post by Lestradae »

The ships won't be shown with external views, unless the "custom_views" key has been defined in their shipdata.plist entries. So, it is not a bug in the game, it is just something missing from the ship OXP itself.
* notes another often repeated player wish for RS 3.02 *
User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2877
Joined: Tue Apr 04, 2006 7:02 pm
Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.

Post by LittleBear »

A quick C&P from the Native Ships should do it. If you open up the native shipdata and find the entry for the player Cobra Mk I ("cobramk1-player"). I'd go for this one as its more or less on a par size-wise with the Viper so the Camera Angles should look ok. Now C&P the code starting with "custom_views" like this:-

Code: Select all

custom_views =
		(
			{
				view_description = "Rear View";
				view_orientation = "1.0 0.0 0.0 0.0";
				view_position = "0.0 20.0 -150.0";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Rear Right View";
				view_orientation = "0.9239 0.0 0.3827 0.0";
				view_position = "106.06 20.0 -106.06";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Right View";
				view_orientation = "0.7071 0.0 0.7071 0.0";
				view_position = "150.0 20.0 0.0";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Front Right View";
				view_orientation = "0.3827 0.0 0.9239 0.0";
				view_position = "106.06 20.0 106.06";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Front View";
				view_orientation = "0.0 0.0 1.0 0.0";
				view_position = "0.0 20.0 150.0";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Front Left View";
				view_orientation = "0.3827 0.0 -0.9239 0.0";
				view_position = "-106.06 20.0 106.06";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Left View";
				view_orientation = "0.7071 0.0 -0.7071 0.0";
				view_position = "-150.0 20.0 0.0";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Rear Left View";
				view_orientation = "0.9239 0.0 -0.3827 0.0";
				view_position = "-106.06 20.0 -106.06";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Top View";
				view_orientation = "-0.7071 0.7071 0.0 0.0";
				view_position = "0.0 150.0 -10.0";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Bottom View";
				view_orientation = "0.0 0.0 0.7071 0.7071";
				view_position = "0.0 -150.0 -10.0";
				weapon_facing = "FORWARD";
			}
Now (with this code CTR C'd) open up the shipdata for realistic shipyards and drop these views into the Viper-player entry. That'll do it. The views may not be perfect, as the Camera is set for the Cobra I, but as the ships are of similar size, it should still give you a nice outside view of your Viper.

Having made and saved your changes, next time you load up Oolite hold down the SHIFT key (you only need to do this the first time - but it is necessary to update the cache and so make Oolite read your changes).
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

Yep, the Cobra1-views should work just fine.
Post Reply