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

This Month's Specials

ATF: Armored Task Force- Save $8.00
War Plan Pacific- Save $8.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
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
  #2  
Old April 1st, 2007, 04:05 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.

Atmospheres from what I have seen in the date file this should make them work. (HAVE NOT HAD TIME TO TEST)

Bmp_AtmosphereTypes.bmp, AtmosphereTypes.txt, StellarObjectTypes.txt, and SystemTypes.txt

AtmosphereTypes.txt is where you need to start it looks like.

Name := None (Type)
Description :=
Picture Index := 1 (So your empire can start with it by clicking on the pic)
Allowed On Planet Physical Types := Rock, Ice (What they of planets this atmosphere is found on.)

Then to the Stellarobjecttypes.txt to add it into the game.

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
Planet Physical Type := Gas Giant
Planet Atmosphere := Carbon Dioxide (Change this to the new type of Atmo you want)
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

then to the systemtypes.txt.

Chance Type 1 Number of Any Planet Atmospheres := 5 (Chang to 6 if you are adding new 1 new one atmo higher if you are adding more)
Chance Type 1 Any Atmos 1 Type := None (Type)
Chance Type 1 Any Atmos 1 Chance := 20 (% of coming up)
Chance Type 1 Any Atmos 2 Type := Methane (Type)
Chance Type 1 Any Atmos 2 Chance := 20 (% of coming up)
Chance Type 1 Any Atmos 3 Type := Oxygen (Type)
Chance Type 1 Any Atmos 3 Chance := 20 (% of coming up)
Chance Type 1 Any Atmos 4 Type := Hydrogen (Type)
Chance Type 1 Any Atmos 4 Chance := 20 (% of coming up)
Chance Type 1 Any Atmos 5 Type := Carbon Dioxide (Type)
Chance Type 1 Any Atmos 5 Chance := 20 (% of coming up)

Now you should have been able to make a new Atmo in the game.

Thanks I hope this helps all of you out. I am still working on my mod but will be posting it soon I hope.
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 03:52 PM.


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