Thanks again for the help, that finally worked! How would I add weapon exceptions to this function? We don't want the Wunderwaffe completely refilling its ammo with one shot!
Thanks again for the help! So I think there's just one final thing I have to do before this can all be brought to a close. You said before that it's possible to spawn the entity that allows the jingles and stings for the new perks to play. What would be the best way to do this? Thanks again for all of your help with this, I couldn't have done any of this without it!
ok, replace the place_perk script with this new one
then the part used to set where they are, eg:
should now have 2 more parts to it (p.s. this will only need to be done for ones your adding the jingle to, if the perk doesnt have a jingle you can skip this for that perk)
now you will have to go into the perk prefab to get the kvps, the first new one ( script_string ) is found on a pink square thing on the perk perk prefab, about halfway up the machine or so, should have kvps similar to this:
the first bit will need to be what the script_string says, this perk is doubletap as an example, and has "tap_perk" for this,
second one is the kvp script_sound, in the example it is "mx_doubletap_jingle"
so if using these in that example it would look like
Thanks once again for the help. I wasn't able to get it to work, but that's most likely because my perk sounds are in the wrong wav format, I'll have to try it again soon.
One last thing before I mark this topic as solved. I was wondering if it was possible to modify the functions of Stamin-Up so that it gives the buyer unlimited sprint, as opposed to just an increased sprint duration. Would that be do-able? Thanks again!