Help Me!!!!!!!!!!!!

coRtALoS

-=[ Retired BF Admin ]=-
Joined
Sep 17, 2002
Messages
4,278
Reaction score
2
Location
Massachusetts
Website
www.BattleForums.com

AKA-47

Member!
Joined
Sep 28, 2002
Messages
1,328
Reaction score
0
I think if u set the upgrade time to 99999999 or something it will give u instant upgrades.
 

SmashBros.Pro

BattleForums Senior Member
Joined
Sep 5, 2002
Messages
1,159
Reaction score
0
Location
Bin Laden's Secret
Website
www.angelfire.com
Set time to 8739 and it will set the factor as zero automatically, it works for energy costs too, but if you go back to the unit you set the time for it will say 0, but soon as you click out it will be set as one, so when you set unit stats, don't go back unless you set the time to 8739 again.
 

Heimdal

Member!
Joined
Jul 4, 2003
Messages
342
Reaction score
0
This happens to work because the units of time that the value is stored in is 15ths of a second. 8739 * 15 = 131085. The value is stored in a short int, whose max value is 65535. To prevent overflow, the programmers just used the mod function, which reduces this value to 13. 13 / 15 doing integer division is 0. There are other values that will work too.

Or you could just use Starforge and enter a value less than 15 ;)
 

Jamals2fat

Member
Joined
Jul 13, 2005
Messages
9
Reaction score
0
You do realize this subject is 3 years old? People werent that smart then
 

-Azrael666-

BattleForums Senior Member
Joined
Jan 19, 2005
Messages
2,986
Reaction score
3
This thread is just chock full of useful information, especially for new mapmakers. I enjoyed reading the explanation of exactly why that works.

By the way, as Lwek said, X-tra editor gives instructions on how to do this within the actual upgrade editing area.
 

NewPosts

New threads

Top