2025-07-20 17:16 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000611Spring engineGeneralpublic2007-08-28 12:20
ReporterDragon45 
Assigned Totvo 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000611: Ressurected commander does not have resource storage
DescriptionI had 1 comm, another one was being rezzed. My original commander dies, i lose all storage. The wreck i finish ressurcting completes - and i still have almost no energy or metal storage.

Suggestion: Set all commanders' storage to whatever it is set to in the lobby.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0001184

KDR_11k (reporter)

Lobby storage only applies to the unit you're given at the start.

Also several modders have mentioned that they'd prefer if the lobby-set storage was ignored completely.

~0001185

tvo (reporter)

This is related to this thread:
http://spring.clan-sy.com/phpbb/viewtopic.php?t=11706

I think Nemo hits the nail on the head: that is exactly the correct solution.

A unit with Commander=1 should load the EnergyStorage and MetalStorage from the TDF, using the startscript EnergyStorage and MetalStorage as *defaults*.

This way a mod can choose whether or not it uses the metalStorage and energyStorage set by the lobby, without resorting to hacks to work around the problem like using LUA gadgets to override the storage yet again.

Additionally implementing it this way reduces the number of hacks in the engine :-)

~0001186

tvo (reporter)

implemented the thing suggested by Nemo in r4259
+Notes

-Issue History
Date Modified Username Field Change
2007-08-28 05:55 Dragon45 New Issue
2007-08-28 07:16 KDR_11k Note Added: 0001184
2007-08-28 12:10 tvo Note Added: 0001185
2007-08-28 12:19 tvo Status new => assigned
2007-08-28 12:19 tvo Assigned To => tvo
2007-08-28 12:20 tvo Status assigned => resolved
2007-08-28 12:20 tvo Resolution open => fixed
2007-08-28 12:20 tvo Note Added: 0001186
+Issue History