Posts
191
Respect
29Add +1
Forum Rank
Pack-a-Puncher
Primary Group
Donator ♥
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!Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
I believe I know what you mean, and I think I know a good way to accomplish this. Give me a few minutes while I write it up and test it
in your mapname.gsc under maps\_zombiemode::main(); put
at the bottom of the file put
at the top you will see
level.deposited_points = 0; do not modify this, since they will have deposited 0 points at the start of the map anyway
level.amount_required = 5000; this will be how much they need to have the door open, so change that to whatever you want
level.deposit = 1000; //this is how much the players deposit at a time, in this case everytime they press F they will deposit 1000 till they hit the amount_required which in this case is 5000.
bank_door = getent, is the KVP in radiant. The first "" is the value in this case bank_door, the second "" is the key, most of the time its targetname. change the first value to whatever you want to be on the door. Make sure its a script_brushmodel in radiant
same thing with the trig, make a trigger_use in radiant with the kvp then change it in that line. Make sure to keep the parenthesis.
the rest should be relatively the same. if you change one of the values at the top, the script will automatically change it when its suppose to
at the bottom you will see you change that to the name of your zone that you set up like a normal zone. This will allow the zombies to spawn once the zone is activated.
That should cover it, any questions feel free to ask
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Ya you dont need that kvp. The flag_set in the script is replacing the script_flag in radiant, so it is automatically activating that zone just like it would if you bought the door normally
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
I threw this together out of treyarchs perks script
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Thank!
Now, sorry for being a newbie...but where do I put these scripts and where would I thread them? I'm not entirely sure where I would do that
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |