UGX-Mods

Call of Duty 5: World at War => Help Desk => Mapping => Topic started by: suckafoola on August 05, 2015, 06:02:32 am

Title: Make door/debris relock?
Post by: suckafoola on August 05, 2015, 06:02:32 am
It's a weird question, but basically is there a way so that players can buy a door or debirs, go past it, and then the door/debris respawns behind them locking them out of the area they were just in?
Title: Re: Make door/debris relock?
Post by: thezombieproject on August 05, 2015, 07:00:15 am
well if i was going to do this i would maybe put a trigger multiple on the other side of the door and script it so if all players are touching the trigger the door closes behide them and trigger deletes.   If u close that door you dont want zombies to spawn in the previous zone because the door will be closed. so u would have to set your zones up so they only spawn in the new zone / area.
Title: Re: Make door/debris relock?
Post by: suckafoola on August 05, 2015, 02:19:14 pm
Do you think you can help me out with the scripting?
Title: Re: Make door/debris relock?
Post by: thezombieproject on August 05, 2015, 10:53:06 pm
yea I'll see what I can do its a fairly easy script I'll make one tonight
Title: Re: Make door/debris relock?
Post by: suckafoola on August 05, 2015, 11:39:10 pm
Great, thanks! I'm looking forward to it :)
Title: Re: Make door/debris relock?
Post by: thezombieproject on August 06, 2015, 02:26:20 am
ok ill pm u later i had a script for something like this already that i made im going to tweak it then we can test it. do u want fx or sounds or text on screen when door closes. let me no so i can implant what u need or do u want basic. also do u want to have more then one of these doors in your map or just one.

let me know :)
Title: Re: Make door/debris relock?
Post by: suckafoola on August 06, 2015, 02:41:11 am
Think of it as like choosing only one direction that players can go. Once they pick a direction then they're going to stick to that direction and the debris/door that they bought would reappear once all players have crossed, and the door would be unbuyable (OR cost a higher price) and it keeps going and going for every different room. Same concept. You get me?

As for the fancy stuff, I'd say just stick to something basic and maybe implement more along the way :)

And as I mentioned above, there would be multiple debirs/doors.
Title: Re: Make door/debris relock?
Post by: thezombieproject on August 06, 2015, 05:16:38 am
no i understand lol i just need to double check details before scripting so i know what approach to take.  The script is finished if you u want to test coop? I made it so you can add as many doors as you want and you dont have to do any additional scrpting to do so, pretty much just copy and past doors where ever you want them.  Also i made it so any zombies that get left behind will die off. That way zombies dont get stuck on the other side of the door.
Title: Re: Make door/debris relock?
Post by: suckafoola on August 06, 2015, 05:50:25 am
Awesome man! I'd love to test it out, but it'll have to wait for tomorrow I gotta get some rest. I'll keep in touch tomorrow and we can test it :)
Title: Re: Make door/debris relock?
Post by: ShotgunRagtime on August 06, 2015, 06:14:54 am
Huh, this is actually a really good idea. I can see this script being useful in a lot of different maps. Maybe put the script in the "Downloadable Items for Mappers" section?

Can't wait to see what you do with it OP  ;)
Title: Re: Make door/debris relock?
Post by: Centric on August 06, 2015, 01:49:44 pm
I'm rather interested in what the zombies are going to do when you block off the only path between you and them.
Title: Re: Make door/debris relock?
Post by: BluntStuffy on August 06, 2015, 01:51:38 pm
I'm rather interested in what the zombies are going to do when you block off the only path between you and them.


... Also i made it so any zombies that get left behind will die off. That way zombies dont get stuck on the other side of the door.
Title: Re: Make door/debris relock?
Post by: suckafoola on August 06, 2015, 02:23:15 pm
Huh, this is actually a really good idea. I can see this script being useful in a lot of different maps. Maybe put the script in the "Downloadable Items for Mappers" section?

Can't wait to see what you do with it OP  ;)

I feel a lot more pressure now lol. I'm a novice at the whole map making thing, and my map is still in its early alpha stage, but I'm trying to learn as much as I can. Quite frankly I've learned more here than I did in my programming class .-.

But yeah I'm trying to think of ways how I'll make this idea work out in my map, but it's gonna take some time :)