It's been awhile. I have no plans to work in BO3 in the near future, so I've decided to release some stuff for the community to use. Keep in mind, I'm not the best scripter.
Make a new .gsc file in the proper scripts folder for your mod or map, and paste all of this into it. Name it whatever you want, or give it it's own namespace. Whatever you want to do. I named the script one_in_the_chamber because I'm creative.
Now need to make it so the max ammo powerup will fill up the clip ammo, not the stock ammo. Copy _zm_powerup_full_ammo.gsc to the proper scripts folder. Find Comment that line out then add this line right after it So it looks like Then need to disable the magic box. I did the lazy way of just commenting out some stuff. Maybe someone knows a better way by now. Copy _zm_magicbox.gsc to the proper scripts folder. Open it and find Just comment that whole if statement out so it looks like Then firesale obviously is useless without mystery boxes so I made it so firesale gives a new weapon to the players with max ammo. Copy _zm_powerup_fire_sale.gsc to the proper scripts folder then open it and somewhere at the top add If you named your script something different then you need to change the one_in_the_chamber part to whatever it is or use the namespace you gave it. Then still in firesale script find Replace that entire function with The minigun powerup. If they pick up the minigun powerup and kill a zombie it will give them one bullet for the minigun and screw things up, so I just made it so minigun powerup gives more ammo. So copy _zm_powerup_weapon_minigun.gsc to the proper scripts folder. Open it and find... and replace that function with So it's just giving 5 bullets instead of full clip.
Okay, finally. The pack a punch machine. I didn't want it active in my version cuz the guns are already strong, then pack a punching would make the game go forever. So, once again; I went the lazy quick route of commenting stuff out. Someone probably found a better way to deactivate pack a punch by now. Copy _zm_pack_a_punch.gsc to the proper scripts folder and open it and find... I just commented every line that had use_trigger in it.
Don't forget to call your script somewhere for your map or mod. Since I did a mod, I called the script in my magicbox script. So the using... Then call the script in a function somewhere that will call it before the players spawn. I did it at the end of function __init__() in _zm_magicbox.gsc
I believe that's everything. I deleted the BO3 tools awhile ago so can't really test the tutorial on my own or really support the tutorial any further. I'm sure some brilliant scripter in the community could make a better script and tutorial but here's this decent one I wrote, now for anyone to use.
Oh, I guess for anyone that wants to see how the mode plays
Last Edit: January 14, 2018, 07:09:32 pm by ConvictioNDR