.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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

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 09:05 PM.


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