View Single Post
  #3  
Old July 4th, 2003, 07:09 PM
Wanderer's Avatar

Wanderer Wanderer is offline
Corporal
 
Join Date: Dec 2002
Location: UK
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Wanderer is on a distinguished road
Default Re: New Modder: Planet Type Conundrum

Quote:
Originally posted by Wydraz:
SYSTEMTYPES ENTRY:
Name := Test 1
Description := Standard solar system.
System Physical Type := Normal
Background Bitmap := Starmap.bmp
Empires Can Start In := FALSE
Mask Background Objs := FALSE
Non-Tiled Center Pic := FALSE
Number of Abilities := 0
WP Stellar Abil Type := Normal Warp Point
Number of System Objs := 2
Obj 1 Physical Type := Star
Obj 1 Position := Ring 1
Obj 1 Stellar Abil Type := Normal Star
Obj 1 Size := Any
Obj 1 Age := Any
Obj 1 Color := Any
Obj 1 Luminosity := Any
Obj 2 Physical Type := Planet
Obj 2 Position := Circle Radius 4
Obj 2 Stellar Abil Type := Normal Planet
Obj 2 Size := Stormworld
Obj 2 Atmosphere := Any
Obj 2 Composition := Any
I think the size has to be one of the original stellar sizes (tiny through huge).

To lapse into pseudo-code, I think the way SE4 works this is to find matches for the following expression then pick a result at random:

SystemTypes.ObjectSize == PlanetSize.StellarSize &&
PlanetSize.Name == SectType.PlanetSize

but I could be wrong.

Another thing that has been known to cause problems is adding planet sizes to the PlanetSize.txt file before the five original ones.
__________________
*insert impressive 50-line signature here*
Reply With Quote