The effect flag EF_INVLIGHT causes MDLs to be lit from the ceiling, instead of from the floor. zhlt_copylight doesn't currently understand this.
What I propose is that if any of these criteria are met, the light from zhlt_copylight's target is copied to the ceiling instead of the floor.
- New KV
zhlt_copylight_inverted is 1
effects KV contains bitflag 16
- Classname is
monster_barnacle
- Classname is
monster_turret, monster_miniturret, or monster_sentry, and orientation KV is 1
The effect flag
EF_INVLIGHTcauses MDLs to be lit from the ceiling, instead of from the floor.zhlt_copylightdoesn't currently understand this.What I propose is that if any of these criteria are met, the light from
zhlt_copylight's target is copied to the ceiling instead of the floor.zhlt_copylight_invertedis 1effectsKV contains bitflag 16monster_barnaclemonster_turret,monster_miniturret, ormonster_sentry, andorientationKV is1