Starting Resources and the script.txt startup class

Starting Resources and the script.txt startup class

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Starting Resources and the script.txt startup class

Post 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.
User avatar
Strategia
Posts: 575
Joined: 06 Apr 2006, 18:32

Post by Strategia »

+1
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post 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)
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

+1

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

Return to “Feature Requests”