View Single Post
  #2  
Old April 1st, 2007, 03:53 AM

Docwho Docwho is offline
BANNED USER
 
Join Date: Nov 2006
Location: Mars
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Docwho is on a distinguished road
Default Re: QA on Planets and new sizes and new types.

Sizes....


Need to modify PlanetSize.txt, StellarObjectTypes.txt, SystemTypes.txt.

Start with the PlanetSize.txt. Add your new size there. like the following.

Name := Giant (New size)
Physical Type := Planet (Should be Planet. But you could use someother things.)
Stellar Size := Huge(This is under xfile again so Leave alone. I think.)
Max Population := 36000
Max Facility Space := 100000
Max Cargo Space := 64000
Max Supply Storage := 160000
Max Ordnance Storage := 160000
Domed Max Population := 3000
Domed Max Facility Space := 20000
Domed Max Cargo Space := 16000
Domed Max Supply Storage := 32000
Domed Max Ordnance Storage := 32000
Constructed := False (Constructed would mean adding new components to the components file)
Special Ability ID := 0 (The id use to make sure the right stuff is on hand for making a Constructed planet)


that is the start of it. The next thing is to add the new size in the StellarObjectTypes.txt.

Stellar Object Name := Planet Gas Ringed 0001 Giant
Physical Type := Planet
XFile Class Name := Planet Ringed 0001 Huge
Maximum Model Size := 24.0126
Hex Size := 1
Picture Index := 356
Portrait Filename := planet_gas_ringed_0001_huge.bmp
Large Portrait Filename := planet_gas_ringed_0001_huge_lp.jpg
Description :=
Planet Size := Giant (This line is the only one you would need to change if you wanted to add new sizes. Copy and paste then modify)
Planet Physical Type := Gas Giant
Planet Atmosphere := Carbon Dioxide
Planet Gravity := Formula Planet Gravity
Planet Temperature := Formula Planet Temperature
Planet Radiation := Formula Planet Radiation
Planet Surface Empty := PlanetSurface_Gas_Carbon_Empty.bmp
Planet Surface Colonized := PlanetSurface_Gas_Carbon_Colonized.bmp

Ok that make it so you have pictures with your new planet size.

Now to make it so that they will show up in the game. under the Systemtypes.txt

Chance Type 1 Number of Any Planet Sizes := 8 (Number of sizes to be made)
Chance Type 1 Any Size 1 Type := Tiny
Chance Type 1 Any Size 1 Chance := 9
Chance Type 1 Any Size 2 Type := Small
Chance Type 1 Any Size 2 Chance := 14
Chance Type 1 Any Size 3 Type := Medium
Chance Type 1 Any Size 3 Chance := 19
Chance Type 1 Any Size 4 Type := Large
Chance Type 1 Any Size 4 Chance := 20
Chance Type 1 Any Size 5 Type := Huge
Chance Type 1 Any Size 5 Chance := 30
Chance Type 1 Any Size 6 Type := Giant (Should be add a number 6 size like so)
Chance Type 1 Any Size 6 Chance := 5
Chance Type 1 Any Size 7 Type := Old SphereWorld (Testing this trying to make spheres and rings show up in the game to start)
Chance Type 1 Any Size 7 Chance := 30
Chance Type 1 Any Size 8 Type := Old RingWorld (Testing this trying to make spheres and rings show up in the game to start)
Chance Type 1 Any Size 8 Chance := 30


And that is how to add new sizes to the game. (Ring and sphere are not adding for some reason right now. Still testing them)

Atmospheres are next. Plaese note this has not been tested by me.
Reply With Quote