Page 1 of 1

metal and energy storage allways 20 !?! other bugs too :)

Posted: 19 Jan 2006, 02:43
by Masse
is this really this way...
i took all energy off at beginning and took storage out the commander but i still have 20 storage at beginning ! is it hardcoded for some reason ? if it is... it should be removed cause its DUMP :wink:

and building/unit cannot be built if i got 0 energy in storage ! and the building/unit dont even cost any energy :wink:

i cant continue on my new resource system test mod called Mass Resources untill those get fixed (thanks smoth for mod name) :P

Posted: 19 Jan 2006, 05:34
by Gnomre

Code: Select all

	energystorage=20;
	metalstorage=20;
In the commander TDFs. Didn't know it'd override settings less than that though.

Hmm, so units won't build at all when you have 0 storage? What happens when you have negative storage? (Like, if you have 50 storage, then build a unit with -100 storage, what happens?)

Posted: 19 Jan 2006, 15:20
by Masse
Gnome wrote:

Code: Select all

	energystorage=20;
	metalstorage=20;
In the commander TDFs. Didn't know it'd override settings less than that though.

Hmm, so units won't build at all when you have 0 storage? What happens when you have negative storage? (Like, if you have 50 storage, then build a unit with -100 storage, what happens?)
i did allot of testing of this type... if u have 50 storage and build a unit with -100 storage u got -50 storage :wink: and then u just cant build

i know that this resource idea can goto lots of mods out there :wink:

armcom.fbi
energystorage=20;
metalstorage=20;

i changed that energystorage=-190; still i got 20 at the beginning :|
changing those from the commander dont have any effect ! the storages of commander cant be changed (bug!)

this 20 storage thing is harcoded ! now i verified that... cause these other units i tried has nothing todo with commander :!:

Posted: 19 Jan 2006, 15:28
by Nemo
I did some testing with this, and it worked okay - perhaps the commander has to have 20 storage by default, who knows, but other units can bring the energy storage level well below zero...my energy bar was streching backwards across my screen, with -2000 in the bank.

Posted: 19 Jan 2006, 15:37
by Masse
i have 20 storage even when i have bloven everithing up :lol:

so its coded that i have 20 storage at beginning :?

Posted: 19 Jan 2006, 15:44
by Nemo
I'm not so sure, I know I've managed to get 0 energy storage.

Posted: 19 Jan 2006, 16:05
by Masse
Nemo wrote:I'm not so sure, I know I've managed to get 0 energy storage.
well... me too... but not at the beginning !... i make it so that my kbot lab has -20 storage so when its built i have 0 storage

Posted: 19 Jan 2006, 18:30
by patmo98
I think the commander is hardcoded to have as much metal and energy as you set to be the starting values minus 20, and you get 20 free storage. In OTA you don't need storage to build units. In TASpring I don't think you can't spend mere metal per second then you have storage.

In OTA you had 10% of the starting values as extra and the commander had 90% of the starting values.