.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

Reply
 
Thread Tools Display Modes
  #1  
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
  #2  
Old July 4th, 2003, 07:22 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: New Modder: Planet Type Conundrum

I am fairly certain that this line:

Quote:
Obj 2 Size := Stormworld
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.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #3  
Old July 4th, 2003, 07:28 PM
Wydraz's Avatar

Wydraz Wydraz is offline
Sergeant
 
Join Date: Jun 2003
Posts: 214
Thanks: 0
Thanked 0 Times in 0 Posts
Wydraz is on a distinguished road
Default 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!
Reply With Quote
  #4  
Old July 4th, 2003, 07:41 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default 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.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #5  
Old July 4th, 2003, 07:58 PM
Wydraz's Avatar

Wydraz Wydraz is offline
Sergeant
 
Join Date: Jun 2003
Posts: 214
Thanks: 0
Thanked 0 Times in 0 Posts
Wydraz is on a distinguished road
Default 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!
Reply With Quote
  #6  
Old July 5th, 2003, 08:15 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default 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.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
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 05:08 PM.


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