|
|
|
 |
|

November 10th, 2006, 06:13 PM
|
 |
Sergeant
|
|
Join Date: Dec 2002
Location: U.S.A
Posts: 311
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Research by population?
Would it be possible in SE:V to mod research points so that they are generated by population rather than by facilities?
__________________
Vogon ships are yellow chunky slablike somethings, huge as office buildings, silent as birds. They hang in the air in much the same way that bricks don't.
(R.I.P. Douglas Adams)
-War is peace -Freedom is slavery -Ignorance is strength
In peace there's nothing so becomes a man as modest stillness and humility.
- W. Shakespeare (Henry V)
|

November 10th, 2006, 06:35 PM
|
 |
Lieutenant General
|
|
Join Date: Dec 2000
Location: california
Posts: 2,961
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Research by population?
it would be possible to mod facilities that function based on population level, i think. you could make those facilities basically "free"
__________________
...the green, sticky spawn of the stars
(with apologies to H.P.L.)
|

November 10th, 2006, 09:09 PM
|
Corporal
|
|
Join Date: Nov 2001
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Research by population?
Quote:
Puke said:
it would be possible to mod facilities that function based on population level, i think. you could make those facilities basically "free"
|
However then you would need to know a function which returns the population of the planet and is usable from facilities.txt file to add in the amount of the research ability.
Would you know such function ? 
|

November 11th, 2006, 12:31 AM
|
 |
Brigadier General
|
|
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
|
|
Re: Research by population?
I spent some time looking over this one. To make it happen you would need the research ability and the formula you would use would have to call on a manner to count the current population of the planet. Let�s call it Get_Current_Planet_Population. Now once you have that you will need to build it into a series of if statements. Something like this:
iif(Get_Current_Planet_Population() <= 100, 500, iif(Get_Current_Planet_Population() <= 200, 600, 100) and so on and so forth.
Note that I am using multiples of 1 million; so 100 equals 100 million population. You could use a straight formula with a multiplier too; however, I am willing to bet that after some play testing you will prefer the �step� increments that an if statement can give.
A straight formula example:
500 + (Get_Current_Planet_Population() * 50)
So now you need to email Aaron with a request.
__________________
President Elect Shang; Tal-Re Republic of Free Worlds
Welcome to Super Vegeta�s Big Bang Attack� Welcome to OBLIVION!
�Don Panoz made an awesome car and� an incinerator� Bill Auberlen
|

November 11th, 2006, 01:24 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
Re: Research by population?
You could always just make all production proportional to population in settings.txt...
Facilities then represent percentage "focus", rather than explicit factories and such.
__________________
Things you want:
|

November 11th, 2006, 04:44 AM
|
 |
Brigadier General
|
|
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
|
|
Re: Research by population?
I just had a thought. You should be able to adjust the amount of research generated by adding to the Settings.txt as a population modifier. I haven�t tested this yet but I can�t see any reason why it shouldn�t work. This will have no effect on the research facility so it may not produce the results you are looking for. If you want to give it a try open the Settings.txt and do a find for �Number Of Population Modifiers� or just scroll to the very bottom.
__________________
President Elect Shang; Tal-Re Republic of Free Worlds
Welcome to Super Vegeta�s Big Bang Attack� Welcome to OBLIVION!
�Don Panoz made an awesome car and� an incinerator� Bill Auberlen
|

November 11th, 2006, 07:06 AM
|
Corporal
|
|
Join Date: Nov 2001
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Research by population?
Quote:
President_Elect_Shang said:
So now you need to email Aaron with a request.
|
There is a thread in the modding sub forums about the list of variables and functions to ask Aaron so that we can send him a list in one email instead of 30 requests in every direction.
|

November 11th, 2006, 12:19 PM
|
 |
Brigadier General
|
|
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
|
|
Re: Research by population?
I know; however, that sub-forum was created originally when we requested Mindi to make a place were we could discuss actual moding questions, effects, tips, and tricks not wish lists. A wish list would have been more appropriate here in this forum area.
__________________
President Elect Shang; Tal-Re Republic of Free Worlds
Welcome to Super Vegeta�s Big Bang Attack� Welcome to OBLIVION!
�Don Panoz made an awesome car and� an incinerator� Bill Auberlen
|

November 11th, 2006, 09:46 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: Research by population?
President_Elect_Shang said:
You should be able to adjust the amount of research generated by adding to the Settings.txt as a population modifier.
You can't really add new fields to the data files.
|

November 11th, 2006, 10:01 PM
|
 |
Brigadier General
|
|
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
|
|
Re: Research by population?
Ok I see what you�re saying. For some reason I was thinking I had tweaked something like this in SE4.
__________________
President Elect Shang; Tal-Re Republic of Free Worlds
Welcome to Super Vegeta�s Big Bang Attack� Welcome to OBLIVION!
�Don Panoz made an awesome car and� an incinerator� Bill Auberlen
|
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
|
|
|
|
|