Hello, I was wanting to make a perk that changes the box price to 700 and it spins twice as fast. Approaching this, I looked at _zombiemode_weapons and BYZMODZ's Paranormal Potion script. It contains the following:
_zombiemode_weapons has the following script for the price:
Because we are given a full function, I don't know how to implement this into the perk's function. Any help would be appreciated, I am still not sure about halving the time it takes. Thank you!!
in _zombiemode_weapons.gsc find treasure_chest_think()
under
place
that should reduce the price with this perk, the string wont change though, theres a way to do this but it would take lot more, as for faster box spinning...
find treasure_chest_weapon_spawn( chest, player )
and replace
with
that will make it randomize twice as fast
Last Edit: November 16, 2016, 04:51:16 pm by death_reaper0
Wow, you are incredible! Thank you very much! I do not have modtools installed right now, I kept receiving errors and I uninstalled them and want to make sure I do it right this time. However, I will install them tonight and get back to you very soon. Quick question: what should I put in the script, because it contains all of the functions for playing the song, waiting till power is on, etc. Can I just delete the if-then statement and it will run smoothly? Thanks again!!
Quick question: what should I put in the script, because it contains all of the functions for playing the song, waiting till power is on, etc. Can I just delete the if-then statement and it will run smoothly? Thanks again!!
i dont really know what you mean by that, follow these instructions and changing the specialty_PERK_SPECIALTY to your perks specialty will run it fine in stock scripts
Tonight (in America, so about 6 or 7 hours), I'll get home and I can attach the file on scriptz's Paranormal Potion. You can then see what you think and what you would do. Double Post Merge: November 17, 2016, 03:33:49 amAlrighty, so scriptz has the following script for Paranormal Potion:
In Radiant, he has a prefab with a trigger, model, and script_struct. KVP's include:
How should I change this, because I believe it is specific to the previous script. Also, what would I put in my script_struct and trigger KVP's if I only edit in _zombiemode_weapons?
Last Edit: November 17, 2016, 03:33:49 am by BrandynNew
Here's what I'm thinking: Change the stuff in your first reply, Use the script you placed last and integrate it as scriptz did, Change the hintstring as you said, And use the same KVP's, of course changing the specialty_ and pp to boxbooze.
If that's it, I should have it put together very soon. I plan on releasing it on UGX.
Here's what I'm thinking: Change the stuff in your first reply, Use the script you placed last and integrate it as scriptz did, Change the hintstring as you said, And use the same KVP's, of course changing the specialty_ and pp to boxbooze.
If that's it, I should have it put together very soon. I plan on releasing it on UGX.
DO NOT CHANGE THE SPECIALTY! waw perks (at least how these ones are set up, my system uses player variables now) needs specific specialtys from MP to work, you simply cant make one yourself, leadfoot should be fine unless its used by another perk
Yes, I understand. I watched one of zomb1e-kllr's videos on youtube, and he showed a picture of the WaW multiplayer perks or specialty's as he made his own custom perk. I then looked at Harry's perk's specialties, and what Paranormal Potion had. With those, there are about ten left to choose from. If I wanted PP, Harry's perk's, and mine, they need to all be different, correct?
Yes, I understand. I watched one of zomb1e-kllr's videos on youtube, and he showed a picture of the WaW multiplayer perks or specialty's as he made his own custom perk. I then looked at Harry's perk's specialties, and what Paranormal Potion had. With those, there are about ten left to choose from. If I wanted PP, Harry's perk's, and mine, they need to all be different, correct?
each perk needs its own specialty, if two have the same then they will be considered as the same perk, this is a list of working specialties ive gathered, there may be more but i havent seen any
make sure the one you choose isnt being used by another perk first though