View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002684 | Spring engine | General | public | 2011-10-05 15:26 | 2013-03-20 13:10 |
| Reporter | Google_Frog | Assigned To | jK | ||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | closed | Resolution | no change required | ||
| Product Version | 0.82.7+git | ||||
| Fixed in Version | 89.0.1+git | ||||
| Summary | 0002684: Configurable EMP decline | ||||
| Description | A variable in modrules that controls the decay rate of EMP damage. Currently it is hardcoded to 100% -> 0% in 40 seconds. Specifically for the version I looked at in https://github.com/spring/spring/blob/develop/rts/Sim/Units/Unit.cpp "float CUnit::empDecline = 2.0f * (float)UNIT_SLOWUPDATE_RATE / (float)GAME_SPEED / 40.0f;" The magic number "40.0f" means 40 seconds. This would need replacing with a value from modrules. | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
A per unitdef number might be nicer (Generally I think modrules is a little ugly for something like this which needn't be generalised for all units) |
|
|
Yep per unit def is even better. But that may have been a bit much to hope for. |
|
|
Apparently there was something wrong? |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-10-05 15:26 | Google_Frog | New Issue | |
| 2011-10-05 20:02 | FLOZi | Note Added: 0007459 | |
| 2011-10-06 08:53 | Google_Frog | Note Added: 0007460 | |
| 2012-08-27 12:54 | Kloot | Status | new => resolved |
| 2012-08-27 12:54 | Kloot | Fixed in Version | => 89.0.1+git |
| 2012-08-27 12:54 | Kloot | Resolution | open => fixed |
| 2012-08-27 12:54 | Kloot | Assigned To | => Kloot |
| 2013-03-20 12:06 | Google_Frog | Note Added: 0010132 | |
| 2013-03-20 12:06 | Google_Frog | Status | resolved => feedback |
| 2013-03-20 12:06 | Google_Frog | Resolution | fixed => reopened |
| 2013-03-20 13:10 | jK | Status | feedback => closed |
| 2013-03-20 13:10 | jK | Assigned To | Kloot => jK |
| 2013-03-20 13:10 | jK | Resolution | reopened => no change required |