.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: Starfury

Reply
 
Thread Tools Display Modes
  #1  
Old December 12th, 2003, 12:41 AM

bearclaw bearclaw is offline
Captain
 
Join Date: Oct 2001
Location: Prince George BC, Canada
Posts: 840
Thanks: 0
Thanked 0 Times in 0 Posts
bearclaw is on a distinguished road
Default Custom Ship Pics

I'm interested in trying my hand at making some ships for the game. X-wings and Y-wings in particular. Where do I begin?
__________________
Nick (bearclaw)
You don't know the Power of the Dark Side. I must obey my Master.
Potestatem obscuri lateris nescitis
A+ Se+++ GdY $++ Fr- C+ Csp Sf* AuO M++ MpTFdAM St RTNH Pw++ Fq++ Nd++ Rp++ G++ Mm++ Bb++ L+ Tcp-
Reply With Quote
  #2  
Old December 12th, 2003, 02:03 AM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Custom Ship Pics

First thing would be to get a 3D mesh model of the ship.
Render an overhead Black&White view at resolutions of...
80x102 - for the mini status window (shieldlayout_X.bmp)
548x700 - for the big spacedock view (shipportrait_x.bmp)
350x210 - Full color, shallow side angle view with the ship facing the bottom left. (ShipportraitProfile_X.bmp)

Then you convert the model to or export it as a .X file

...That's about where my knowledge ends, we'll have to wait for a guru to come wandering by...
At this point, what you'll probably end up with is a ghost-white ship of the correct shape at least. The gurus will help you make it look pretty.
It does pick up again once you've got all the model and texture files done.

Go into your SpaceObjects_XFiles.txt file.
Copy an entry, and change the values to suit.

Someone suggested making a little ball in your modeler, moving it to where you want, and then reading off the coordinates in your modeler to get the numbers you need for the XYZ coords of firing points, engine flares and other bits that go in here.

Download my slotmodder from http://imagemodserver.mine.nu/starfury OR Just skip this, and use one of the existing slot configs, such as the "Terran Destroyer Layout"
1) Fire it up.
2) Under the Background menu, load your big shipportrait that you made earlier.
3) Click add new slot. (CTRL-N)
4) Click and drag the slot around over top of your portrait and place it in a nice spot.
5) Fill in the slot info starting with Slot Name, and going down to the hardpoint/arc entries.
If you aren't sure about a slot name, make it the same as the comp type.
The hardpoints are the ones you made earlier in the spaceobjects_xfiles.txt
6) Go back to step 3 and repeat until you have enough slots.
Be sure to have at least one engine slot.
7) All done with the slots?
Choose a name for this layout, preferably one that won't overwrite an existing ship layout.
8) File -> Save (NOT Export)
This opens a nice familiar dialog box. Find the main_componentconfigurationslots file you want to add this to, select it and hit save.
9) Add some more hulls if you like, or File -> Open to look at some other ship layouts.

Now you've got a slot layout, and a model.
We can now put those together to make a ship.
Choose from main_purchaseshipsEnemy, purchaseshipsPlayer, and StartingPlayerships.

Copy an entry, and fill in your name description, etc.
Be sure to change the spaceobject Xfile name to match what you gave it in the spaceobjects_Xfiles, and the configuration slots should match the name you saved in the slotmodder.
Set the pictures to the names you rendered at the beginning.
Set the sellers to the places where this ship should be buyable...
Fill in all the basic stats...
Set the viewing distance for the camera views...
And then finally tweak the starting configuration slots to match the types of components you want to be standard on this ship with the slots you want them to be in.

For a startingplayerships ship, you MUST have at least one component, or its instant death since you have no hitpoints without components.

Load and play.

[ December 12, 2003, 02:33: Message edited by: Suicide Junkie ]
Reply With Quote
  #3  
Old December 12th, 2003, 05:26 PM
Wydraz's Avatar

Wydraz Wydraz is offline
Sergeant
 
Join Date: Jun 2003
Posts: 214
Thanks: 0
Thanked 0 Times in 0 Posts
Wydraz is on a distinguished road
Default Re: Custom Ship Pics

The methodology I have used to successfully create models for SF follows. Your mileage may vary.

I cannot teach you how to model or make graphics, but I can tell you the programs I used and the proceedures to get the files you need.

Anim8or is a free download at http://www.anim8or.com
Get the free Version of LithUnwrap at http://files.seriouszone.com/download.php?fileid=198

In Anim8or:
View >All
Create a box or other shape
Tip: Double-click the object to set size (and to add subdivisions for a box).
A Length of 1000 (Z-axis) is about the size of a destroyer, but this size is unwieldy in Anim8or; use 1/10 scale (length of 100). We'll scale it up before exporting later (you can also rescale in SESF SpaceObjects_XFiles.txt).

Create the model (the hard part).
Tip: Build >Convert to Mesh.. to edit shape using object editing tools.
Tip: Options >Grid: Enable Snap.. to Grid with Spacing of 5.

