View Single Post
  #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