1. Create a door of any model (for rotating make sure it hinges/ has an origin). Give targetname "door_1" or whatever.
2. Create a brushmodel clip surrounding the door model. Give targetname "door_1_clip" or whatever
3. Create a use trigger surrounding the door model on both sides. Give targetname "door_1_trig" or whatever
Add the following code into your maps .gsc file. C:\Program Files (x86)\Steam\steamapps\common\Call of Duty Black Ops III\usermaps\your_map\scripts\zm\your_map.gsc
Call the function in main or wherever you need it. Replace the variables accordingly.
Examples:
Add the function in yourmap's .gsc:
If you have any questions or requests, feel free to message me.
ModmeBot:
Reply By: DaNk Heater
YOU ARE TRULY AMAZING THANK YOU SO MUCH!!! I WILL MAKE SURE TO LIST IN THE CREDITS OF MY MAP!! THANK YOU SO MUCH!
ModmeBot:
Reply By: DaNk Heater
Hi, one other request could you maybe do a quick tutorial with this. I'm not really the best with this kind of stuff! Thanks!
ModmeBot:
Reply By: CT8918
I'll create one here soon. Had to catch up on some work.
ModmeBot:
Reply By: CT8918 Sorry, got distracted. Here is a video trying to explain how to implement this:
ModmeBot:
Reply By: iBounce You made this a lot more complicated than it needs to be, to be honest.
But hey, if it works, it works
ModmeBot:
Reply By: CT8918
iBounce You made this a lot more complicated than it needs to be, to be honest. But hey, if it works, it works
I know haha. Just made it multi-purpose so people could dissect it if they want.
ModmeBot:
Reply By: idb11987 How would i make this work for timed doors on a map like five has its pap doors. So once you teleport then the doors open after 30 seconds or so and close soon after. thanks in advanced :)
ModmeBot:
Reply By: soul-toktzt
idb11987 How would i make this work for timed doors on a map like five has its pap doors. So once you teleport then the doors open after 30 seconds or so and close soon after. thanks in advanced :)
I think you have to put
Right below
ModmeBot:
Reply By: idb11987 Thanks bro ill give it a blast ;)
ModmeBot:
Reply By: KillJoyYT does anyone know how to edit Ct's time door script so that the buyable option wont be available on the door until the door has fully reset???
Right now you can buy the door when its on the way back
causing it to go away even further and not coming back to its origin
thanks
ModmeBot:
Reply By: Harry Bo21 after the model rotate
model waittill( "rotatedone" );
ModmeBot:
Reply By: KillJoyYT OK so I've put the code at the bottom of the timed door script and it worked!
but now the door is only buyable once.
please help!
ModmeBot:
Reply By: Harry Bo21 coz of this
the trigger isnt whats rotating...
comment that out
ModmeBot:
Reply By: KillJoyYT Wow I'm an idiot
that makes sense.
I fixed it but the trig is still for only one use.
I tried to add this as well but it didn't work
ModmeBot:
Reply By: Harry Bo21 coz i said comment it out not change it
ModmeBot:
Reply By: KillJoyYT but you told me to add door waittill rotatedone
so that the doors trig wont be accessible until the door has fully reset.
ModmeBot:
Reply By: Harry Bo21
KillJoyYT but you told me to add door waittill rotatedone so that the doors trig wont be accessible until the door has fully reset.