Save your model.
When it is ready:
Edit >Rotate >Rotate Custom >x-axis: enter -90 (or you can rotate in SpaceObjects_XFiles.txt).
Click the UV button in the toolbar to make the yellow ring appear around your model.
Edit >Scale >Scale Custom: 10x (this will fill the screen with the model, and you may want to re-adjust the camera views).
Object >Export.. model from anim8or as 3ds file.

In LithUnwrap:

File >Model >Open.. your .3ds
Select >All
Tools >UV Mapping >Box (check apply spacing)
If necessary:
View >Zoom >Free
Edit >Scale >Free.. to fit the model map into the square.
File >UV Map >Save.. your bitmap

Expand the Material branch in tree in right panel and double-click default material;
(Material Properties) Select Bitmap under Diffuse Map, click Properties;
(Diffuse Map Properties) click change, select your bitmap.

File >Model >Save.. your model as .x (text, uncheck compressed).

In your Text Editor:
Edit the SpaceObjects_XFiles.txt file to give the ship the proper hardpoints and engine glows.
(so far, this as been trial and error for me)

In your Paint Program:
Change bitmap to suit.
Reload model in LithUnwrap and Preview.

Once the model looks as you prefer, copy the .x file to the XFiles folder of your mod, and the texture .bmp file to your Images folder. You now have a new ship! You'll need to edit the ship data files, of course (such as the Main_PurchaseShipsPlayer.txt or Main_StartingPlayerShips.txt, at least). Good luck!

I copied a lot of other ship text files to make the ship playable. SJ's Slot Modding Utils is really useful here.
__________________
Weird Worlds Rocks!
Reply With Quote
  #4  
Old December 13th, 2003, 12:43 AM

bearclaw bearclaw is offline
Captain
 
Join Date: Oct 2001
Location: Prince George BC, Canada
Posts: 840
Thanks: 0
Thanked 0 Times in 0 Posts
bearclaw is on a distinguished road
Default Re: Custom Ship Pics

Thanks. Gives me a place to start at least. But I couldn't download the LithUnWrap program anywhere. The link goes to a description but no download option.
__________________
Nick (bearclaw)
You don't know the Power of the Dark Side. I must obey my Master.
Potestatem obscuri lateris nescitis
A+ Se+++ GdY $++ Fr- C+ Csp Sf* AuO M++ MpTFdAM St RTNH Pw++ Fq++ Nd++ Rp++ G++ Mm++ Bb++ L+ Tcp-
Reply With Quote
  #5  
Old December 13th, 2003, 12:58 AM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: Custom Ship Pics

That would be because its been replaced by a pay progam. You can still find the free Lithunwrap, but you have to dig a little more..lost the link or I'd send you right to it.

EDIT: and, um, if you check that link you'll see several download mirrors..scroll down.

[ December 12, 2003, 22:59: Message edited by: Phoenix-D ]
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
Reply With Quote
  #6  
Old December 13th, 2003, 02:17 AM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default Re: Custom Ship Pics

Have you tried a program called simply UV Mapper? There's a free Version and a pay Version... it's fairly old and it only works on .obj files, but it's worth a look: www.uvmapper.com
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote
  #7  
Old December 15th, 2003, 06:15 AM

bearclaw bearclaw is offline
Captain
 
Join Date: Oct 2001
Location: Prince George BC, Canada
Posts: 840
Thanks: 0
Thanked 0 Times in 0 Posts
bearclaw is on a distinguished road
Default Re: Custom Ship Pics

Quote:
Originally posted by Phoenix-D:

EDIT: and, um, if you check that link you'll see several download mirrors..scroll down.
yeah, checked all of those too.
__________________
Nick (bearclaw)
You don't know the Power of the Dark Side. I must obey my Master.
Potestatem obscuri lateris nescitis
A+ Se+++ GdY $++ Fr- C+ Csp Sf* AuO M++ MpTFdAM St RTNH Pw++ Fq++ Nd++ Rp++ G++ Mm++ Bb++ L+ Tcp-
Reply With Quote
  #8  
Old December 15th, 2003, 06:33 AM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: Custom Ship Pics

Then you didn't look close enough, because I just grabbed Lithunwrap 1.3 from the Filefront mirror. Direct from that link.
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
Reply With Quote
  #9  
Old December 15th, 2003, 10:22 PM

bearclaw bearclaw is offline
Captain
 
Join Date: Oct 2001
Location: Prince George BC, Canada
Posts: 840
Thanks: 0
Thanked 0 Times in 0 Posts
bearclaw is on a distinguished road
Default Re: Custom Ship Pics

Quote:
Originally posted by Phoenix-D:
Then you didn't look close enough, because I just grabbed Lithunwrap 1.3 from the Filefront mirror. Direct from that link.
hmmm... something must be up. I tried again and still couldn't. Either I'm totally banana's or... I'm totally nuts...
__________________
Nick (bearclaw)
You don't know the Power of the Dark Side. I must obey my Master.
Potestatem obscuri lateris nescitis
A+ Se+++ GdY $++ Fr- C+ Csp Sf* AuO M++ MpTFdAM St RTNH Pw++ Fq++ Nd++ Rp++ G++ Mm++ Bb++ L+ Tcp-
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 06:41 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.