View Single Post
  #30  
Old December 4th, 2006, 03:23 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: Component.txt Knowledge Base

Quote:
DeadMilkman said:
Ok, what I am attempting is to change master computers to be slightly like SEIV, meaning that as you reasearch them, the space used goes down. I have tried several variations to get the Tonnage to drop in 10Kt increments , but they do not seem to work. Here is an example:
40 - ((int(([%Level%] - 1)) / 7) * 10)
Erm... what is wrong with just:

40 - (([%Level%] - 1) * 10)

(excessive parenthesis cause I still don't trust SE5's order of operations...)

If that doesn't produce the desired results, you have found a bug and should report it to se5 at malfador.com (with as simple a data file as you can send).
__________________
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