2025-06-14 04:56 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002686Spring engineUnit Scriptingpublic2011-12-04 12:39
ReporterGodde 
Assigned ToKloot 
PrioritynormalSeveritytweakReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.82.7+git 
Target VersionFixed in Version85.0 
Summary0002686: CloakCost defaults to -1 and which becomes +1 energy income
DescriptionIn s44 it is tedious to remember to add cloakCost=0; to all units that can cloak. We also wrote gadgets to cloak infantry in certain areas of map.
Units that cloak without the tag CloakCost gives +1 supply/energy. In s44 this +1 energy can be gameplay changing.

Example units in Market Garden 1.53
gbrsatchelcharge
Additional InformationIt seems rather unintuitive that cloakCost defaults to -1.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0007700

abma (administrator)

is this still present?

~0007708

FLOZi (reporter)

https://github.com/spring/spring/blob/master/rts/Sim/Units/UnitDef.cpp#L426

Yes.

~0007711

Kloot (developer)

Last edited: 2011-11-26 15:39

done (however, you will now need to add canCloak=true explicitly for units with cloakCost=0)

+Notes

-Issue History
Date Modified Username Field Change
2011-10-12 12:26 Godde New Issue
2011-11-25 17:33 abma Note Added: 0007700
2011-11-25 17:33 abma Status new => feedback
2011-11-25 21:00 FLOZi Note Added: 0007708
2011-11-25 23:34 Kloot Status feedback => assigned
2011-11-25 23:34 Kloot Assigned To => Kloot
2011-11-26 15:39 Kloot Note Added: 0007711
2011-11-26 15:39 Kloot Status assigned => resolved
2011-11-26 15:39 Kloot Fixed in Version => 84.0.1
2011-11-26 15:39 Kloot Resolution open => fixed
2011-11-26 15:39 Kloot Status resolved => feedback
2011-11-26 15:39 Kloot Resolution fixed => reopened
2011-11-26 15:39 Kloot Note Edited: 0007711
2011-11-26 15:39 Kloot Status feedback => resolved
2011-11-26 15:39 Kloot Resolution reopened => fixed
2011-12-04 12:39 hoijui Fixed in Version 84.0.1 => 85.0
+Issue History