Posts
145
Respect
79Add +1
Forum Rank
Pack-a-Puncher
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Do you want to learn, or do you just want it? While that script will do the minimum needed to get the player through the door, it doesn't account for the zombies. If you want to learn, then here is some general things you could do:
You will need to use getentarray to get an array of these triggers, and then thread a function on them. Then in that function you will wait for trigger (being damaged), then check if all of them have been shot. There are many ways of doing this, but the easiest is prob to use a level variable, for example, level.doorsshot = 0; After the trigger is shot you will want to delete it and increase that level.doorsshot by 1. Then check if it is >= the amount that you want to shoot before the door opens. Then if it is, use a level notify("opensecretdoor"); or something. Meanwhile you would have another function that gets the door, and waits for the "opensecreddoor" notification. Once it receives this notification you will want to connectpaths on the door, and move the door either according to a script_vector kvp or some other method. If this also opens a new zone, you will want to set the flag for that zone.
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Seems simple enough, I can write 1 up for you real quick. You only want 3 teddies to be shot then the door opens? Also will this be a zone where zombies will spawn in, if so what will be the script_flag. ex enter_zone1?
Seems simple enough, I can write 1 up for you real quick. You only want 3 teddies to be shot then the door opens? Also will this be a zone where zombies will spawn in, if so what will be the script_flag. ex enter_zone1?
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
Thanks that would be awesome!! Teddies were just an example. I'm making a custom model to shoot at. Its called a Cylon Transponder (picture here - https://c2.staticflickr.com/4/3303/3207201773_6a8a35c57d.jpg )
Id like to have 5 or 6 of them in the map. Once you shoot them all a door will open, and you can buy the end game in there. It will not be a new zone. The zombies will not be spawning in there. But Id like them to still be able to follow you into the room.
THANKS
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
There is a tut that comes with already made teddy prefabs, I'm almost certain is on here if not zm. But it comes with the script set up for a door(which is really big so I didn't use it) three bears and a script set up for the three but you can add more easily by copying the script for one teddy and changing the kyp numbers on it for more and change how many bears it takes to open one door which is just changing 3 to let's say 5.
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
If your talking about this, http://ugx-mods.com/forum/index.php?topic=2880.0, it also doesn't connectpaths for the zombies, and is in some serious need of updating, lol. I wrote that sooo long ago. I would not use that now, unless it was your only option. Everything can be done much more dynamically, easier, and prettier. I should probably update that now... or just ask that it be deleted, lol.
Seems simple enough, I can write 1 up for you real quick. You only want 3 teddies to be shot then the door opens? Also will this be a zone where zombies will spawn in, if so what will be the script_flag. ex enter_zone1?
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Have you written a script yet ?
Sorry, been busy with real life stuff over the past few days. In fact, I dont have much time to map/script these days, so if someone else can help you that will be super. If not, I will try to get to it as soon as I can
If your talking about this, http://ugx-mods.com/forum/index.php?topic=2880.0, it also doesn't connectpaths for the zombies, and is in some serious need of updating, lol. I wrote that sooo long ago. I would not use that now, unless it was your only option. Everything can be done much more dynamically, easier, and prettier. I should probably update that now... or just ask that it be deleted, lol.
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Hey MakeCents, thezombiekilla6 can't make this anymore. Is there anyway you could help me do it ? I can't find anyone else that knows how.