View Single Post
Author Message
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 11-04-2009 , 03:01   Unapprove Me! ~~ [CS:S] Surf Config
Reply With Quote #1

Warning: Do Not Use. Plugin crashes servers and is not supported at this time.

Information:
  • Surf Config is designed to be a nearly all-in-one solution for anyone that wants to host a surf server yet do not want to burden their servers with death match or numerous plugins.
Features:
  • Almost every feature is able to be enabled or disabled via a configuration file, if you do not want a specific module to be running.
  • Respawn Module
    • If enabled, players may receive a limited number of respawns, an infinite number of respawns, no respawns, or only one spawn granted to new players.
    • The amount of respawns a player receives may be modified, as well as the delay between respawns, and even the ability to disable respawns after a period of time.
  • Teleportation Module
    • If enabled, players receive access to sm_tele and sm_recall which return them to their spawning position.
    • The duration between teleport commands, the length of time required to wait before teleporting, and the ability to cancel a teleport if a player moves too far are provided.
  • Spawn Protection Module
    • If enabled, players are protected for a specified number of seconds upon spawning.
  • Additional Features
    • Dynamic Loading: You can disable or enable the script globally via sm_surfcfg_enable, or set the variable to -1 and it will only enable on surf or slide maps.
    • Coloring: If enabled, a separate color for each team may be assigned upon spawning.
    • Bunny Assistance: If enabled, players receive a modifiable upward and forward push upon jumping.
    • No Block: If enabled, player collisions are disabled upon spawning.
    • Buy Zone Removal: If enabled, buy zones will be removed from the current map.
    • Air Acceleration Monitoring: Allows you to keep a specified value for sv_airaccelerate to overwrite map modifications.
    • Chat Notifications: Ability to enable or disable all notifications, or only allow notifications for the Teleportation or Respawn module.
    • Chat Display: Customize Surf Config for your server with a prefix attached to any chat notification.

Installation:
  • Place surf_cfg.gamedata.txt into the following directory: /addons/sourcemod/gamedata/
  • Place surf_cfg.smx into the following directory: /addons/sourcemod/plugins/

Credits:
  • sumguy14: For his BunnyHop script, most of the code regarding it is his, I've only rewritten it to match my own coding style.
  • Fredd: For the general idea; this plugin stems from being unsatisfied with his creation.
  • psychonic: For bringing up the 64 player array issue.

Change Log:
  • v1.0: Script Repeased.
  • v1.1: Fixed several silly programming mistakes; Added sm_surfcfg_notify_mode to give server hosts control over messages set to clients, which are now much more user friendly; Fixed a few invalid Handle errors due to improper use of handles; Added a global timer to make sm_teleport cooldown provider user feedback.
  • v1.2: Fixed sm_surfcfg_version not being correct; Fixed a mistake in sm_teleport that allowed consecutive stringing of commands.
  • v1.3: Fixed more silly handle issues; fixed an issue where the previous map's handle was not deleted on map change, causing the time to double,triple,etc; changed the map config directory to surf_cfg, to match the actual script name.
  • v1.4: Fixed an issue where the global timer was not reset on a new round; Removed sm_surfcfg_respawn_mode 2 and replaced it with a functional sm_surfcfg_respawn_new_players convar which spawn players if they join late
  • v1.5: Fixed an issue that would cause 64 slot surf servers to have issues while using this plugin. Removed accidental {HoM} branding on the plugin information.
  • v1.6: Added sm_surfcfg_display, sm_surfcfg_teleport_cancel, sm_surfcfg_teleport_distance. Dynamic detection of "slide" maps to sm_surfcfg_enabled, and reorganized and redefined all variables for Surf Config.

To Do List:
  • Any Requests?
Attached Files
File Type: sp Get Plugin or Get Source (surf_cfg.sp - 1482 views - 23.5 KB)
File Type: txt surf_cfg.gamedata.txt (573 Bytes, 770 views)
__________________

Last edited by thetwistedpanda; 09-05-2010 at 12:36.
thetwistedpanda is offline