Game Modding | Call of Duty: Black Ops 3 | Scripting
ModmeBot:
Thread By: noVADex
wanting to have a door/debris open after a certain number of rounds pass. Can anyone point me to a tutorial or anything useful.............many thank yous
ModmeBot:
Reply By: TrueGamerCalls
noVADex
wanting to have a door/debris open after a certain number of rounds pass. Can anyone point me to a tutorial or anything useful.............many thank yous
ModmeBot:
Reply By: KillJoyYT
very interested! let me know if you figure anything out
ModmeBot:
Reply By: billdavison
I whipped something quickly I tested it it works, in the comments I tried explaning it the best I could but it works and there are things that need to be modified so your door moves where you want it but remember to thread setting_up_the_door(); in your main function I hopped this helped
ModmeBot:
Reply By: Harry Bo21
when deleting a barrier you need to use
on it first before deleting it or zombies will not path ( also tick dynamic paths of the entity in the kvps in radiant )
also if it leads into another zone, you also need to set the flag for that zone so it activates
also, the shortest possible wait in gsc is 0.05 not 0.01 ( 0.01 is the shortest possible wait in csc however )
ModmeBot:
Reply By: KillJoyYT
this is awesome dude thank you
ModmeBot:
Reply By: noVADex
Thanks guys this was all very helpful, never had any issues with zombie pathing after deleting the entities, but i did use a multi trigger with touch zone activation on the other side of the clip/brush.
Cheers
ModmeBot:
Reply By: noVADex
ModmeBot:
Reply By: Harry Bo21
noVADex
Thanks guys this was all very helpful, never had any issues with zombie pathing after deleting the entities, but i did use a multi trigger with touch zone activation on the other side of the clip/brush. Cheers
ModmeBot:
Reply By: noVADex
Harry Bo21
noVADex Thanks guys this was all very helpful, never had any issues with zombie pathing after deleting the entities, but i did use a multi trigger with touch zone activation on the other side of the clip/brush. Cheers they will not go through the door.... spawn on the zone on the other side - yes walk through it - no
ModmeBot:
Reply By: Harry Bo21
noVADex
Harry Bo21 noVADex Thanks guys this was all very helpful, never had any issues with zombie pathing after deleting the entities, but i did use a multi trigger with touch zone activation on the other side of the clip/brush. Cheers they will not go through the door.... spawn on the zone on the other side - yes walk through it - no yes indeed they do walk through it, both ways infact, from either zone. I wouldn't of posted anything till I had it tested and working. My only concern at this point is having the zone past the door not trigger if the player dosnt walk up to the area the door was. so as to trigger the trig behind the deleted door, but the kvp script_flag on the original door and trigger dont take effect, unless you have a suggestion for that.
ModmeBot:
Reply By: noVADex
Harry Bo21
noVADex Harry Bo21 noVADex Thanks guys this was all very helpful, never had any issues with zombie pathing after deleting the entities, but i did use a multi trigger with touch zone activation on the other side of the clip/brush. Cheers they will not go through the door.... spawn on the zone on the other side - yes walk through it - no yes indeed they do walk through it, both ways infact, from either zone. I wouldn't of posted anything till I had it tested and working. My only concern at this point is having the zone past the door not trigger if the player dosnt walk up to the area the door was. so as to trigger the trig behind the deleted door, but the kvp script_flag on the original door and trigger dont take effect, unless you have a suggestion for that. ... connect paths is required... has always been required... and will always be required rather than argue why not type the "one" line of code im telling you... and for the flag to work, you need to "use" that kvp in script and "activate" the flag with it setting the kvp - is only registering the "name" in a way you can "find" it in script
ModmeBot:
Reply By: Harry Bo21
noVADex
Harry Bo21 noVADex Harry Bo21 noVADex Thanks guys this was all very helpful, never had any issues with zombie pathing after deleting the entities, but i did use a multi trigger with touch zone activation on the other side of the clip/brush. Cheers they will not go through the door.... spawn on the zone on the other side - yes walk through it - no yes indeed they do walk through it, both ways infact, from either zone. I wouldn't of posted anything till I had it tested and working. My only concern at this point is having the zone past the door not trigger if the player dosnt walk up to the area the door was. so as to trigger the trig behind the deleted door, but the kvp script_flag on the original door and trigger dont take effect, unless you have a suggestion for that. ... connect paths is required... has always been required... and will always be required rather than argue why not type the "one" line of code im telling you... and for the flag to work, you need to "use" that kvp in script and "activate" the flag with it setting the kvp - is only registering the "name" in a way you can "find" it in script Im not arguing- I came here for help. I am stating facts -the pathing works, so that info isn't helpful at this time. No point adding code that isnt needed, but if i ever come across a situation that requires that line of code ill be sure to come back and collect it when and if its helpful. As for the activation of a zone through code, I am not sure how to do it. I've always only used the kvp on a trigger. Although i have attempted to use what i know from waw and also what i can figure out from the code ive seen. Yes, it makes it past the linker, but doesn't work in game or causes a error during loading. Knowing that line of code for activating a zone would actually be very helpful, and im sure many wouldn't argue that point. Thanks again
ModmeBot:
Reply By: noVADex
Harry Bo21
noVADex Harry Bo21 noVADex Harry Bo21 noVADex Thanks guys this was all very helpful, never had any issues with zombie pathing after deleting the entities, but i did use a multi trigger with touch zone activation on the other side of the clip/brush. Cheers they will not go through the door.... spawn on the zone on the other side - yes walk through it - no yes indeed they do walk through it, both ways infact, from either zone. I wouldn't of posted anything till I had it tested and working. My only concern at this point is having the zone past the door not trigger if the player dosnt walk up to the area the door was. so as to trigger the trig behind the deleted door, but the kvp script_flag on the original door and trigger dont take effect, unless you have a suggestion for that. ... connect paths is required... has always been required... and will always be required rather than argue why not type the "one" line of code im telling you... and for the flag to work, you need to "use" that kvp in script and "activate" the flag with it setting the kvp - is only registering the "name" in a way you can "find" it in script Im not arguing- I came here for help. I am stating facts -the pathing works, so that info isn't helpful at this time. No point adding code that isnt needed, but if i ever come across a situation that requires that line of code ill be sure to come back and collect it when and if its helpful. As for the activation of a zone through code, I am not sure how to do it. I've always only used the kvp on a trigger. Although i have attempted to use what i know from waw and also what i can figure out from the code ive seen. Yes, it makes it past the linker, but doesn't work in game or causes a error during loading. Knowing that line of code for activating a zone would actually be very helpful, and im sure many wouldn't argue that point. Thanks again as you are refusing to type one line of code - i know matters - despite the fact it will have 0 negative impact if either of us is wrong i wont help you further with either aspect
ModmeBot:
Reply By: Harry Bo21
sorry but my 18 years coding experience and 4 years cod coding experience far out weighs your "first attempt"
good day to you sir