.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 January 13th, 2003, 07:56 PM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default Re: modding question: planet sizes

What, you can make up new ones?!? How do they interact with items that depend on a stellar object size (tectonic bombs and such)?
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote
  #2  
Old January 13th, 2003, 08:21 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: modding question: planet sizes

Ok, lightbulb moment. I have made some new discoveries here.

The problem I was having, and others too apparently as they reported the same symptoms, was not that we were making a planet size smaller thean tiny as I first believed. The problem was we were placing the new sizes before the exsisting ones in the planetsizes file. This was screwing up the game.

You can add all the sizes you want to the end of the file and wont have a problem. They don't have to be in order of size.

Also, the stellar size does not have to be the same as the name. That should have been obvious to me from looking at the file, but I missed it somehow. The name in the planetsize file is what is called in the SectTypes file for the planet size so that has to be unique for each planet size. But you can have multiple planet sizes with the same stellar type. Stellar size is called from the system types file whenever a specific size is needed. Huge and Tiny are the only ones called for specifically in the stock system types file.

Dogscoff, your planet sizes will work I believe as you have them listed as long as you put them at the end of the file. However, since you have them all listed as tiny stellar size they may be used for moons occasionally when the system type file is calling for "tiny".

Ed, Yes, you can make new sizes. As far as how they intereact with the tectonic bombs and whatnot I thought I had that figured out, but I can't say for sure now. I will do some tests taking into consideration my new information and let you know.

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #3  
Old January 13th, 2003, 09:09 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: modding question: planet sizes

Ok, reagarding Tectonic bombs, those appear to work based on the oder of the entries in the planetsize file. So if you want your new planets to be destroyable you will have to pu tthem in order form smallest to largest, which means you will get the error I talked about in the other thread with specified planet sizes. This can be corrected though by simply modifiying the system types file and I suppose the components fril for the tectonic bombms accordingly.

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #4  
Old January 13th, 2003, 09:20 PM
dogscoff's Avatar

dogscoff dogscoff is offline
General
 
Join Date: Mar 2001
Location: UK
Posts: 4,245
Thanks: 0
Thanked 0 Times in 0 Posts
dogscoff is on a distinguished road
Default Re: modding question: planet sizes

thanks geo, you're a geezer
Reply With Quote
  #5  
Old January 13th, 2003, 10:06 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: modding question: planet sizes

You cannot call for custom planet sizes specifically in SystemTypes.txt, or you will get Null Planets.
__________________
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
  #6  
Old January 15th, 2003, 02:05 AM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: modding question: planet sizes

Quote:
Originally posted by Imperator Fyron:
You cannot call for custom planet sizes specifically in SystemTypes.txt, or you will get Null Planets.
Do try and keep up Fyron. We figured out what was causing that ages ago and have quite effective workaround for it. Actually what we discovered in this thread is there are two workarounds depending on whether or not you want the custom planetsizes to be destroyable in the game.

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #7  
Old January 15th, 2003, 05:08 AM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default Re: modding question: planet sizes

So if I insert a planet size called "Mostly Harmless" between Small and Medium, then Medium becomes size 4 for Tectonic Bomb and Matter Gravity Sphere purposes, and Large becomes 5 and Huge becomes 6 and Ringworld becomes 7 and Sphereworld becomes 8?
__________________
The Ed draws near! What dost thou deaux?
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 06:15 PM.


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