|
|
|
 |

July 4th, 2003, 06:49 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
Re: New Modder: Planet Type Conundrum
Quote:
The details panel shows the planet name, no graphic, a Type of ' - ', an Atmosphere of 'NA', and normal values for Condition and Value. The rest of the panel is empty.
|
That's not a stormworld, its a null-planet!
I suffered from those when I tried to add a planetsize too...
I think others may have had more luck, but I still have no idea what's going on.
What I did for hidden planets, was to just make a system type where lots of storms are generated overtop of the planets and objects... some of the storms are cloaking storms, which leave the planet totally hidden until you bring in ships with scanners.
__________________
Things you want:
|

July 4th, 2003, 07:09 PM
|
 |
Corporal
|
|
Join Date: Dec 2002
Location: UK
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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*
|

July 4th, 2003, 07:22 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: New Modder: Planet Type Conundrum
I am fairly certain that this line:
in SystemTypes.txt referes to the Stellar Size line in PlanetSize.txt, not the name.
Also, adding any planets above the Huge planet entry causes weird effects (something like all the specific planet sizes called in SystemTypes.txt get shifted down by as many new planets as you enter in PlanetSize.txt, so one planet added makes all Huge calls become Large planets instead; it is weird ), and I recommend you do not do it.
|

July 4th, 2003, 07:28 PM
|
 |
Sergeant
|
|
Join Date: Jun 2003
Posts: 214
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New Modder: Planet Type Conundrum
Hmmm. I added the Stormworld size after the Huge size in Planettypes.txt.
If I can only use the standard sizes, then does that mean I am unable to do what I am attempting? What would you suggest I do if I want a new graphic to go with a new planet type that can only appear in a specific system type? Is this impossible to do?
[ July 04, 2003, 18:33: Message edited by: Wydraz ]
__________________
Weird Worlds Rocks!
|

July 4th, 2003, 07:41 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: New Modder: Planet Type Conundrum
Based on the first half of my post, I would try setting the Stellar Size of the Stormworld to be Stormworld.
|

July 4th, 2003, 07:58 PM
|
 |
Sergeant
|
|
Join Date: Jun 2003
Posts: 214
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New Modder: Planet Type Conundrum
By the way, whenever I open a map with the map editor created by the game, the Stormworld also appears invisible. If I try to edit it I get a 'range check error' and I cannot edit it. Yet if I place a Stormworld to the map, everything works fine.
Fyron, Do you mean in the planetsize file change it to this?
Name := Stormworld
Physical Type := Planet
Stellar Size := Stormworld <<==??
Max Facilities := 25
Max Population := 8000
Max Cargo Spaces := 16000
Max Facilities Domed := 5
Max Population Domed := 500
Max Cargo Spaces Domed := 1000
Constructed := False
Special Ability ID := 0
Thanks for the idea, but this does not work.
[ July 04, 2003, 19:06: Message edited by: Wydraz ]
__________________
Weird Worlds Rocks!
|

July 5th, 2003, 08:15 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: New Modder: Planet Type Conundrum
Now that I think about it, I do not think you can call for custom planet sizes in SystemTypes.txt. I may be wrong, but I think that is it. This has always been a tricky issue.
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|