Related Plugins:
About:- Save up to 32 Ammo Upgrade Boxes for auto-spawning. Saved to l4d2_upgrade_spawn.cfg in your servers \addons\sourcemod\data\ folder.
- The ammo boxes are already deployed so users can just take the ammo.
- Do not request any features. If you don't like the plugin then make your own.
Thanks:
Admin Commands: (requires "z" flag)
PHP Code:
sm_upgrade_spawn // Spawns a temporary Upgrade Pack at your crosshair. Usage: sm_upgrade_spawn <type: 1=Incendiary; 2=Explosive; 3=Random>
sm_upgrade_spawn_save // Spawns an Upgrade Pack at your crosshair and saves to config. Usage: sm_upgrade_spawn_save <type: 1=Incendiary; 2=Explosive; 3=Random>
sm_upgrade_spawn_del // Removes the Upgrade Pack you are pointing at and deletes from the config if saved.
sm_upgrade_spawn_clear // Removes all Upgrade Packs spawned by this plugin from the current map.
sm_upgrade_spawn_wipe // Removes all Upgrade Packs from the current map and deletes them from the config.
sm_upgrade_spawn_glow // Toggle to enable glow on all Upgrade Packs to see where they are placed.
sm_upgrade_spawn_list // Display a list Upgrade Pack positions and the total number of.
sm_upgrade_spawn_tele // Teleport to an Upgrade Pack (Usage: sm_upgrade_spawn_tele <index: 1 to MAX_SPAWNS (32)>).
sm_upgrade_spawn_ang // Displays a menu to adjust the Upgrade Pack angles your crosshair is over.
sm_upgrade_spawn_pos // Displays a menu to adjust the Upgrade Pack origin your crosshair is over.
CVars:
Saved to
l4d2_upgrade_spawn.cfg in your servers
\cfg\sourcemod\ folder.
PHP Code:
// 0=Plugin off, 1=Plugin on.
l4d2_upgrade_spawn_allow "1"
// Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
l4d2_upgrade_spawn_modes ""
// Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
l4d2_upgrade_spawn_modes_off ""
// Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
l4d2_upgrade_spawn_modes_tog "0"
// -1=All, 0=None. Otherwise randomly select this many Upgrade Packs to spawn from the maps config.
l4d2_upgrade_spawn_random "-1"
// Upgrade Pack Spawner plugin version.
l4d2_upgrade_spawn_version
Changes:
Code:
1.5 (11-Dec-2022)
- Changes to fix compile warnings on SourceMod 1.11.
1.4 (10-May-2020)
- Extra checks to prevent "IsAllowedGameMode" throwing errors.
- Various changes to tidy up code.
1.3 (01-Apr-2020)
- Fixed "IsAllowedGameMode" from throwing errors when the "_tog" cvar was changed before MapStart.
1.2 (05-May-2018)
- Converted plugin source to the latest syntax utilizing methodmaps. Requires SourceMod 1.8 or newer.
1.1 (11-Aug-2013)
- Fixed the Upgrade Spawn to not fall through the world on some maps.
1.0 (09-Aug-2013)
- Initial release.
Installation:- Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.