![](https://www.ugx-mods.com/forum/Themes/UGX-Mods/images/provider/codwaw.png)
![](https://www.ugx-mods.com/forum/Themes/UGX-Mods/images/provider/skype.png)
![](https://www.ugx-mods.com/forum/Themes/UGX-Mods/images/provider/steam.png)
![](https://www.ugx-mods.com/forum/Themes/UGX-Mods/images/provider/twitch.png)
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!#using scripts\zm\zm_custom_perk_shader;
#using scripts\zm\_zm_perk_custom_perk;
level thread custom_perk_shader::custom_perk_shaders_init();
#using scripts\zm\_zm_perk_custom_perk;
// custom perk shader script by Matarra
scriptparsetree,scripts/zm/zm_custom_perk_shader.gsc
// custom perk
scriptparsetree,scripts/zm/_zm_perk_custom_perk.gsc
scriptparsetree,scripts/zm/_zm_perk_custom_perk.csc
scriptparsetree,scripts/zm/_zm_perk_custom_perk.gsh
xmodel,kh_elemental_nade_vending // CHANGE THESE TO YOUR VALUES - XMODEL NAME FOR YOUR MACHINE
material,kh_perk_elemental_nades // CHANGE THESE TO YOUR VALUES - THIS IS YOUR PERK SHADER MATERIAL NAME
"specialty_customperk", "script_noteworthy"
"your xmodel name for perk machine", "model"
CUSTOM_SHADER
#precache( "material", "kh_perk_elemental_nades" ); // CHANGE THIS TO YOUR PERK SHADER
zm_perks::register_perk_basic_info( PERK_CUSTOM_PERK, "customperk", CUSTOM_PERK_COST, "Hold [{+activate}] for Elemental-Nades [Cost: &&1]", GetWeapon( CUSTOM_PERK_BOTTLE_WEAPON ) );
trigger = GetEnt("vending_customperk", "target"); // CHANGE THIS TO YOUR PERK MACHINE NAME
trigger SetHintStringForPlayer(self, "Hold [{+activate}] for Elemental-Nades [Cost: 3000]"); // CHANGE THIS TO YOUR HINTSTRING ABOVE
give_custom_perk()
take_custom_perk( b_pause, str_perk, str_result )
copy the gsc, gsh, and csc. And you would have to rename a bunch of variables. Then put #using in your mapname GSC and CSC. Also add them too your zone file. Its gonna take a bit of scripting knowledge to figure out and i'd prefer people to try to learn it themselves. It makes it much easier to understand treyarchs coding down the line
How do I select individual objects in a prefab?
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
It just lets me spam buy it even if i already have it
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
I made a custom model for the perk machine and bottle weapon. How do I refer to them in the gsh though? I don't tink just putting the name in from APE works.
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() UGX V.I.P. | |
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Okay I have no idea why this has happened because it was working alright earlier, but now whenever I buy the custom perk, this happens:This is obviously very broken and I don't know why. I checked through all the files a million times to see that I've followed the tutorial, but maybe I'm missing something? The last thing I was doing was trying to get the custom models for the perk machine, bottle and shader to work (which by the way, the perk machine model does work). Any ideas?
- There is no animation involving the drinking of the perk
- The shader doesn't appear
- The actual perk effect doesn't happen
- Player can no longer sprint or knife
- Seems to nullify the effects of Solo quick revive (maybe other perks; I haven't really tested)
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
Its not properly giving you perks weaponfile, thats why you cant sprint/knife and animation doesnt play