Silly bug perhaps?
Moderators: winston, another_commander
Silly bug perhaps?
Two questions in a matter of days, I really don't have many problems with other things you know.
Anyway, here I am trading between Teanrebi and Tianve in Galaxy 1 as hard as possible desperately saving up as many credits as possible to purchase my first ship upgrade. As I know there is a Mosquito Trader in a nearby system (thanks to a recent thread that highlighted this cool ship).
So I wander over collect my new ride, and spend a few moments admiring it after launching. And went back to my two trading planets and picked up a few more bits of equipment. But after about two more planet hop's the external view (key V) no longer works. I can not see my lovely new pride and joy.
So I load up a save game from before the ship change, and external view works (Cobra MKIII). So I go and collect my ship again and external view still works. Again several jumps later it stops working. Does anybody know if this is a small known issue?
Anyway, here I am trading between Teanrebi and Tianve in Galaxy 1 as hard as possible desperately saving up as many credits as possible to purchase my first ship upgrade. As I know there is a Mosquito Trader in a nearby system (thanks to a recent thread that highlighted this cool ship).
So I wander over collect my new ride, and spend a few moments admiring it after launching. And went back to my two trading planets and picked up a few more bits of equipment. But after about two more planet hop's the external view (key V) no longer works. I can not see my lovely new pride and joy.
So I load up a save game from before the ship change, and external view works (Cobra MKIII). So I go and collect my ship again and external view still works. Again several jumps later it stops working. Does anybody know if this is a small known issue?
- Rustybolts
- ---- E L I T E ----
- Posts: 293
- Joined: Sun Jun 07, 2009 6:22 pm
- Location: UK
https://bb.oolite.space/viewtopic.php?t=6295
The post in the above link deals with this problem hope it helps.
The post in the above link deals with this problem hope it helps.
STE.+ Firefly/Dragonfly + BlackJacksbullion v.1.23 link below.
http://www.mediafire.com/?sharekey=ca16 ... f6e8ebb871
http://www.mediafire.com/?sharekey=ca16 ... f6e8ebb871
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
External views have to be explictly defined - as they are for all the inbuilt ships, but not all the ship-creating OXP'ers included this option. I don't have oolite on the machine I'm writing this post on so I can't remember where the external view needs to go (one of the plists) - and you copy and paste the data from a ship that is of a similar size to your new ride (so you'd be OK with the Cobby3 views for the Mosquito)
Given the nature of this forum somebody will be along with the exact info you need in a short while - I'm just letting you know its not exactly a bug, more an oversight.
Given the nature of this forum somebody will be along with the exact info you need in a short while - I'm just letting you know its not exactly a bug, more an oversight.
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
In fact RustyB gave you the solution while I was typing that somebody would!
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
- Rustybolts
- ---- E L I T E ----
- Posts: 293
- Joined: Sun Jun 07, 2009 6:22 pm
- Location: UK
its in the shipdata.plistI'm writing this post on so I can't remember where the external view needs to go (one of the plists)
below is code taken from externalviews.oxp for cobra 3
Code: Select all
<key>custom_views</key>
<array>
<dict>
<key>view_description</key>
<string>External View 1</string>
<key>view_position</key>
<string>0.0 40.0 -200.0</string>
<key>view_orientation</key>
<string>1.0 0.0 0.0 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>External View 2</string>
<key>view_position</key>
<string>141.42 40.0 -141.42</string>
<key>view_orientation</key>
<string>0.9239 0.0 0.3827 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>External View 3</string>
<key>view_position</key>
<string>200.0 40.0 0.0</string>
<key>view_orientation</key>
<string>0.7071 0.0 0.7071 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>External View 4</string>
<key>view_position</key>
<string>141.42 40.0 141.42</string>
<key>view_orientation</key>
<string>0.3827 0.0 0.9239 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>External View 5</string>
<key>view_position</key>
<string>0.0 40.0 200.0</string>
<key>view_orientation</key>
<string>0.0 0.0 1.0 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>External View 6</string>
<key>view_position</key>
<string>-141.42 40.0 141.42</string>
<key>view_orientation</key>
<string>0.3827 0.0 -0.9239 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>External View 7</string>
<key>view_position</key>
<string>-200.0 40.0 0.0</string>
<key>view_orientation</key>
<string>0.7071 0.0 -0.7071 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>External View 8</string>
<key>view_position</key>
<string>-141.42 40.0 -141.42</string>
<key>view_orientation</key>
<string>0.9239 0.0 -0.3827 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>Down View</string>
<key>view_position</key>
<string>0.0 200.0 0.0</string>
<key>view_orientation</key>
<string>-0.7071 0.7071 0.0 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>Up View</string>
<key>view_position</key>
<string>0.0 -200.0 0.0</string>
<key>view_orientation</key>
<string>0.0 0.0 0.7071 0.7071</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
</array>
STE.+ Firefly/Dragonfly + BlackJacksbullion v.1.23 link below.
http://www.mediafire.com/?sharekey=ca16 ... f6e8ebb871
http://www.mediafire.com/?sharekey=ca16 ... f6e8ebb871
- Rustybolts
- ---- E L I T E ----
- Posts: 293
- Joined: Sun Jun 07, 2009 6:22 pm
- Location: UK
Dont worry i had read that post when it was first posted. So i remembered it and knew exactly where to look.
STE.+ Firefly/Dragonfly + BlackJacksbullion v.1.23 link below.
http://www.mediafire.com/?sharekey=ca16 ... f6e8ebb871
http://www.mediafire.com/?sharekey=ca16 ... f6e8ebb871
- Commander McLane
- ---- 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:
As far as your original question is concerned:
Yes, there is a silly bug in Oolite, which allows you to use external views immediatly after buying a ship which hasn't them defined, if your previous ship had them defined. The previous view positions simply continue to be used. However, this works only until you are reloading your new ship. Therefore after a restart of the game the external views are gone.
Yes, there is a silly bug in Oolite, which allows you to use external views immediatly after buying a ship which hasn't them defined, if your previous ship had them defined. The previous view positions simply continue to be used. However, this works only until you are reloading your new ship. Therefore after a restart of the game the external views are gone.
Many moons ago I came up with a fix for that: if a ship hasn't got any external views defined, oolite would use the default (cobra mk3) ones. I think I committed that to trunk way back then, but I'm not too sure anymore.
If it's not on trunk yet, I'll try and remember to commit it for 1.74 ( 1.73 is under feature freeze )!
If it's not on trunk yet, I'll try and remember to commit it for 1.74 ( 1.73 is under feature freeze )!
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
You had put the code in trunk, but commented it out.Kaks wrote:If it's not on trunk yet, I'll try and remember to commit it for 1.74 ( 1.73 is under feature freeze )!
UPS-Courier & DeepSpacePirates & others at the box and some older versions
I remember now! I meant to ask if we wanted the cobra 3 external views as standard when undefined, since for some really big player ships (you know the ones I mean!) some views could end up inside the hull itself.
On reflection, it would still count as a bugfix for most of the oxps, though. Ok, I'll uncomment that fix, unless there are any objections!
On reflection, it would still count as a bugfix for most of the oxps, though. Ok, I'll uncomment that fix, unless there are any objections!
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Scaling the offsets in proportion to [[ship drawable] collisionRadius] should be a simple enough fix for 1.74.Kaks wrote:I remember now! I meant to ask if we wanted the cobra 3 external views as standard when undefined, since for some really big player ships (you know the ones I mean!) some views could end up inside the hull itself.
E-mail: [email protected]