Hello, I am experiencing some strange behaviour while using a custom OXP.
I took the TIE, changed the names and all to have a psychedelic rainbow tie. then added the missiles (TIE had missiles in Star Wars), removed the non player section (it is MY ship, with custom paint and a custom missile launcher).
What I experience is that I can't see my ship from outside (bad, but can live with it) and the program crashes due a Floating Point exception when the shields are depleted (not energy bank).
What could I have done wrong ? Could the crash be due the interaction with other OXPs ?
If I am not wrong all the crashes showed up after I met a rattle cutter...
Strange things (AKA: where could I dit it wrong ?)
Moderators: winston, another_commander
- saint
- Dangerous
- Posts: 75
- Joined: Fri Jul 24, 2009 5:17 pm
- Location: 45.371747 N, 12.011885 E - Sol III
- Contact:
Strange things (AKA: where could I dit it wrong ?)
Cmdr. Saint, Golden Gladstone with 4 leaves Clovers of the Most Noble Order or The B.D.c.
- Lestradae
- ---- E L I T E ----
- Posts: 3095
- Joined: Tue Apr 17, 2007 10:30 pm
- Location: Vienna, Austria
..
Which version of Oolite are you on? (1.65, 1.72, ...)
You need to define outside views in shipdata.plist so that you get them! Have a look at the core game ships to see how its done.
My rather meagre 0.2 Cr
L
You need to define outside views in shipdata.plist so that you get them! Have a look at the core game ships to see how its done.
My rather meagre 0.2 Cr
L
- saint
- Dangerous
- Posts: 75
- Joined: Fri Jul 24, 2009 5:17 pm
- Location: 45.371747 N, 12.011885 E - Sol III
- Contact:
Re: ..
Any way to discover it from the program itself, since the .deb have no version tag ?Lestradae wrote:Which version of Oolite are you on? (1.65, 1.72, ...)
Two very nice cents, thank you!.Lestradae wrote:/You need to define outside views in shipdata.plist so that you get them! Have a look at the core game ships to see how its done.
Cmdr. Saint, Golden Gladstone with 4 leaves Clovers of the Most Noble Order or The B.D.c.
- Lestradae
- ---- E L I T E ----
- Posts: 3095
- Joined: Tue Apr 17, 2007 10:30 pm
- Location: Vienna, Austria
..
Try inserting this here into the shipdata.plist entry of your psychedelic TIE-fighter:
... and see what happens
Have fun
L
Code: Select all
<key>custom_views</key>
<array>
<dict>
<key>view_description</key>
<string>Rear View</string>
<key>view_position</key>
<string>0.0 -50.0 -500.0</string>
<key>view_orientation</key>
<string>1.0 0.0 0.0 0.0</string>
<key>weapon_facing</key>
<string>AFT</string>
</dict>
<dict>
<key>view_description</key>
<string>Rear Right View</string>
<key>view_position</key>
<string>267 -33.3 -267</string>
<key>view_orientation</key>
<string>0.9239 0.0 0.3829 0.0</string>
<key>weapon_facing</key>
<string>AFT</string>
</dict>
<dict>
<key>view_description</key>
<string>Right View</string>
<key>view_position</key>
<string>400.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>STARBOARD</string>
</dict>
<dict>
<key>view_description</key>
<string>Front Right View</string>
<key>view_position</key>
<string>281 -40.0 281</string>
<key>view_orientation</key>
<string>0.3829 0.0 0.9239 0.0</string>
<key>weapon_facing</key>
<string>STARBOARD</string>
</dict>
<dict>
<key>view_description</key>
<string>Front View</string>
<key>view_position</key>
<string>0.0 -50.0 500.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>Front Left View</string>
<key>view_position</key>
<string>-281 -40.0 281</string>
<key>view_orientation</key>
<string>0.3829 0.0 -0.9239 0.0</string>
<key>weapon_facing</key>
<string>PORT</string>
</dict>
<dict>
<key>view_description</key>
<string>Left View</string>
<key>view_position</key>
<string>-400.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>PORT</string>
</dict>
<dict>
<key>view_description</key>
<string>Rear Left View</string>
<key>view_position</key>
<string>-267 -33.3 -267</string>
<key>view_orientation</key>
<string>0.9239 0.0 -0.3829 0.0</string>
<key>weapon_facing</key>
<string>AFT</string>
</dict>
<dict>
<key>view_description</key>
<string>Top View</string>
<key>view_position</key>
<string>0.0 400.0 -33.3</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>Bottom View</string>
<key>view_position</key>
<string>0.0 -400.0 -33.3</string>
<key>view_orientation</key>
<string>0.0 0.0 0.7071 0.7071</string>
<key>weapon_facing</key>
<string>AFT</string>
</dict>
</array>
Have fun
L