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

This Month's Specials

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

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V > SEV Modders Knowledge Base

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old March 23rd, 2007, 01:44 AM

zero zero is offline
Private
 
Join Date: Mar 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
zero is on a distinguished road
Default Re: making a new planet class....?

so far ive added a new class in planetsize.txt, change the systemtype.txt to include the class just added

Chance Type 1 Any Size 6 Type := Gigantic
Chance Type 1 Any Size 6 Chance := 20

then i copied and pasted planets in stellerobjectstype.txt to have that class ex..


Stellar Object Name := Planet Ice 9004 Gigantic
Physical Type := Planet
XFile Class Name := Planet Ice 9004 Gigantic
Maximum Model Size := 17.0
Hex Size := 1
Picture Index := 171
Portrait Filename := planet_ice_9004_gigantic.bmp
Large Portrait Filename := planet_ice_9004_gigantic_lp.jpg
Description :=
Planet Size := Gigantic
Planet Physical Type := Ice
Planet Atmosphere := Hydrogen
Planet Gravity := Formula Planet Gravity
Planet Temperature := Formula Planet Temperature
Planet Radiation := Formula Planet Radiation
Planet Surface Empty := PlanetSurface_Ice_Hydrogen_Empty.bmp
Planet Surface Colonized := PlanetSurface_Ice_Hydrogen_Colonized.bmp

and lastly i added some entry in xfileclasses.txt


Name := Planet Ice 9004 Gigantic
XFile := Planet1000.x
Override Texture Filename := planet_ice_9004_gigantic.bmp
Base Model Radius := 2.0
Starting Rotate X := 50
Starting Rotate Y := 0
Starting Rotate Z := 25
Starting Scale X := 8
Starting Scale Y := 8
Starting Scale Z := 8
Starting Position Offset X := 0
Starting Position Offset Y := 0
Starting Position Offset Z := 0
Continual Rotation Vector X := 0
Continual Rotation Vector Y := 0
Continual Rotation Vector Z := 25
Continual Rotation Speed := 0.0001

is the picture index important?? Because that the only thing i did not change, or don't know how to go about it.
Reply With Quote
 

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 05:13 AM.


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