View Single Post
  #4  
Old November 11th, 2006, 12:31 AM
President_Elect_Shang's Avatar

President_Elect_Shang President_Elect_Shang is offline
Brigadier General
 
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
President_Elect_Shang is on a distinguished road
Default 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
Reply With Quote