View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004195 | The Dark Mod | Design/Coding | public | 02.08.2015 11:10 | 04.01.2016 19:26 |
| Reporter | SteveL | Assigned To | SteveL | ||
| Priority | normal | Severity | normal | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | TDM 2.03 | ||||
| Target Version | TDM 2.05 | Fixed in Version | TDM 2.05 | ||
| Summary | 0004195: Candles can't be put out by response effect | ||||
| Description | Investigate report on related issue 0004186 | ||||
| Tags | No tags attached. | ||||
| The response effect seems to work only with lights of spawnclass idLight, which is a subset of the electric ones. Entity lights that def-attach their light don't respond. | |
|
The response script was trying to operate the light directly, by calling idLight::Event_On (of Off). That event exists only on lights, not on entities that def-attach lights. The fix is to have the response script operate the light through the tdm_light_holder script object, which takes care of everything. |
|
|
committed at rev 14353 along with 0004186 script/tdm_response_effects.script |
|
| We should also cater for simple non-entity lights that don't have the script object. | |
|
Both TDM's entity lights as well as basic "lights" created in DR are now catered for in the response effects: light ON, light OFF, and light Toggle. There are separate responses for extinguishable lights that already used the script objects. They won't work for basic lights, but then no-one would expect them to. New test map attached to tyhe parent tracker. |
|
|
at rev 14356 script/tdm_response_effects.script |
|
| Script file attached to parent tracker for people to use before TDM 2.04 if they wish. | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 02.08.2015 11:10 | SteveL | New Issue | |
| 02.08.2015 11:10 | SteveL | Status | new => assigned |
| 02.08.2015 11:10 | SteveL | Assigned To | => SteveL |
| 02.08.2015 11:10 | SteveL | Relationship added | child of 0004186 |
| 02.08.2015 11:47 | SteveL | Note Added: 0007688 | |
| 02.08.2015 12:31 | SteveL | Note Added: 0007692 | |
| 02.08.2015 12:37 | SteveL | Note Added: 0007693 | |
| 02.08.2015 12:37 | SteveL | Status | assigned => resolved |
| 02.08.2015 12:37 | SteveL | Fixed in Version | => TDM 2.04 |
| 02.08.2015 12:37 | SteveL | Resolution | open => fixed |
| 02.08.2015 12:38 | SteveL | Note Edited: 0007693 | |
| 03.08.2015 13:16 | SteveL | Note Added: 0007699 | |
| 03.08.2015 13:16 | SteveL | Status | resolved => assigned |
| 03.08.2015 18:17 | SteveL | Note Added: 0007700 | |
| 03.08.2015 18:19 | SteveL | Note Added: 0007701 | |
| 03.08.2015 18:19 | SteveL | Note Added: 0007702 | |
| 03.08.2015 18:19 | SteveL | Status | assigned => resolved |
| 04.01.2016 19:26 | grayman | Fixed in Version | TDM 2.04 => TDM 2.05 |
| 04.01.2016 19:26 | grayman | Target Version | TDM 2.04 => TDM 2.05 |