uncadonego on 17/10/2019 at 03:58
I want to put a decal in a window but obviously need it to disappear if someone smashes the window.
How to go about that?
Unna Oertdottir on 17/10/2019 at 09:20
There are many ways to to that, depends how it should look like.
-Destroy Trap/NVSlayMeTrap
-Tweq Delete property on the decal object, a stim acitivates the tweq
-DeadfallTrap
...
john9818a on 17/10/2019 at 13:47
Add a BreakWin -6083, change its model to the one of your decal, and Corpse link it to either a broken version of your window or Marker -36. With the BreakWin in place and two room brushes placed you will get the correct sound propagation, and the lean into window effect will work as well.
ZylonBane on 17/10/2019 at 19:49
I would think detail attaching the decal to the window would work.
uncadonego on 18/10/2019 at 02:47
detail attaching the decal to the window was the first thing I tried, just because it sounded easiest. Smashed window, decal disappeared. Thanks ZB and everyone.
Yandros on 18/10/2019 at 12:47
Yep, that's the simplest way and it works because when you break a window, you are actually killing it, so its attachments go away with it. The broken window model is its corpse.
ZylonBane on 18/10/2019 at 14:02
Be aware that there can be z-sorting issues when detail attaching to a transparent window. IIRC there are some special options in the detail attachment properties to correct this.
uncadonego on 18/10/2019 at 21:19
Yeah, for where I wanted it in the window though, I only had to change one of them to 90 degrees, so it wasn't a 10 minute trial and error thing.