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

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

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
Masse
Damned Developer
Posts: 979
Joined: 15 Sep 2004, 18:56

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

Post 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
Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Post 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?)
User avatar
Masse
Damned Developer
Posts: 979
Joined: 15 Sep 2004, 18:56

Post 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 :!:
Last edited by Masse on 19 Jan 2006, 15:32, edited 1 time in total.
User avatar
Nemo
Spring 1944 Developer
Posts: 1376
Joined: 30 Jan 2005, 19:44

Post 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.
User avatar
Masse
Damned Developer
Posts: 979
Joined: 15 Sep 2004, 18:56

Post by Masse »

i have 20 storage even when i have bloven everithing up :lol:

so its coded that i have 20 storage at beginning :?
User avatar
Nemo
Spring 1944 Developer
Posts: 1376
Joined: 30 Jan 2005, 19:44

Post by Nemo »

I'm not so sure, I know I've managed to get 0 energy storage.
User avatar
Masse
Damned Developer
Posts: 979
Joined: 15 Sep 2004, 18:56

Post 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
patmo98
Posts: 188
Joined: 09 Jan 2006, 17:51

Post 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.
Post Reply

Return to “Help & Bugs”