View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000611 | Spring engine | General | public | 2007-08-28 05:55 | 2007-08-28 12:20 | ||||
Reporter | Dragon45 | ||||||||
Assigned To | tvo | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000611: Ressurected commander does not have resource storage | ||||||||
Description | I 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. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
KDR_11k (reporter) 2007-08-28 07:16 |
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. |
tvo (reporter) 2007-08-28 12:10 |
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 :-) |
tvo (reporter) 2007-08-28 12:20 |
implemented the thing suggested by Nemo in r4259 |
![]() |
|||
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 |