2025-07-18 08:31 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001413Spring engineUnit Scriptingpublic2009-05-29 00:30
ReporterTheFatController 
Assigned Totvo 
PrioritynormalSeverityfeatureReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.79.0.2+git 
Target VersionFixed in Version 
Summary0001413: 2 Issues with COB and exploding units
DescriptionFirstly:
http://github.com/spring/spring/blob/5221fe363bd61dc3ecb3e23c2e4cd3885ee4bbd0/rts/Sim/Units/COB/CobInstance.cpp#L935

There's a default engine fireball when a piece explodes, for organic units this means you can't have exploding pieces as a fireball looks unsuitable, i'd suggest making this a customisable ceg and not hard coded.


Secondly:
having a custom pieceTrailCEGTag for a unit is cool but on exploding parts it doesn't obey the 'SMOKE' option and is always displayed, it should only display if SMOKE is specified eg:
explode radar type FALL | SMOKE | EXPLODE_ON_HIT | BITMAP5; = show the pieceTrailCEGTag
explode radar type FALL | EXPLODE_ON_HIT | BITMAP5; = don't show the pieceTrailCEGTag


Thanks!
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0003482

jK (developer)

@2nd request:
PieceProjectile.h:
const int PF_NoCEGTrail = (1 << 6);

~0003520

tvo (reporter)

The first thing would only need a flag to disable the hardcoded explosion right?

(You could just do emit-sfx before explode, I think)

~0003543

tvo (reporter)

implemented in http://github.com/spring/spring/commit/e1d3841d5020359c2ef209e210340712e3d00315
+Notes

-Issue History
Date Modified Username Field Change
2009-05-25 19:18 TheFatController New Issue
2009-05-25 19:25 jK Note Added: 0003482
2009-05-27 23:12 tvo Note Added: 0003520
2009-05-29 00:25 tvo Status new => assigned
2009-05-29 00:25 tvo Assigned To => tvo
2009-05-29 00:30 tvo Note Added: 0003543
2009-05-29 00:30 tvo Status assigned => resolved
2009-05-29 00:30 tvo Resolution open => fixed
+Issue History