Change Ship Size (Dimensions)
Moderators: winston, another_commander
-
- Mostly Harmless
- Posts: 3
- Joined: Sun Feb 27, 2011 8:19 pm
Change Ship Size (Dimensions)
I am new to oolite. How does one change a ships size (exterior dimensions) from an .oxp? sounds like cheating, but i am starting with modifying existing oxp's before designing my own. thank you for any input.
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Change Ship Size (Dimensions)
Hi woody22075, and welcome to the friendliest board this side of Riedquat.
I'm afraid you can't change the ship dimensions as they are dependent on the model used. You'd have to start from scratch and make a new model if you wanted a 'bigger' version of anything.
I'm afraid you can't change the ship dimensions as they are dependent on the model used. You'd have to start from scratch and make a new model if you wanted a 'bigger' version of anything.
Commander Smivs, the friendliest Gourd this side of Riedquat.
-
- Mostly Harmless
- Posts: 3
- Joined: Sun Feb 27, 2011 8:19 pm
Re: Change Ship Size (Dimensions)
But couldn't I change the dimensions of a current model (from an add on oxp)? thanks again for your input. Also, what is the easiest way for a new ship designer to design a ship?
- 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:
Re: Change Ship Size (Dimensions)
Hi, woody22075, and first of all welcome to the boards, and of course to this great game!
With this software you can either design new ships from scratch, or take an existing ship model and modify it (e.g. by shrinking it).
You will also need a conversion tool, in order to convert from the format your 3d-software is using to the .dat-format used by Oolite and back.
The Elite Wiki has plenty of information about all this, but unfortunately it is currently off-line. We're waiting for it to get restored.
The answer to both questions is the same: you need a 3d-model design software, for instance Wings3D (many of our ship designers are using it, but others prefer other software).woody22075 wrote:But couldn't I change the dimensions of a current model (from an add on oxp)? thanks again for your input. Also, what is the easiest way for a new ship designer to design a ship?
With this software you can either design new ships from scratch, or take an existing ship model and modify it (e.g. by shrinking it).
You will also need a conversion tool, in order to convert from the format your 3d-software is using to the .dat-format used by Oolite and back.
The Elite Wiki has plenty of information about all this, but unfortunately it is currently off-line. We're waiting for it to get restored.
-
- ---- E L I T E ----
- Posts: 471
- Joined: Sun Jan 23, 2011 9:27 pm
- Location: Belgium, Monarchy, Feudal, Overtaxed system
Re: Change Ship Size (Dimensions)
Hi Woody and welcome,
Sure you can.
Resizing and making a model (the 3d part) is actually pretty easy. It is making a texture that is hard. Guiding you step by step through making a model here would be beyond the scope of my message.
A) Basically you need these programs. (google them for the link)
3D part
- Wings 3d (free)
- Python (free )
- Dat2ObjTex.py and Obj2dat.py (http://svn.berlios.de/svnroot/repos/ool ... onverters/) to convert between dat and obj files and vice versa.
Skinning part
- photoshop, paint dot net, the gimp etc...
B) very basic knowledge of:
- 3d creation (make a cube or a brick and import it ingame)
- UV-mapping (flattening 3d to 2d to put a texture or skin on the 3d object)
- creating batch files or knowledge of dos commands (to convert from obj to dat and vice versa)
- image manipulation
C) imagination, precision and willpower.
You will swear often if things dont turn out in the beginning, but that is part of the learning process.
And finally a few little tips:
1)
You can open .dat and .obj files with a text editor (notepad, alleycode, dreamweaver). Lets say you have made a brick and put a texture on it in wings to bring it ingame. Make sure that all faces have a texture on them, and delete the faces on the INSIDE of the brick you are not going to be visible ingame. The conversion script will NOT add any texture to the .dat file at all if you don't and the texture will NOT show ingame.
2)
If you add light effects to your brick, make sure that you export the model with "hemispherical lighting" set as shader in wings3d. It is normally the default activated shader when you install wings 3d but should you change it to view it differently in wings be sure to put it back to hemispherical lighting under the VIEWS>SHADERS menu in wings.
If you don't your lighting will not work at all ingame.
Hope this puts you underway
Steve
Sure you can.
Resizing and making a model (the 3d part) is actually pretty easy. It is making a texture that is hard. Guiding you step by step through making a model here would be beyond the scope of my message.
A) Basically you need these programs. (google them for the link)
3D part
- Wings 3d (free)
- Python (free )
- Dat2ObjTex.py and Obj2dat.py (http://svn.berlios.de/svnroot/repos/ool ... onverters/) to convert between dat and obj files and vice versa.
Skinning part
- photoshop, paint dot net, the gimp etc...
B) very basic knowledge of:
- 3d creation (make a cube or a brick and import it ingame)
- UV-mapping (flattening 3d to 2d to put a texture or skin on the 3d object)
- creating batch files or knowledge of dos commands (to convert from obj to dat and vice versa)
- image manipulation
C) imagination, precision and willpower.
You will swear often if things dont turn out in the beginning, but that is part of the learning process.
And finally a few little tips:
1)
You can open .dat and .obj files with a text editor (notepad, alleycode, dreamweaver). Lets say you have made a brick and put a texture on it in wings to bring it ingame. Make sure that all faces have a texture on them, and delete the faces on the INSIDE of the brick you are not going to be visible ingame. The conversion script will NOT add any texture to the .dat file at all if you don't and the texture will NOT show ingame.
2)
If you add light effects to your brick, make sure that you export the model with "hemispherical lighting" set as shader in wings3d. It is normally the default activated shader when you install wings 3d but should you change it to view it differently in wings be sure to put it back to hemispherical lighting under the VIEWS>SHADERS menu in wings.
If you don't your lighting will not work at all ingame.
Hope this puts you underway
Steve
Alpha Backer of Elite Dangerous
With 250 GBP
With 250 GBP
- Griff
- Oolite 2 Art Director
- Posts: 2483
- Joined: Fri Jul 14, 2006 12:29 pm
- Location: Probably hugging his Air Fryer
Re: Change Ship Size (Dimensions)
There's also the DatScale.py script found in the link that dertien posted above
running that script on a .dat file will generate a rescaled copy of it, here's Ahrumans post that explains it's usage
https://bb.oolite.space/viewtopic.php?f=4&t=8145
I used it ages ago to rescale my asteroid models, if i remember correctly in Ahrumans example
the 4.2 on the end will scale up the model 4.2 times, so to shrink it down 50% you'd type
at least i think that's how it works, the dimensions are written in the newly generated .dat it spits out so you could always open it in a text editor and check it's at the size you want
running that script on a .dat file will generate a rescaled copy of it, here's Ahrumans post that explains it's usage
https://bb.oolite.space/viewtopic.php?f=4&t=8145
I used it ages ago to rescale my asteroid models, if i remember correctly in Ahrumans example
Code: Select all
DatScale.py foo.dat 4.2
Code: Select all
DatScale.py foo.dat 0.5
Wiki homepage for my OXP: http://wiki.alioth.net/index.php/Griff_Industries
-
- Mostly Harmless
- Posts: 3
- Joined: Sun Feb 27, 2011 8:19 pm
Re: Change Ship Size (Dimensions)
Thank you everyone for the super-fast responses! I very much enjoy playing oolite and look forwards to designing a ship for myself.
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Change Ship Size (Dimensions)
...and we're looking forward to seeing it.
Commander Smivs, the friendliest Gourd this side of Riedquat.
-
- ---- E L I T E ----
- Posts: 471
- Joined: Sun Jan 23, 2011 9:27 pm
- Location: Belgium, Monarchy, Feudal, Overtaxed system
Re: Change Ship Size (Dimensions)
Smivs wrote:...and we're looking forward to seeing it.
Yes we are !
Alpha Backer of Elite Dangerous
With 250 GBP
With 250 GBP
-
- ---- E L I T E ----
- Posts: 471
- Joined: Sun Jan 23, 2011 9:27 pm
- Location: Belgium, Monarchy, Feudal, Overtaxed system
Re: Change Ship Size (Dimensions)
Griff wrote:There's also the DatScale.py script found in the link that dertien posted above
running that script on a .dat file will generate a rescaled copy of it, here's Ahrumans post that explains it's usage
https://bb.oolite.space/viewtopic.php?f=4&t=8145
I used it ages ago to rescale my asteroid models, if i remember correctly in Ahrumans examplethe 4.2 on the end will scale up the model 4.2 times, so to shrink it down 50% you'd typeCode: Select all
DatScale.py foo.dat 4.2
at least i think that's how it works, the dimensions are written in the newly generated .dat it spits out so you could always open it in a text editor and check it's at the size you wantCode: Select all
DatScale.py foo.dat 0.5
Thanks for that Griff, Didn't know that.
Alpha Backer of Elite Dangerous
With 250 GBP
With 250 GBP