*Added Automatic config creation(AdvancedInfiniteAmmo.cfg in tf/cfg/sourcemod/) *Added Infinite Spell Uses(Press reload to remove current spell) *Non-plugin related, removed SDKhooks link and compiled plugin since sdkhooks now comes with sourcemod as of 1.5 and will compile on the forum * Changed Event hooks to EventHookMode_PostNoCopy since the plugin doesn't need to retrieve any values from them * Changed Crusader's Crossbow to ammo mode until Valve decides to fix it's rapid fire with a clip size higher than 1 * Fixed waitingforplayers cvar not removing infinite ammo if it was changed during waitingforplayers *Moved Flamethrowers into the Only Ammo category(They no longer need clip set for airblast ammo) *Fixed Festive Ambassador and Festive Grenade launcher being in ammo section instead of clip section(Thanks to rayguis for pointing it out) *Added Infinite Razorback(Thanks to FlaminSarge for the method idea) *Added Festive Minigun index(No idea why, but I found out it was missing when adding the above code) *Added infinite rage for Heavy Miniguns in MvM(with extrastuff enabled) *Added infinite sniper rifle charge meter(with extrastuff enabled) *Small update, I forgot to add silver/gold botkiller weapons in 1.2.0(Thanks to raygius for messaging me) *Can now set sm_aia_adminonly to 2 to allow the admin command to work on non-admins *Can now set sm_aia_extrastuff to allow/disallow extra things such as ubercharge/rage/hype/etc off to only have ammo related things *Can now set sm_aia_ammoonly to set ammo instead of clip(Must still reload weapon) *Code cleanup in a few areas(Such as caching cvars instead of using GetConVar* in a for loop) * Fixed plugin not detecting mvm wave start
#Sourcemod plugins aia validation code#
* Changed validation code a bit to fix errors * Added sm_aia_bots cvar to control whether bots can receive Advanced Infinite Ammo * Fixed plugin not detecting arena round start * Added weapon indexes from The Triad Pack * AugFixed sm_aia_adminonly being 1 by default, No version change * Moved the Sandman/Wrap Assassin to their own case to make it a bit simpler to enable the admin check, or disable them altogether * Reverted Bonk!/Crit-A-Cola to old plugin behavior(Infinite duration+right click to remove Bonk!) * Beggar's Bazooka now has a hold right-click(alt-fire) option for firing infinite rockets * Added sm_aia_targetflag override to set which admins can target others