I wanted help with scripting a perk that would multiply your clip and max ammo size by 1.5. I don't know exactly what zombiemodes I would have to edit. I'm not asking anyone to script this for me, I just would like some help getting started. I have almost no scripting experience but I assume this won't be that difficult.
I wanted help with scripting a perk that would multiply your clip and max ammo size by 1.5. I don't know exactly what zombiemodes I would have to edit. I'm not asking anyone to script this for me, I just would like some help getting started. I have almost no scripting experience but I assume this won't be that difficult.
OK thank you, but if its a dvar where would I write the script. Thank for the help I'll try to make not as painful as possible. Also, would this work: if( self hasperk("specialty_recon")) { player_clipSizeMultiplier 1.5 } Double Post Merge: June 10, 2016, 11:15:31 pm
OK thank you, but if its a dvar where would I write the script. Thank for the help I'll try to make not as painful as possible. Also, would this work: if( self hasperk("specialty_recon")) { player_clipSizeMultiplier 1.5 }
Well I heard this was wrong in the chat so....... I don't know what I'd put, am I off by a lot?
Last Edit: June 10, 2016, 11:15:31 pm by Croomer555
OK thank you, but if its a dvar where would I write the script. Thank for the help I'll try to make not as painful as possible. Also, would this work: if( self hasperk("specialty_recon")) { player_clipSizeMultiplier 1.5 } Double Post Merge: June 10, 2016, 11:15:31 pmWell I heard this was wrong in the chat so....... I don't know what I'd put, am I off by a lot?
That's a dvar for the host only. You can set it locally but you'll still reload at the normal amount.
Nevermind I understand now. So now I was wondering, could I make the perk unobtainable on co-op modes?
I don't know what perk script your using but there is usually a place where it waits to be triggered. After that it does some checks and if one of those checks says they can't have that perk, such as downed, or not enough points, then it continues back to waiting to be triggered again. You could add another check after that waittill trigger that checks how many players there are and then if the size of players was > 1, maybe say something like this isn't available in coop, and then continue back and wait to be triggered again...?
Last Edit: June 12, 2016, 02:58:26 am by MakeCents
If you want scripts / features made for you, then contact me by PM or email / skype etc it will cost you tho so if you have no intention of reciprocating don't even waste my time
If using my perks - co-op / solo only perks are already supported
I am using your perks. I took the script of Revive in zombiemode_perks.gsc and modified a little. I was wondering if this script would work for disabling my perk in co-op. http://hastebin.com/efiyivuyun.erl Also, would this work for giving the host a clip size a multiplier of 1.5 for every gun.
I am using your perks. I took the script of Revive in zombiemode_perks.gsc and modified a little. I was wondering if this script would work for disabling my perk in co-op. http://hastebin.com/efiyivuyun.erl Also, would this work for giving the host a clip size a multiplier of 1.5 for every gun.
yes that will edit it for co-op
Last Edit: July 11, 2016, 08:14:09 am by Harry Bo21