[L4D2] Survivor Bot Holdout (1.0) [02-Jul-2012]







About:
  • Create Francis, Louis and Zoey to holdout their surrounding area.

  • Bots are frozen and throw items just as they do on "c6m3_port".

  • A file called l4d2_holdout.nut is saved to your servers \left4dead2\left4dead2\scripts\vscripts\ folder and is required to function.





Known Bugs:
  • Bill does NOT work, do not request.

  • No control over which items are thrown.

  • Cannot use this plugin on "c6m1_riverbank" or "c6m3_port" maps.





Thanks:
  • Don't Fear The Reaper

  • disawar1

  • Herbie

  • Zbeer





Admin Commands: (requires "z" flag)




PHP Code:







sm_holdout        // Saves to the config for auto spawning or Deletes if already saved. Usage: sm_holdout <1=Francis, 2=Louis, 3=Zoey> [weapon name, eg: rifle_ak47].

sm_holdout_temp   // Spawn a temporary survivor (not saved). Usage: sm_holdout_temp <1=Francis, 2=Louis, 3=Zoey> [weapon name, eg: rifle_ak47].

sm_holdout_give   // Makes one of the survivors give an item. 











CVars:



Saved to l4d2_holdout.cfg in your servers \cfg\sourcemod\ folder.




PHP Code:







// 0=Plugin off, 1=Plugin on.

l4d2_holdout_allow "1"



// 0=No. 1=Give the survivors laser sights.

l4d2_holdout_lasers "1"



// 0=No. The chance out of 100 for Louis to get a minigun.

l4d2_holdout_minigun "75"



// Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).

l4d2_holdout_modes ""



// Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).

l4d2_holdout_modes_off ""



// Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.

l4d2_holdout_modes_tog "0"



// 0=Off, 1=Prevent spawning a bot if someone is already using their character.

l4d2_holdout_prevent "0"



// 0=Off, -1=Infinite. How many items can survivors throw in total.

l4d2_holdout_throw "-1"



// 0=Off. Maximum time before allowing the survivors to give an item.

l4d2_holdout_time_max "90"



// 0=Off. Minimum time before allowing the survivors to give an item.

l4d2_holdout_time_min "45"



// Survivor Bot Holdout plugin version.

l4d2_holdout_version 











Installation:
  1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
















Attached Files





File Type: sp


Get Plugin or
Get Source (l4d2_holdout.sp - 28.3 KB)








Orignal From: [L4D2] Survivor Bot Holdout (1.0) [02-Jul-2012]

No comments

Not a single link is allowed to submit in comment :o