Gem Stone trader. I took your advice Ace.

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

Moderators: winston, another_commander

Post Reply
User avatar
FSOneblin
---- E L I T E ----
---- E L I T E ----
Posts: 460
Joined: Tue Oct 30, 2007 12:15 am
Location: Yes, That is True

Gem Stone trader. I took your advice Ace.

Post by FSOneblin »

**Run's and trips on banana peel**

WHO PUT THAT THERE!?!?!?!?!?! I mean, umm... I took Ace's advice, and scriped an oxp. But, umm... It seems when writeing this, I found many error's, will post it later.

Don't panic: FSOneblin
Don't panic

Now an "adult!"
User avatar
FSOneblin
---- E L I T E ----
---- E L I T E ----
Posts: 460
Joined: Tue Oct 30, 2007 12:15 am
Location: Yes, That is True

Post by FSOneblin »

Here be being the scripting, yarrr, I got the idea for this ship when I was reading about the Spanish gallions in my (Evil!) history book. This is a gem stone trader, Might need make it drop a little less cargo. but I don't know how to do much with makeing oxp's, so : I want this to appear only in fudel systems, how do I do this? And I Don't know how to make this a .oxp, How do I do that? And Could someone check this for me? New to oxping, Don't know half of the stuff I'm doing.

<key>cargo_type</key>
<string>CARGO_CARRIED</string>
<key>cargo_carried</key>
<string>10 Gem-Stones</string>
<key>roles</key>
<string>trader(2.0)
<key>thrust</key>
<real>30</real>
<key>missiles</key>
<integer>9</integer>
<key>max_flight_speed</key>
<real>380</real>
<key>max_cargo</key>
<integer>25</integer>
<key>like_ship</key>
<string>boa</string>
<key>has_escape_pod</key>
<True/>
<key>isCarrier</key>
<true/>
<key>auto_ai</key>
<true/>
<key>max_flight_pitch</key>
<real>2.8</real>
<key>max_flight_roll</key>
<real>4.2</real>


I copied most of this from the wiki then changed it a bit, but can I still brag that I can script? Sorry if this get's people mad, Because it add's more gemstones, witch I'm guessing there's not a lot because there so rare. Also sorry if this makes no sense, I'm vary tiered.


Don't panic: FSOneblin
Don't panic

Now an "adult!"
User avatar
matt634
Deadly
Deadly
Posts: 206
Joined: Tue Mar 21, 2006 6:32 pm
Location: Colorado, USA

Post by matt634 »

Learning to OXP was a trial and error process for me. My advice would be
I started with ZERO oxp knowledge just like you and I needed to mess around with plists for almost a year before I was able to tackle the Galactic Navy add on. That was an admittedly massive task and a simple ship oxp won't be as daunting. Don't get discouraged; scripting can be very frustrating, especially if you're like me and don't necessarily understand why what you're doing does or doesn't work half the time.
User avatar
FSOneblin
---- E L I T E ----
---- E L I T E ----
Posts: 460
Joined: Tue Oct 30, 2007 12:15 am
Location: Yes, That is True

Post by FSOneblin »

Ok, thanks for the advice. Thanks to that link you gave me, I now know that you have to put <key>Insertthinghere</key>
<dict> Before putting stuff down. So now I know 2 thing's about scripting.
:P

Don't panic: FSOneblin
Don't panic

Now an "adult!"
User avatar
Ace Garp
Dangerous
Dangerous
Posts: 86
Joined: Sun Mar 02, 2008 7:15 am
Location: Lancashire, UK
Contact:

Post by Ace Garp »

I got some good advice here: -

https://bb.oolite.space/viewtopic.php?t=4459

I've yet to put any of it into practise though.

:oops:
User avatar
FSOneblin
---- E L I T E ----
---- E L I T E ----
Posts: 460
Joined: Tue Oct 30, 2007 12:15 am
Location: Yes, That is True

Post by FSOneblin »

Will I only need a config folder with a shipdata.plst for this oxp?


Don't Panic: FSOneblin
Don't panic

Now an "adult!"
User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2882
Joined: Tue Apr 04, 2006 7:02 pm
Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.

Post by LittleBear »

Yep. As you are using a native model and AI you don't need any folders except Config (needs a capital C!) with the shipdata.plist in it. Then put the Config folder in a folder called myoxpname.oxp (must end in .oxp and the .oxp must be lower case!). But thats it really. :wink:
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
Post Reply