The Shipyard at the End of the Ooniverse. Modeller's bit.

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

Moderators: another_commander, winston

User avatar
Shipbuilder
---- E L I T E ----
---- E L I T E ----
Posts: 877
Joined: Thu May 10, 2012 9:41 pm
Location: Derby

Re: The Shipyard at the End of the Ooniverse. Modeller's b

Post by Shipbuilder »

Rese249er - I'm not sure exactly what you are asking here, (It may be me being a little dense), however if you are looking to produce a ship oxp you will need a minimum of the following: -

1) A folder such as addyourshipnamehere.oxp
2) In the addyourshipnamehere.oxp folder you need 3 subfolders as noted in items 3 to 5 below.
3) A Config File containing a demoships.plist, a shipdata.plist and a shipyard.plist (The shipyard.plist is only needed if the ship is to be available to players).
4) A Models file containing the .dat model file,
5) A Textures file containing you guessed it the texture – This needs to be in PNG format.

You can add further items such as scripts and specific AI to alter the behaviour but these are not needed for a basic ship oxp (I would suggested producing a oxp without additional scripts and AI until you get up to speed with putting together a basic oxp or two).

Hope that this is what you were looking for.

I am also thinking of uploading a template ship oxp that can be downloaded which will have all the basics in place. The idea being that new ship oxp designers can download this and then simply tweak what is provided, (and create the .dat file and texture file), rather than searching around to put all the components together. That way I think that it will give a good helping hand to those just getting started.
Last edited by Shipbuilder on Sun Mar 03, 2013 11:14 am, edited 1 time in total.
The GalTech Industries Corporation - Building ships to populate the galaxies.

Increase the variety of ships within your Ooniverse by downloading my OXPs

Flying the [wiki]Serpent_Class_Cruiser[/wiki] "Thargoid's Bane"
User avatar
Rese249er
---- E L I T E ----
---- E L I T E ----
Posts: 647
Joined: Thu Jun 07, 2012 2:19 pm
Location: Well, I WAS in G3...

Re: The Shipyard at the End of the Ooniverse. Modeller's b

Post by Rese249er »

I was planning on barebones approach, but making a few different ones. Main difference is high cargo cap, multiple turrets with high power and slow rate of fire on said turrets.
Got all turned around, lost my nav connection... Where am I now?
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: The Shipyard at the End of the Ooniverse. Modeller's b

Post by Smivs »

Shipbuilder wrote:
I am also thinking of uploading a template ship oxp that can be downloaded which will have all the basics in place.
The best 'template' to use are the files in the Oolite 'Resources' folder...the ones for the actual core game. For example the core game's shipdata already contains all the data for all the core ships, from the humble shuttle right up to the Cobra 3 and Boa Class Cruiser.
There is almost certainly something in there very close to what you are planning to produce, so editing will be minimal. Likewise for the shipyard.plist.
These are also correctly laid out using Openstep (the preferred 'language' for these files) and are bug-free.
Also the 'Resources' folder contains every other plist, and the AIs and scripts for the game which are a valuable resource for anyone starting to learn this stuff.
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Rese249er
---- E L I T E ----
---- E L I T E ----
Posts: 647
Joined: Thu Jun 07, 2012 2:19 pm
Location: Well, I WAS in G3...

Re: The Shipyard at the End of the Ooniverse. Modeller's b

Post by Rese249er »

Thanks. I was already planning on cannibalizing... er, repurposing plenty of script.
Got all turned around, lost my nav connection... Where am I now?
User avatar
Tricky
---- E L I T E ----
---- E L I T E ----
Posts: 821
Joined: Sun May 13, 2012 11:12 pm
Location: Bradford, UK. (Anarchic)

Re: The Shipyard at the End of the Ooniverse. Modeller's b

Post by Tricky »

Rese249er wrote:
Thanks. I was already planning on cannibalizing... er, repurposing plenty of script.
like_ship is your friend. It will copy all the stats of the clone ship and then you just change properties to your liking.
User avatar
Rese249er
---- E L I T E ----
---- E L I T E ----
Posts: 647
Joined: Thu Jun 07, 2012 2:19 pm
Location: Well, I WAS in G3...

Re: The Shipyard at the End of the Ooniverse. Modeller's b

