Please or Register to create posts and topics.

How to have a custom turret skin in your map

PreviousPage 4 of 5Next

If i use prop dynamic though, I can't seem to be able to trigger it using a trigger_multiple, because the only options that are available are "AddHealth, AddOutput, Alpha, etc...".
See what I mean? I feel like I'm doing something wrong though...

You need SetAnimation <animationname>.

That's great, thanks so much!!! I've got that going pretty well now.
Thanks for your help!

Any ideas getting the sounds to play along as well? They don't seem to be working by default for me.
Would creating another trigger for the audio file be the best way??

Yes. You need an ambient_generic to do this.

Yeah I know that, but can I trigger the sound based on the animation state of the door? That's how I've been trying to do it and can't get any success

You can use the same trigger that opens the door, but not the door itself.

My YouTube Channel: https://www.youtube.com/user/Camben24
Aperture Science: We do our science asbestos we can!

Yeah thats what I thought also, but I couldnt get it to work in my particular setup.
I'll attach a screenshot of what I've got going, but I cant use the same triggers, as the outside trigger sets the door to close and the inside one sets it to open.
I've got it this way so that the door will open when the player walks close,but closes when the walk away from it.

Any thoughts?

First of all there is a better approach to that using the trigger_multiple. Just make it the size you want it to make the door to stay open, then use:

- OnStartTouch > [door name here] > SetAnimation > Open
- OnStartTouch > [door sound name here] > PlaySound

- OnEndTouch > [door name here] > SetAnimation > Close
- OnEndTouch > [door sound name here] > PlaySound

For this setup you'd better watch out where your trigger brush ends in order to not close right in the player's nose :D. If you want your door to close right after the player has crossed the door, make sure your trigger brush ends right after the door ends. Anyway, you can also make the trigger brush overpass the door so it closes when the player is that same far than in previous room.

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

Ahhhhh I can't believe I didnt think of that!! Thank you so much, everybody!!!!
It works perfectly now.
Also, if I add another trigger around the main trigger, I can tell it to disable the main trigger, making my door a 1-way door!!!

You guys are incredible. Thank you :thumbup: :thumbup: :thumbup:

You could also just put the trigger only on one side. ;)

Glad you got it working! What's the custom door for?

Falsi sumus crusto!
PreviousPage 4 of 5Next