Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Where'd my externals go?

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
Westwood
Above Average
Above Average
Posts: 23
Joined: Sat May 24, 2008 1:50 am

Where'd my externals go?

Post by Westwood »

After getting back into Oolite after purchasing my new Mac, I started a new commander and purchased a nice Armored Transport (auto side cannons are lovely! 8) ). So a while after admiring my ship from the outside, I decided to travel the galaxy trading and whatnot. However! Now I lost the ability to view my ship from the outside (I am using the latest Oolite version).

I do have a sneaking suspicion that when I use either the Torus jumpdrive or fuel injectors, I lose the abilty to view my ship externally as I am able to see the outside of any ship for a new commander BEFORE I use Torus or fuel injectors.

Help me out! What should I do? :(
User avatar
Westwood
Above Average
Above Average
Posts: 23
Joined: Sat May 24, 2008 1:50 am

Post by Westwood »

A little bump (and a bit impatient on my part :oops:), but does anyone have any help for me? :(
User avatar
Frame
---- E L I T E ----
---- E L I T E ----
Posts: 1477
Joined: Fri Mar 30, 2007 8:32 am
Location: Witchspace

Post by Frame »

The ship does not come with external views...

you could copy and paste the external views from the cobra III, if you know what you are doing...

Code: Select all

custom_views =
		(
			{
				view_description = "Rear View";
				view_orientation = "1.0 0.0 0.0 0.0";
				view_position = "0.0 30.0 -200.0";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Rear Right View";
				view_orientation = "0.9239 0.0 0.3827 0.0";
				view_position = "141.42 30.0 -141.42";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Right View";
				view_orientation = "0.7071 0.0 0.7071 0.0";
				view_position = "200.0 30.0 0.0";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Front Right View";
				view_orientation = "0.3827 0.0 0.9239 0.0";
				view_position = "141.42 30.0 141.42";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Front View";
				view_orientation = "0.0 0.0 1.0 0.0";
				view_position = "0.0 30.0 200.0";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Front Left View";
				view_orientation = "0.3827 0.0 -0.9239 0.0";
				view_position = "-141.42 30.0 141.42";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Left View";
				view_orientation = "0.7071 0.0 -0.7071 0.0";
				view_position = "-200.0 30.0 0.0";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Rear Left View";
				view_orientation = "0.9239 0.0 -0.3827 0.0";
				view_position = "-141.42 30.0 -141.42";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Top View";
				view_orientation = "-0.7071 0.7071 0.0 0.0";
				view_position = "0.0 200.0 -15.0";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Bottom View";
				view_orientation = "0.0 0.0 0.7071 0.7071";
				view_position = "0.0 -200.0 -15.0";
				weapon_facing = "FORWARD";
			}
		);
insert this after the starboard entry in the addons/oxpname/config/shipdata.plist for the armoured transport for players...

and as always, keep a backup if you mess up..


Cheers Frame
Bounty Scanner
Number 935
User avatar
Westwood
Above Average
Above Average
Posts: 23
Joined: Sat May 24, 2008 1:50 am

Post by Westwood »

I SWEAR I could look at the ship from the outside when i first bought it.....<_<
Anywho...this is the shipdata for the Armored Transport (player) from the shipdata.plist from the Realistic shipyards OXP....where would I insert the code?

<key>att1-player</key>
<dict>
<key>cargo_type</key>
<string>CARGO_NOT_CARGO</string>
<key>energy_recharge_rate</key>
<real>2.5</real>
<key>exhaust</key>
<array>
<string>-20.0 0.0 -70 8 8 20</string>
<string>0.0 0.0 -70 8 8 35</string>
<string>20.0 0.0 -70 8 8 20</string>
<string>-40.0 2.0 -75 3 3 1</string>
<string>40.0 2.0 -75 3 3 1</string>
</array>
<key>forward_weapon_type</key>
<string>WEAPON_NONE</string>
<key>frangible</key>
<true/>
<key>max_cargo</key>
<integer>80</integer>
<key>max_energy</key>
<real>500</real>
<key>max_flight_pitch</key>
<real>0.6</real>
<key>max_flight_roll</key>
<real>0.6</real>
<key>max_flight_speed</key>
<real>300</real>
<key>max_missiles</key>
<integer>4</integer>
<key>missiles</key>
<integer>4</integer>
<key>model</key>
<string>armoured_transport1.dat</string>
<key>name</key>
<string>Armored Transport</string>
<key>roles</key>
<string>player</string>
<key>subentities</key>
<array>
<string>keel_at 0 0 0 1 0 0 0</string>
<string>ah_turret1 -57.044786 0.363803 25 1 0 1 0</string>
<string>ah_turret1 -57.044786 0.363803 -25 1 0 1 0</string>
<string>ah_turret1 57.044786 0.363803 25 -1 0 1 0</string>
<string>ah_turret1 57.044786 0.363803 -25 -1 0 1 0</string>
<string>*FLASHER* -33.4 20.1 -75 0 0 0 2</string>
<string>*FLASHER* 33.4 20.1 -75 0 0 0 2</string>
<string>*FLASHER* 0.0 20.0 -50.0 0 0 0 2</string>
<string>*FLASHER* -60 5.1 115 40 2 0 1</string>
<string>*FLASHER* -60 -5.1 115 40 2 0 1</string>
<string>*FLASHER* -60 5.1 75 40 2 0.2 1</string>
<string>*FLASHER* -60 -5.1 75 40 2 0.2 1</string>
<string>*FLASHER* -60 5.1 37 40 2 0.39 1</string>
<string>*FLASHER* -60 -5.1 37 40 2 0.39 1</string>
<string>*FLASHER* -60 5.1 0 40 2 0.575 1</string>
<string>*FLASHER* -60 -5.1 0 40 2 0.575 1</string>
<string>*FLASHER* -60 5.1 -37 40 2 0.76 1</string>
<string>*FLASHER* -60 -5.1 -37 40 2 0.76 1</string>
<string>*FLASHER* -60 5.1 -75 40 2 0.95 1</string>
<string>*FLASHER* -60 -5.1 -75 40 2 0.95 1</string>
<string>*FLASHER* 60 5.1 115 40 2 0 1</string>
<string>*FLASHER* 60 -5.1 115 40 2 0 1</string>
<string>*FLASHER* 60 5.1 75 40 2 0.2 1</string>
<string>*FLASHER* 60 -5.1 75 40 2 0.2 1</string>
<string>*FLASHER* 60 5.1 37 40 2 0.39 1</string>
<string>*FLASHER* 60 -5.1 37 40 2 0.39 1</string>
<string>*FLASHER* 60 5.1 0 40 2 0.575 1</string>
<string>*FLASHER* 60 -5.1 0 40 2 0.575 1</string>
<string>*FLASHER* 60 5.1 -37 40 2 0.76 1</string>
<string>*FLASHER* 60 -5.1 -37 40 2 0.76 1</string>
<string>*FLASHER* 60 5.1 -75 40 2 0.95 1</string>
<string>*FLASHER* 60 -5.1 -75 40 2 0.95 1</string>
</array>
<key>thrust</key>
<real>16</real>
<key>weapon_energy</key>
<real>25</real>
</dict>
Last edited by Westwood on Mon Jun 22, 2009 7:40 am, edited 2 times in total.
User avatar
Westwood
Above Average
Above Average
Posts: 23
Joined: Sat May 24, 2008 1:50 am

Post by Westwood »

Hold on...I think I've found the problem...

1. I started a new Commander and bought a ship and I was able to view the ship from the outside.

2. I lost the ability to view externally as soon as I tinkered with ANYTHING on the save file for that particular commander.

3. I repeated this with many different ships that were purchasble from the stating level and got the same results.

So how do I fix this problem? Will I forever be doomed to not view my Armored Transport from the outside ever again since I gave myself 1000Cr.? :oops: :(

Edit: Every ship seems to be subject to this besides the starting cobra....I really need to know where the that code for the external views for the cobra needs to go...
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6311
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Post by Diziet Sma »

Frame wrote:
The ship does not come with external views...

you could copy and paste the external views from the cobra III, if you know what you are doing...

Code: Select all

custom_views =
		(
			{
				view_description = "Rear View";
<snip>
				weapon_facing = "FORWARD";
			}
		);
insert this after the starboard entry in the addons/oxpname/config/shipdata.plist for the armoured transport for players...

and as always, keep a backup if you mess up..


Cheers Frame
You forgot to mention shift-launching the game afterwards..
Westwood, if you edit an OXP .plist, you need to hold down the Shift key from the time you click the icon until the spinning Cobra appears, to force Oolite to rebuild its cache.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6311
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Post by Diziet Sma »

Try this..

Code: Select all

<key>model</key>
<string>armoured_transport1.dat</string>
<key>name</key>
<string>Armored Transport</string>
<key>roles</key>
<string>player</string>
INSERT CUSTOM VIEWS HERE
<key>subentities</key>
<array>
<string>keel_at 0 0 0 1 0 0 0</string> 
and don't forget what I wrote above, about shift-starting the game...
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
Cmdr James
Commodore
Commodore
Posts: 1357
Joined: Tue Jun 05, 2007 10:43 pm
Location: Berlin

Post by Cmdr James »

There used to be a problem that external views were not reset when you purchased a ship. So when you bought a ship without external views, you still had views defined in your previous ship. But once you save and restart, the views are gone.

Perhaps you experienced this?
User avatar
Westwood
Above Average
Above Average
Posts: 23
Joined: Sat May 24, 2008 1:50 am

Post by Westwood »

Awesome! It's working like a charm again after I applied the Cobra's external views and the shift start-up. I thank Diziet Sma and Frame for the speedy replies and solid instructions. :P

Very wonderful...I really appreciated this. Thanks again! :oops:
User avatar
Westwood
Above Average
Above Average
Posts: 23
Joined: Sat May 24, 2008 1:50 am

Post by Westwood »

Awesome! It's working like a charm again after I applied the Cobra's external views and the shift start-up. I thank Diziet Sma and Frame for the speedy replies and solid instructions. :P

Very wonderful...I really appreciated this. Thanks again! :oops:
http://i726.photobucket.com/albums/ww26 ... 1245660198
(Pardon the obstructive HUD. I've got to find some settings that will enable me to view the ship a bit higher. :P)
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8512
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

Westwood wrote:
Awesome! It's working like a charm again after I applied the Cobra's external views and the shift start-up. I thank Diziet Sma and Frame for the speedy replies and solid instructions. :P

Very wonderful...I really appreciated this. Thanks again! :oops:
http://i726.photobucket.com/albums/ww26 ... 1245660198
(Pardon the obstructive HUD. I've got to find some settings that will enable me to view the ship a bit higher. :P)
Pause the game and then "o" to turn the HUD off (I think its "o" - and I think it's "n" to turn it on again)
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6311
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Post by Diziet Sma »

Cmdr James wrote:
There used to be a problem that external views were not reset when you purchased a ship. So when you bought a ship without external views, you still had views defined in your previous ship. But once you save and restart, the views are gone.

Perhaps you experienced this?
Thinking on that "used to be" part.. is this something that was fixed?

Westwood, are you using the latest version of Oolite? (Currently 1.72.2.1 for the Mac)
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
Cmdr James
Commodore
Commodore
Posts: 1357
Joined: Tue Jun 05, 2007 10:43 pm
Location: Berlin

Post by Cmdr James »

I dont know if it got fixed, but I remember seeing it about 6 monthws ago.

I rarely change ship, and almost never use external views, so I cannot say that I was very interested in the bug.

I suspect that fixing it got shelved due to an intent to make some changes to the external views code. In fact quite a few view related things are currently paused due to this intention.
User avatar
Westwood
Above Average
Above Average
Posts: 23
Joined: Sat May 24, 2008 1:50 am

Post by Westwood »

Diziet Sma wrote:
Cmdr James wrote:
There used to be a problem that external views were not reset when you purchased a ship. So when you bought a ship without external views, you still had views defined in your previous ship. But once you save and restart, the views are gone.

Perhaps you experienced this?
Thinking on that "used to be" part.. is this something that was fixed?

Westwood, are you using the latest version of Oolite? (Currently 1.72.2.1 for the Mac)
Yes, I am using the latest test version for Mac.

Thanks Hoggy!
Post Reply