Hello,
This is my first plugin. I didnt code much, I just took some plugins and mixed them and edited them a bit. I've coded this plugin to make versus games more hard.
I've used the codes of these plugins:
http://forums.alliedmods.net/showthread.php?t=113492
http://forums.alliedmods.net/showthread.php?t=111367
http://forums.alliedmods.net/showthread.php?t=110674
I hope the authors won't get mad at me
I just wanted to improve and mix their codes.
You need to install SDK hooks to get this plugin working.
Here are my cVars:
// New value for tank health.
// -
// Default: "6000"
l42_edit_tank_health "6000"
// Enable hardcore witch (Witch kills you with one shot).
// -
// Default: "1"
l42_hardcore_witch "1"
// New value for ammo for hunting rifles (works only Switch T2 and T3 weapons with T1 enabled)
// -
// Default: "150"
l4d2_HRMaxAmmo "150"
// New value for ammo for SMG weapons (works only Switch T2 and T3 weapons with T1 enabled)
// -
// Default: "650"
l4d2_SMGMaxAmmo "650"
// New value for ammo for shotguns (works only Switch T2 and T3 weapons with T1 enabled)
// -
// Default: "56"
l4d2_ShotgunMaxAmmo "56"
// What to do with defibs? (0 = Keep them, 1 = Remove all of them, 2 = Replace all of them with pills, 3 = Replace the ones out of saferoom with pills, 4 = Keep them but make defibbed player black and white).
// -
// Default: "2"
l4d2_edit_defibs "2"
// What to do with medkits? (0 = Keep them, 1 = Remove all of them, 2 = Replace all of them with pills, 3 = Replace the ones out of saferoom with pills).
// -
// Default: "2"
l4d2_edit_medkits "2"
// New value for survival bonus for each player.
// -
// Default: "100"
l4d2_edit_survival_bonus "100"
// New value for tie breaker bonus for team.
// -
// Default: "100"
l4d2_edit_tie_bonus "100"
// Force tank and witch on every round.
// -
// Default: "1"
l4d2_force_tank_and_witch "1"
// Infected spawn delay. (secs)
// -
// Default: "20"
l4d2_infected_spawn_delay "20"
// Plugin Version.
// -
// Default: "1.0"
l4d2_ispirto_Version "1.0"
// Enable Plugin.
// -
// Default: "1"
l4d2_ispirto_enabled "1"
// Remove M60 rifles.
// -
// Default: "1"
l4d2_m60 "1"
// Remove ammo upgrades.
// -
// Default: "1"
l4d2_remove_ammo_upgrades "1"
// Remove Chainsaws.
// -
// Default: "1"
l4d2_remove_chainsaw "1"
// Remove Laser Sights.
// -
// Default: "1"
l4d2_remove_laser "1"
// Remove grenade launchers.
// -
// Default: "1"
l4d2_remove_launcher "1"
// Switch T2 and T3 weapons with T1
// -
// Default: "1"
l4d2_switch_T2_and_T3 "1"
Let me know if you find bugs. I can also take suggestions.