Post by Rese249er »

Will definitely be making use of that when I can get a .dat and texture files out of the wings file.
Got all turned around, lost my nav connection... Where am I now?
User avatar
Capt. Murphy
Commodore
Commodore
Posts: 1127
Joined: Fri Feb 25, 2011 8:46 am
Location: UK South Coast.

Re: The Shipyard at the End of the Ooniverse. Modeller's b

Post by Capt. Murphy »

Rese249er wrote:
Will definitely be making use of that when I can get a .dat and texture files out of the wings file.
Are you following the instructions from [wiki]OXP_howto_model[/wiki]. Should work fine. Double check with version of Python you've installed - the scripts are for Python 2.x not for 3.x. You have to have the conversion script in the same folder as the Wings3D .obj.
[EliteWiki] Capt. Murphy's OXPs
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
User avatar
Shipbuilder
---- E L I T E ----
---- E L I T E ----
Posts: 877
Joined: Thu May 10, 2012 9:41 pm
Location: Derby

Re: The Shipyard at the End of the Ooniverse. Modeller's b

Post by Shipbuilder »

Rese249er wrote:
Will definitely be making use of that when I can get a .dat and texture files out of the wings file.
Rese249er – A .obj to .dat file converter is available for download here

https://www.box.com/s/0fb1e622b354f472cc80

To produce the .dat file for you model: -

1) Unzip the folder.
2) Put a copy of your .obj and .mlt files that Wings 3D produces in to the folder.
3) Open the Convert batch file up with your text editor and replace the addyourshipnamehere text with the exact name of your ship.
4) For example if your .obj file is called scoutship.obj see the example below.
5) Now double click the Convert file and it will produce the .dat file for your model.

Example as noted in item 4 above:-
Obj2Dattex.py addyourshipnamehere.ob is changed to Obj2Dattex.py scoutship.ob
The GalTech Industries Corporation - Building ships to populate the galaxies.

Increase the variety of ships within your Ooniverse by downloading my OXPs

Flying the [wiki]Serpent_Class_Cruiser[/wiki] "Thargoid's Bane"
User avatar
Rese249er
---- E L I T E ----
---- E L I T E ----
Posts: 647
Joined: Thu Jun 07, 2012 2:19 pm
Location: Well, I WAS in G3...

Re: The Shipyard at the End of the Ooniverse. Modeller's b

Post by Rese249er »

Will do.
Got all turned around, lost my nav connection... Where am I now?
User avatar
Rese249er
---- E L I T E ----
---- E L I T E ----
Posts: 647
Joined: Thu Jun 07, 2012 2:19 pm
Location: Well, I WAS in G3...

Re: The Shipyard at the End of the Ooniverse. Modeller's b

Post by Rese249er »

Code: Select all

dudeman@dudeman-AOA150:~$ cd /Home/.Oolite/Addons/zz/.obj to .dat converter
bash: cd: /Home/.Oolite/Addons/zz/.obj: No such file or directory
dudeman@dudeman-AOA150:~$ cd /Home/.Oolite/Addons/zz/.obj_to_.dat_converter
bash: cd: /Home/.Oolite/Addons/zz/.obj_to_.dat_converter: No such file or directory
dudeman@dudeman-AOA150:~$ cd /home/dudeman/.Oolite/AddOns/zz
dudeman@dudeman-AOA150:~/.Oolite/AddOns/zz$ Obj2DatTex.py 249rdg.obj
Obj2DatTex.py: command not found
Using Ubuntu 12.04, checking Python status.
Got all turned around, lost my nav connection... Where am I now?
User avatar
Tricky
---- E L I T E ----
---- E L I T E ----
Posts: 821
Joined: Sun May 13, 2012 11:12 pm
Location: Bradford, UK. (Anarchic)

Re: The Shipyard at the End of the Ooniverse. Modeller's b

Post by Tricky »

Rese249er wrote:

Code: Select all

