Page 1 of 1
Where'd my externals go?
Posted: Sun Jun 21, 2009 6:25 am
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!
). 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?
Posted: Sun Jun 21, 2009 5:29 pm
by Westwood
A little bump (and a bit impatient on my part
), but does anyone have any help for me?
Posted: Sun Jun 21, 2009 6:07 pm
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
Posted: Mon Jun 22, 2009 6:49 am
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>
Posted: Mon Jun 22, 2009 7:12 am
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.?
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...
Posted: Mon Jun 22, 2009 7:44 am
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.
Posted: Mon Jun 22, 2009 7:56 am
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...
Posted: Mon Jun 22, 2009 8:10 am
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?
Posted: Mon Jun 22, 2009 8:29 am
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.
Very wonderful...I really appreciated this. Thanks again!
Posted: Mon Jun 22, 2009 8:44 am
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.
Very wonderful...I really appreciated this. Thanks again!
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.
)
Posted: Mon Jun 22, 2009 10:02 am
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.
Very wonderful...I really appreciated this. Thanks again!
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.
)
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)
Posted: Mon Jun 22, 2009 11:07 am
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)
Posted: Mon Jun 22, 2009 12:09 pm
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.
Posted: Mon Jun 22, 2009 6:26 pm
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!