Call of Duty 5: World at War => Tutorial Desk => Scripting => Topic started by: gympie6 on June 06, 2018, 06:59:50 pm
Title: How to make a Custom Perk (For beginners) Basics
Post by: gympie6 on June 06, 2018, 06:59:50 pm
Introduction Now I don't see a good tutorial about how to make a custom perk so I decide to create one myself. This is the tutorial where I am going to explain you every step have to make a custom perk. (https://steamuserimages-a.akamaihd.net/ugc/930436309169153982/566BBEE72D68F967E1CE0FAB3C50AAC1DA8F5146/)
These are the perks that are used in Bo2 (Can't be used if you installed jei9363 perk/perks)
specialty_shades: Reduces the effects of flares/stun grenades (Elecric Cherry) specialty_ordinance: Faster firing main tank gun (Vulture Aid)
These are free and can be used!
specialty_fireproof: Reduce the effects of the flamethrower specialty_gpsjammer: Conceal yourself from radar specialty_twoprimaries: Overkill specialty_boost: Coaxial Machine Gun(driver gets a machine gun too) specialty_bulletdamage: Stopping Power specialty_bulletpenetration: Deep Impact specialty_explosivedamage: Fireworks - Increase explosive damage specialty_gas_mask: Reduces the effects of gas grenade attacks specialty_grenadepulldeath: Martyrdom specialty_holdbreath: Iron lungs specialty_leadfoot: Increase tank's drive speed specialty_ordinance: Faster firing main tank gun specialty_pin_back: Toss back - resets timer on throwing back grenades specialty_pistoldeath: Last stand specialty_quieter: Dead Silence specialty_specialgrenade: Specials Grenades x 3 specialty_water_cooled: Slows the overheating of tank guns
These are in Cod but doesn't work
X-specialty_doublegrenade: Primary grenade x2 (Doesn't work) X-specialty_flak_jacket: Reduce damage taken from explosives (Doesn't work) X-specialty_greased_bearings: Speed up the rate of rotation of tank turrets (Doesn't work) X-specialty_reconnaissance: Reconnaissance (shows artillery and tanks on map) (Doesn't work) X-specialty_weapon_betty: Bouncing Betty x2 (Doesn't work) X-specialty_weapon_flamethrower: M2 Flamethrower (Doesn't work) X-specialty_weapon_rpg: 2x Rocket Propelled Grenades (Doesn't work) X-specialty_weapon_satchel: Satchel Charges x2 (Doesn't work)
Title: Re: How to make a Custom Perk (For beginners) Basics
Post by: ghetto_wizzz on May 14, 2022, 03:12:47 am
hi again! i followed along this tutorial, and it's very insightful! but i can't seem to figure out the correct KVP's for this too work xD I tried using the key as a targetname, I tried just the specialty name itself,("specialty_longersprint") and I also tried using the name of my perk as well. I have already the KVP script_noteworthy then the specialty as the value, but I still just get the hand symbol and no prompt to purchase it. I also don't have any extra perks downloaded, the ones i made and the original 4 being the only ones. If you know the correct KVP's i should be using please let me know, thanks in advanced! :)
Title: Re: How to make a Custom Perk (For beginners) Basics
Post by: gympie6 on May 14, 2022, 06:02:47 pm
hi again! i followed along this tutorial, and it's very insightful! but i can't seem to figure out the correct KVP's for this too work xD I tried using the key as a targetname, I tried just the specialty name itself,("specialty_longersprint") and I also tried using the name of my perk as well. I have already the KVP script_noteworthy then the specialty as the value, but I still just get the hand symbol and no prompt to purchase it. I also don't have any extra perks downloaded, the ones i made and the original 4 being the only ones. If you know the correct KVP's i should be using please let me know, thanks in advanced! :)
It's a long time I have written this tutorial so I had to refresh my mind. This are the kvp's you need for example:
I think you missed a step somewhere or forgot to compile the map? I hope this can help.
Title: Re: How to make a Custom Perk (For beginners) Basics
Post by: ghetto_wizzz on May 14, 2022, 11:24:55 pm
+1 This is confirmed the correct KVP's and fixed the hand issue! Problem now though is I have it all set up match perfect too how you have in your tutorial, ive also followed along ZombieKillers Tutorial, (To make sure I didn't miss something small or stupid) But nothing. I have the what i believe is the correct Text price setup as shown in the tutorial as well? &
I also have them on the correct thread at the top of zombiemode_perks along with where we setup the targetname and key I assume.
Now the problem is I get in game "Power needs to be on", Like anyother.(Which is clear sign of it working at least) but when I use the switch for power, They still say the same thing. And Also if I gather enough points too purchase one of the perks, It just prompts me with the same vocal line, telling me i don't have enough points. I also tried under the assumption that i would have too add "zombie_vending_"MY PERK NAME", after it, Just under currosity, i even tried using the specialty as well. but then it went back too just being a Hand symbol again. Not sure what I could have missed, maybe something not in the tutorial, or maybe just simple knowledge that most beginner scripters would know, that i do not. Unsure at this point, Sorry to bother you with this all, im sure it is something on my side I missed or somewhere I didn't include the perks or something. Thanks for all your help again gympie, you have an insane amount of talent man!:)
Title: Re: How to make a Custom Perk (For beginners) Basics
Post by: gympie6 on May 15, 2022, 10:03:03 am
+1 This is confirmed the correct KVP's and fixed the hand issue! Problem now though is I have it all set up match perfect too how you have in your tutorial, ive also followed along ZombieKillers Tutorial, (To make sure I didn't miss something small or stupid) But nothing. I have the what i believe is the correct Text price setup as shown in the tutorial as well? &
I also have them on the correct thread at the top of zombiemode_perks along with where we setup the targetname and key I assume.
Now the problem is I get in game "Power needs to be on", Like anyother.(Which is clear sign of it working at least) but when I use the switch for power, They still say the same thing. And Also if I gather enough points too purchase one of the perks, It just prompts me with the same vocal line, telling me i don't have enough points. I also tried under the assumption that i would have too add "zombie_vending_"MY PERK NAME", after it, Just under currosity, i even tried using the specialty as well. but then it went back too just being a Hand symbol again. Not sure what I could have missed, maybe something not in the tutorial, or maybe just simple knowledge that most beginner scripters would know, that i do not. Unsure at this point, Sorry to bother you with this all, im sure it is something on my side I missed or somewhere I didn't include the perks or something. Thanks for all your help again gympie, you have an insane amount of talent man!:)
I think it's best first to follow Zombie Killer's perk tutorial. From him I learned all of this in the past. When you understand how he made it work you can continue creating your own perks.
Title: Re: How to make a Custom Perk (For beginners) Basics
Post by: ghetto_wizzz on May 15, 2022, 07:12:31 pm
Yeah, its just funny how he messed up like twice and still managed to get it too work lol. I also don't quite understand how he got this variable "zombie_vending_black_ops" since he doesn't really show any where that would have been written down as a vari.. But anyways, I tried getting rid of some custom prices, but no luck, so i'll either figure it out myself somehow or ill just scrap that and keep the original 4 only :) Thanks again gympie sorry for being so annoying here!
Title: Re: How to make a Custom Perk (For beginners) Basics
Post by: gympie6 on May 15, 2022, 10:50:09 pm
Yeah, its just funny how he messed up like twice and still managed to get it too work lol. I also don't quite understand how he got this variable "zombie_vending_black_ops" since he doesn't really show any where that would have been written down as a vari.. But anyways, I tried getting rid of some custom prices, but no luck, so i'll either figure it out myself somehow or ill just scrap that and keep the original 4 only :) Thanks again gympie sorry for being so annoying here!
Title: Re: How to make a Custom Perk (For beginners) Basics
Post by: ghetto_wizzz on May 16, 2022, 12:55:48 am
Awesome man, your bo perks worked perfectly since I already had my patch and localized_"mapname" in use! just manually installed and am now recieving no problems ;) Thanks again for all your help gympie, expect too see your name all over my release once it's up haha!