Page 1 of 1

Starting Resources and the script.txt startup class

Posted: 16 Dec 2006, 20:58
by AF
Say I have a commander with a storage value of 100k energy/metal.

Now Say I start a game with 1k metal/energy for every player and start the game.

Correct behaviour:

I should have 100k storage with 1k filled

Current behaviour

Instead I have 1k storage and 1k resources

I would also ask that the lobby resource sliders maximum values by increased tenfold.

Posted: 16 Dec 2006, 21:10
by Strategia
+1

Posted: 16 Dec 2006, 21:46
by AF
I looked into this and its getting set pregame in gamesetup.cpp IIRC so that the starting storage == starting resources.

All this needs is that at some point when sidedata.tdf is parsed that the storage be reassigned currentstorage = max(commanderDef->storage,currentstorage)

Posted: 16 Dec 2006, 23:35
by Argh
+1

This is extremely irritating. Makes it just about impossible to do "points-based" games with Spring.