Strange things (AKA: where could I dit it wrong ?)

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
saint
Dangerous
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 ?)

Post by saint »

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...
Image
Cmdr. Saint, Golden Gladstone with 4 leaves Clovers of the Most Noble Order or The B.D.c.
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 »

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
User avatar
saint
Dangerous
Dangerous
Posts: 75
Joined: Fri Jul 24, 2009 5:17 pm
Location: 45.371747 N, 12.011885 E - Sol III
Contact:

Re: ..

Post by saint »

Lestradae wrote:
Which version of Oolite are you on? (1.65, 1.72, ...)
Any way to discover it from the program itself, since the .deb have no version tag ?
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.
Two very nice cents, thank you!.
Image
Cmdr. Saint, Golden Gladstone with 4 leaves Clovers of the Most Noble Order or The B.D.c.
User avatar
saint
Dangerous
Dangerous
Posts: 75
Joined: Fri Jul 24, 2009 5:17 pm
Location: 45.371747 N, 12.011885 E - Sol III
Contact:

Post by saint »

But I have still no external view.
Image
Cmdr. Saint, Golden Gladstone with 4 leaves Clovers of the Most Noble Order or The B.D.c.
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 »

Try inserting this here into the shipdata.plist entry of your psychedelic TIE-fighter:

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>
... and see what happens :wink:

Have fun :)

L
User avatar
saint
Dangerous
Dangerous
Posts: 75
Joined: Fri Jul 24, 2009 5:17 pm
Location: 45.371747 N, 12.011885 E - Sol III
Contact:

Post by saint »

Yessssssssssssss! Thank you!


Lucy in the sky with lasers....
Image
Cmdr. Saint, Golden Gladstone with 4 leaves Clovers of the Most Noble Order or The B.D.c.
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 »

Perhaps even Diamonds ...

:wink:

L
User avatar
saint
Dangerous
Dangerous
Posts: 75
Joined: Fri Jul 24, 2009 5:17 pm
Location: 45.371747 N, 12.011885 E - Sol III
Contact:

Post by saint »

Yep! I could get a new paintwork for my TIE with a scan of the picture disk...

BTW, having a Coriolis painted like the road bridge near Padova Station (Yellow Submarine Graffitti)...
Image
Cmdr. Saint, Golden Gladstone with 4 leaves Clovers of the Most Noble Order or The B.D.c.
Post Reply