Cow Interceptor (I know it's a dumb name [get over it!])
Moderators: winston, another_commander
Cow Interceptor (I know it's a dumb name [get over it!])
My first oxp. (It's actually been done for literally a few months)
http://www.box.net/shared/ejnt2yu0z4
Let me know of any problems. (sorry: no pictures!)
This oxp adds a small, yet powerful ship that can (or hopefully can) be used by npc's and players.
50 years back, a small derelict ship was found decaying quite a distance off the space lane of Malama. Apparently, it hadn't been touched for hundreds of years. Upon inspection, it was found that all cargo was intact, and what was there was billions of credits worth of antimatter, preserved and suspended in a perfect vacuum. Realizing how much their find was worth, the Malaman government stocked up on the feared Antares Class Cruisers (coming soon), giving Malama one of the most feared military forces in existence. Because of this fact, in Malama can be found some of the most advanced equipment there is to have in the orbital Navy station. However, back to the ship. Malaman scientists examined the ship and built an exact replica, and after a few test flights, started mass producing it under the name the Cow Interceptor. Hoping to strike it rich (or, rather, richer), a shipyard was build just for the ship to promote sales. It was fast, maneuverable, and cheap. It turned to be a popular ship for pirates. In fact, so many of these were used by pirates, it became unpopular to the general public due to the high amount of deaths due to young Jamesons (especially the ones without a scanner targeting enhancement), who had always been informed of the high rate of pirate Cow Interceptors, and, had often mistakenly, and mercilessly, ended the lives of any Cow Interceptor to come into scanner range that was not yet at an average ranking.
All this oxp does is give a new player ship and NPC pirate ship available for use. There is still much more to be added in the future as I learn a bit more about oxp'ing.
http://www.box.net/shared/ejnt2yu0z4
Let me know of any problems. (sorry: no pictures!)
This oxp adds a small, yet powerful ship that can (or hopefully can) be used by npc's and players.
50 years back, a small derelict ship was found decaying quite a distance off the space lane of Malama. Apparently, it hadn't been touched for hundreds of years. Upon inspection, it was found that all cargo was intact, and what was there was billions of credits worth of antimatter, preserved and suspended in a perfect vacuum. Realizing how much their find was worth, the Malaman government stocked up on the feared Antares Class Cruisers (coming soon), giving Malama one of the most feared military forces in existence. Because of this fact, in Malama can be found some of the most advanced equipment there is to have in the orbital Navy station. However, back to the ship. Malaman scientists examined the ship and built an exact replica, and after a few test flights, started mass producing it under the name the Cow Interceptor. Hoping to strike it rich (or, rather, richer), a shipyard was build just for the ship to promote sales. It was fast, maneuverable, and cheap. It turned to be a popular ship for pirates. In fact, so many of these were used by pirates, it became unpopular to the general public due to the high amount of deaths due to young Jamesons (especially the ones without a scanner targeting enhancement), who had always been informed of the high rate of pirate Cow Interceptors, and, had often mistakenly, and mercilessly, ended the lives of any Cow Interceptor to come into scanner range that was not yet at an average ranking.
All this oxp does is give a new player ship and NPC pirate ship available for use. There is still much more to be added in the future as I learn a bit more about oxp'ing.
Last edited by Cows on Wed Oct 28, 2009 11:05 pm, edited 3 times in total.
- CheeseRedux
- ---- E L I T E ----
- Posts: 827
- Joined: Fri Oct 02, 2009 6:50 pm
Re: Cow Interceptor (I know it's a dumb name [get over it!])
Only the tiniest of problems: You forgot to tell me your box.net username & password.Cows wrote:Let me know of any problems.
"Actually this is a common misconception... I do *not* in fact have a lot of time on my hands at all! I just have a very very very very bad sense of priorities."
--Dean C Engelhardt
--Dean C Engelhardt
..or maybe go to all files, and click the blue Share (or Shared) next to the file name to get the actual download link...
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
- CheeseRedux
- ---- E L I T E ----
- Posts: 827
- Joined: Fri Oct 02, 2009 6:50 pm
- CheeseRedux
- ---- E L I T E ----
- Posts: 827
- Joined: Fri Oct 02, 2009 6:50 pm
I've had a peek at this now.
From my rudimentary understanding of how things work, it looks to me like it's included as a NPC ship only.
Or am I just getting confused looking at the shipdata.plist?
I tried hacking a savefile to get the ship as the player ship (using the same method I've succeeded with in the past; replacing old ship name with new ship name in 3 places), but get the error message that the oxp is not installed.
I do like this bit though: laser_color = brownColor
Is this a high tech version of shooting the shit?
From my rudimentary understanding of how things work, it looks to me like it's included as a NPC ship only.
Or am I just getting confused looking at the shipdata.plist?
I tried hacking a savefile to get the ship as the player ship (using the same method I've succeeded with in the past; replacing old ship name with new ship name in 3 places), but get the error message that the oxp is not installed.
I do like this bit though: laser_color = brownColor
Is this a high tech version of shooting the shit?
"Actually this is a common misconception... I do *not* in fact have a lot of time on my hands at all! I just have a very very very very bad sense of priorities."
--Dean C Engelhardt
--Dean C Engelhardt
- Lestradae
- ---- E L I T E ----
- Posts: 3095
- Joined: Tue Apr 17, 2007 10:30 pm
- Location: Vienna, Austria
..
Hi Cows,
CheeseRedux is quite correct. You need a separate entry in shipdata.plist for your player version - with the same internal namekey as in the shipyard.plist. Atm it's not working as a player ship, but will appear as a pirate NPC ship. And you should keep the version with the "player" role separate from the one with the "pirate" role also.
Hope that helps, good luck
L
CheeseRedux is quite correct. You need a separate entry in shipdata.plist for your player version - with the same internal namekey as in the shipyard.plist. Atm it's not working as a player ship, but will appear as a pirate NPC ship. And you should keep the version with the "player" role separate from the one with the "pirate" role also.
Hope that helps, good luck
L
- ClymAngus
- ---- E L I T E ----
- Posts: 2514
- Joined: Tue Jul 08, 2008 12:31 am
- Location: London England
- Contact:
Does that mean if you shoot at this ship you'll get a pat on the head?CheeseRedux wrote:I do like this bit though: laser_color = brownColor
Is this a high tech version of shooting the shit?
Still the shields are good, most laser fire just skimmed off it, well semi-skimmed anyway.
Can someone get this into dry dock so we can take a look at this bad ass bovine?
- 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:
Unfortunately not. Dry Dock quits with an error when trying to open the model. It seems the dat-file isn't quite correct.ClymAngus wrote:Can someone get this into dry dock so we can take a look at this bad ass bovine?
Reason: the complete "TEXTURES" part is missing. So ATM there is no texture defined for this ship. Makes it kind of hard viewing it...
@ Cows: something seems to have gone wrong when you exported from Wings3d (or whatever you used to model, and especially texture your ship). No textures were exported. Please try again.
Furthermore, a word about file names and their uniqueness: oofighter.dat and oofighter-texture.png are not good choices of filenames. You should at least precede the name of the OXP or your own name, in order to avoid name conflicts with other OXPs. Like cows-oofighter.dat. It is much more unlikely that somebody else will choose this name again. As you name the ship "Cow_Interceptor" in its shipdata, I don't see why you don't call the model "Cow_Interceptor.dat", and the texture alike. Wouldn't it be much better to give the model and texture the same name as the actual ship?
Even further, the shipdata.plist is broken as well. Oolite won't open and use it in the first place. Replacing the opening brackets "{" with closing ones "}" in the end certainly wouldn't hurt. Then put an ";" behind the first closing bracket. And finally a "=" between "Cow_Interceptor" and "{".
If you do all these, at least Oolite will recognize your plist at all and you get a chance of actually seeing your ship. Makes me wonder whether you even tried to playtest it, before you uploaded it? You would immediatly have seen that there are a couple of serious bugs.
After you corrected the showstopping bugs, you should spend some more thoughts about the actual content of your shipdata. For instance "interceptorAI.plist" makes no sense as an AI. It is not a generic AI for any ship, but only an AI some kinds of ships switch to during attack. As soon as the attack is finished, they return to their original AIs, which in case of your ship would be ...? Something else: The shipdata specify a non-existing model "Oofighter.dat"; the model actually is called "oofighter.dat" (note well: for a computer "O" is not at all the same as "o"). And it doesn't have a legal role. "Pirate" doesn't exist, the generic role in Oolite is "pirate". Oh, and if you want your ship to be called as a pirate by the game, you either have to give it "pirateAI.plist" as an AI, or to set the "auto_ai" key to "true", preferably both.
All in all: I'm sorry, but it's "back to the drawing board" for this one.
pretty big sob .model size: 826.593 x 73.117 x 729.597
And no texturing - you need to do UV-mapping before exporting the ship to .obj. And after convering the .obj to .dat (using obj2dattex.py), you need to edit all texture references to correct .png entries.
In shipdata.plist you can duplicate your "Cow_Interceptor" data as "Cow_Interceptor-player" with some additions (check Oolite\oolite.app\Resources\Config\shipdat.plist and *-player -entries for which lines to add) and change the shipyard.plist entry to "Cow_Interceptor-player" too.
EDIT: pay heed first and to all that Commander McLane posted
...and keep it under lightspeed!
Friendliest Meteor Police that side of Riedquat
Far Arm ships
Z-ships
Baakili Far Trader
Tin of SPAM
Friendliest Meteor Police that side of Riedquat
Far Arm ships
Z-ships
Baakili Far Trader
Tin of SPAM
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
But I like the name.
Here in the Netherlands we got many cows. Nice to have a cow-interceptor then
Here in the Netherlands we got many cows. Nice to have a cow-interceptor then
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
Hmm...
It worked for me just fine. I must have uploaded an older file to Box. I'll have a check through that.
I'll have the real file up within the next 24 hours or something like that.
It worked for me just fine. I must have uploaded an older file to Box. I'll have a check through that.
Really? that's meters, right? It's going to shrink by a factor of ten (or something like that).model size: 826.593 x 73.117 x 729.597
I'll have the real file up within the next 24 hours or something like that.