View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005590 | Spring engine | Unit Scripting | public | 2017-05-30 14:58 | 2017-05-30 15:45 |
| Reporter | KingRaptor | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Product Version | 103.0 +git | ||||
| Summary | 0005590: Units with COB scripts not obeying corpseType | ||||
| Description | Units with COB scripts always die to the first corpse feature specified in the unitdef, regardless of what Killed() assigns to the corpseType variable in the unit script. In practical terms, this means that a self-destructed unit in a typical *A-type game will die to wreckage, instead of the expected debris. Units with Lua unit scripts do not experience the issue. | ||||
| Additional Information | Tested with Zero-K (developer and v1.5.5.2 versions) in 103.0.1-980-g522bf60. Unitnames that can be tested with: vehcon, vehassault, turretimpulse | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
see https://springrts.com/phpbb/viewtopic.php?f=14&t=34493, also 0005102 tldr: don't use "corpseType = 123;" but "return corpseType;" |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2017-05-30 14:58 | KingRaptor | New Issue | |
| 2017-05-30 15:43 | Kloot | Note Added: 0017740 | |
| 2017-05-30 15:44 | Kloot | Note Edited: 0017740 | |
| 2017-05-30 15:45 | Kloot | Status | new => closed |
| 2017-05-30 15:45 | Kloot | Resolution | open => no change required |