View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003760 | The Dark Mod | Script/Def | public | 19.06.2014 09:52 | 21.06.2014 11:55 |
Reporter | SteveL | Assigned To | SteveL | ||
Priority | normal | Severity | normal | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | TDM 2.02 | ||||
Target Version | TDM 2.03 | Fixed in Version | TDM 2.03 | ||
Summary | 0003760: Let def_attach entity lights be toggled by a trigger | ||||
Description | Combined entity lights don't all work the same. Those with no particle effect can be toggled on and off by a trigger. Those that use particles can't and mappers have to resort to faking fire/water stims. | ||||
Additional Information | Problem statement by RJFerret in this post: http://forums.thedarkmod.com/topic/16351-shadow-lights-on-combined-entity-lights/page__view__findpost__p__348335 Amended script object provided by Obssttorte in this post: http://forums.thedarkmod.com/topic/16351-shadow-lights-on-combined-entity-lights/page__view__findpost__p__348344 Amended script adds a trigger response to the entity at spawn time. To do: check that double-calling of LightsOn() and LightsOff() won't cause problems for non-particle lights which will call it both as a response to the trigger and as a side-effect of idLight::On and Off. It should be ok... those methods already get called more than once in some situations. | ||||
Tags | No tags attached. | ||||
Checked with 40 entity lights in a test map, sampled from all categories both moveable and not. Works as expected except for a couple of lights that don't use tdm_light_holder script, which don't respond, but they can simply have it added to their def later if needed. Committed in rev 13884 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
19.06.2014 09:52 | SteveL | New Issue | |
19.06.2014 09:52 | SteveL | Status | new => assigned |
19.06.2014 09:52 | SteveL | Assigned To | => SteveL |
21.06.2014 11:52 | SteveL | Note Added: 0006680 | |
21.06.2014 11:55 | SteveL | Status | assigned => resolved |
21.06.2014 11:55 | SteveL | Fixed in Version | => TDM 2.03 |
21.06.2014 11:55 | SteveL | Resolution | open => fixed |