.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   A couple of modding questions (http://forum.shrapnelgames.com/showthread.php?t=11025)

Renegade 13 January 3rd, 2004 01:02 AM

A couple of modding questions
 
I've got a couple of questions about modding.

1. Is it possible to add different planet types other than rock, ice, or gas?

2. In the same vein, is it possible to add types of planet other than the given methane, oxygen, none, etc?

3. What's the maximum amount that the planet value percentages for minerals, orgs, and rads can be. From what I've seen in the stock game, the max for planets is 150%, and asteroids is 300%. I think that can be modified, but how high can I go?

If anyone can help with these, please do. Thanks in advance.

Renegade 13

[ January 02, 2004, 23:03: Message edited by: Renegade 13 ]

narf poit chez BOOM January 3rd, 2004 01:04 AM

Re: A couple of modding questions
 
Quote:

1. Is it possible to add different planet types other than rock, ice, or gas?

2. In the same vein, is it possible to add types of planet other than the given methane, oxygen, none, etc?
<font size="2" face="sans-serif, arial, verdana">nope. both are hard-coded.

Kamog January 3rd, 2004 02:12 AM

Re: A couple of modding questions
 
By using value improvement plants, a planet's value can be increased up to 250% mineral, 250% organic, and 250% radioactive. A planet created from an asteroid field can have up to 300% if the original asteroids had that sort of value.

In settings.txt, you can change the lines
Maximum Planet Percent Value := 250
Asteroids Value High Percent := 300

Puke January 3rd, 2004 02:18 AM

Re: A couple of modding questions
 
I think the question is, how high can the percentages go. I am not sure what the answer is, but typically either 255 or about 65,000 are the limits, being the values you can represent with either one byte or maxint. you can go higher with longint, but i really doubt it would be used. it can also be some other arbitrary value, but there is not really any point to doing it that way.

so since asteroids can be 300 by default, its obviously not 255. i would guess you can mod values up to maxint, or maximum integer value, or about 65,000.

narf poit chez BOOM January 3rd, 2004 02:18 AM

Re: A couple of modding questions
 
you know, one of the things i've been doing is looking for ways to make game's rediculusly fast, like increasing pop growth. now, if all miner's had a 1% increase built in...

Kamog January 3rd, 2004 02:36 AM

Re: A couple of modding questions
 
That would be handy for filling up those sphere worlds. Just build a couple dozen mining facilities in the beginning.

oleg January 3rd, 2004 05:10 AM

Re: A couple of modding questions
 
Quote:

Originally posted by narf poit chez BOOM:
you know, one of the things i've been doing is looking for ways to make game's rediculusly fast, like increasing pop growth. now, if all miner's had a 1% increase built in...
<font size="2" face="sans-serif, arial, verdana">No way to make it cummulative - only one, best ability is used.

narf poit chez BOOM January 3rd, 2004 05:17 AM

Re: A couple of modding questions
 
it's not cummulative in gold? it was cummulative in classic.

oleg January 3rd, 2004 05:26 AM

Re: A couple of modding questions
 
Quote:

Originally posted by narf poit chez BOOM:
it's not cummulative in gold? it was cummulative in classic.
<font size="2" face="sans-serif, arial, verdana">Are you sure ?? AFAIK the only cummulative abilities are "planet value change" and "planet condition change". Rest is exclusive.

Uh, BTW, there is no ability to change population on a specific planet, all are system-wide.

[ January 03, 2004, 03:27: Message edited by: oleg ]

narf poit chez BOOM January 3rd, 2004 05:32 AM

Re: A couple of modding questions
 
Quote:

planet value change
<font size="2" face="sans-serif, arial, verdana">that's what i was talking about.


All times are GMT -4. The time now is 01:15 AM.

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