Related Plugins:
About:- Creates the Mustachio Stache Whacker game from Dark Carnival.
- Ability to receive the 'STACHE WHACKER' achievement for 'Proving you are faster than Moustachio. (Needs testing, it might work).
- Triggers a horde when completed.
- Maximum of 2 per map. Saved to l4d2_mustachio.cfg in your servers \addons\sourcemod\data\ folder.
- Uses 46 or more entities.
Thanks:
Admin Commands: (requires "z" flag)
PHP Code:
sm_must // Spawns a Mustachio where your crosshair is pointing.
sm_mustachio // Same as above, but saves the origin and angle to the Mustachio spawns config.
sm_must_clear // Removes the Mustachio games from the current map only.
sm_must_del // Deletes the Mustachio you are pointing at and removes from the config if saved.
sm_must_list // Lists all the Mustachios on the current map and their locations.
sm_must_pos // Displays a menu to adjust the Mustachio angles/origin your crosshair is over. Turn the plugin off/on or reload to fix model positions.
sm_must_wipe // Removes all the Mustachios in game and deletes the current map from the config.
CVars:
Saved to
l4d2_mustachio.cfg in your servers
\cfg\sourcemod\ folder.
PHP Code:
// 0=Plugin off, 1=Plugin on.
l4d2_mustachio_allow "1"
// 0=Off. 1=Turns on the ability to receive the 'STACHE WHACKER' achievement for 'Proving you are faster than Moustachio'. (Needs testing, it might work).
l4d2_mustachio_event "0"
// Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
l4d2_mustachio_modes ""
// Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
l4d2_mustachio_modes_off ""
// Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
l4d2_mustachio_modes_tog "0"
// Mustachio plugin version.
l4d2_mustachio_version
Changes:
Code:
1.6 (11-Dec-2022)
- Changes to fix compile warnings on SourceMod 1.11.
1.5 (30-Sep-2020)
- Fixed compile errors on SM 1.11.
1.4 (10-May-2020)
- Extra checks to prevent "IsAllowedGameMode" throwing errors.
- Various changes to tidy up code.
- Various optimizations and fixes.
1.3 (01-Apr-2020)
- Fixed "IsAllowedGameMode" from throwing errors when the "_tog" cvar was changed before MapStart.
1.2.1 (28-Jun-2019)
- Changed PrecacheParticle method.
1.2 (05-May-2018)
- Converted plugin source to the latest syntax utilizing methodmaps. Requires SourceMod 1.8 or newer.
1.1 (25-Aug-2013)
- Fixed the arcade model not spawning on some maps. Some areas of the affected maps will prevent the model spawning.
1.0 (29-Jul-2013)
- Initial release.
Installation:- Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.