dudeman@dudeman-AOA150:~$ cd /Home/.Oolite/Addons/zz/.obj to .dat converter
bash: cd: /Home/.Oolite/Addons/zz/.obj: No such file or directory
dudeman@dudeman-AOA150:~$ cd /Home/.Oolite/Addons/zz/.obj_to_.dat_converter
bash: cd: /Home/.Oolite/Addons/zz/.obj_to_.dat_converter: No such file or directory
dudeman@dudeman-AOA150:~$ cd /home/dudeman/.Oolite/AddOns/zz
dudeman@dudeman-AOA150:~/.Oolite/AddOns/zz$ Obj2DatTex.py 249rdg.obj
Obj2DatTex.py: command not found
Using Ubuntu 12.04, checking Python status.
Paths.

Try...

./Obj2DatTex.py 249rdg.obj
User avatar
Rese249er
---- E L I T E ----
---- E L I T E ----
Posts: 647
Joined: Thu Jun 07, 2012 2:19 pm
Location: Well, I WAS in G3...

Re: The Shipyard at the End of the Ooniverse. Modeller's b

Post by Rese249er »

Code: Select all

dudeman@dudeman-AOA150:~/.Oolite/AddOns/zz$ ./Obj2DatTex.py 249rdg.obj
bash: ./Obj2DatTex.py: No such file or directory
Got all turned around, lost my nav connection... Where am I now?
User avatar
Shipbuilder
---- E L I T E ----
---- E L I T E ----
Posts: 877
Joined: Thu May 10, 2012 9:41 pm
Location: Derby

Re: The Shipyard at the End of the Ooniverse. Modeller's b

Post by Shipbuilder »

I just thought that it was worth me mentioning that following some discussions with Svengali I was pointed towards some software called OptiPNG which can be used to greatly reduce the size of texture files without any noticeable reduction in the quality of the appearance.

I understand that this software is listed in the List of Software on the Wiki but thought that as I had missed it so may have others.

It is a great piece of free to download software. Simply download from the site, open the OptPNG folder and drop your .png file in to the application. A few few seconds later your .png file is ‘spat’ out greatly reduced size.

Thanks for that Svengali :D
Last edited by Shipbuilder on Mon Jul 16, 2012 9:14 pm, edited 1 time in total.
The GalTech Industries Corporation - Building ships to populate the galaxies.

Increase the variety of ships within your Ooniverse by downloading my OXPs

Flying the [wiki]Serpent_Class_Cruiser[/wiki] "Thargoid's Bane"
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: The Shipyard at the End of the Ooniverse. Modeller's b

Post by JensAyton »

Shipbuilder wrote:
without any noticeable reduction in the quality of the appearance.
Correction: without any change in appearance at all.
Paradox
---- E L I T E ----
---- E L I T E ----
Posts: 607
Joined: Wed Feb 20, 2013 1:24 am
Location: Aboard the D.T.T Snake Charmer: My Xanadu
Contact:

Re: The Shipyard at the End of the Ooniverse. Modeller's b

Post by Paradox »

I found oolite about a week and a half ago, and now that I hit the "Dangerous" mark, I thought it was time to start customizing... It's taken 3 days to get to this point, but I thought I would show off my first project. This took a day and a half to model and slice/texture (I HATE slicing and texturing! }:]) and another day and a half to read through hundreds of messages and threads to find all the information I needed to actually get it into the game (we REALLY need an up to date, complete, beginning to end tutorial for this...). It still needs work to get exhaust in the right place etc.. you know how that goes, but it did show up in the game on my very first try! I must admit, it's quite a proud moment when you fire up the game and change to your hacked save game, and there it spins in all it's glory. }:] Anyways, here is the Megalodon Class Cargo/Fighter:

She's approx 24m wide x 20m high x 50m long, modeled with 4 missiles and front and rear lasers...
From Wings3d:
Image

From in game:
Image


Landing gear and "pilot" not included! }:] I did find that adding a human figure and scaling him to 1.85 (So he's close to 6 feet) meters, really helps with scaling the ship and getting an idea of ship size and proportions.

My computer doesn't handle all the fancy texturing stuff, so this will be diffuse texture only.

I would really like some input as to cargo capacity, speed, maneuverability etc, should be set to... I see a lot of diverse ships but some small fighter looking ships have large cargo capacities and then some large looking ship are the opposite... Is there some way to determine the "size" of the average "ton" to help us determine specs?

Oh ya, did I forget to mention... "It's a shark with a frickin' laser on it's head!" };]
Post Reply