TF2 Fun Cvar Settings
2 Attachment(s)
This is a little plugin I made for my server and finally polished up a bit to upload to here. The goal of this plugin is to let you just have some fun while playing a non serious match of TF2. It allows you to change the value of a few locked cvars in TF2. With this plugin you can enable or disable friendly fire, alter the gravity, change the respawn timer, and enable or disable alltalk. (Alltalk isnt a locked cvar, but its useful to allow an admin to turn it on or off for fun games without giving them access to alter other cvars)
All of the commands are added to the admin menu under the Server Commands menu. (If your looking at the sourcecode and wondering why I call it fun_commands, thats because its under a custom menu on my server and I just changed the line that defines fun_commands) You can enable or disable friendly fire and alltalk, as well as select from 5 values for gravity or respawn times. The commands added with this plugin are below. They all have an access flag of custom 1: sm_svgrav <gravity> Sets the gravity in the game to <gravity>. 800 is the default value, lower gravity allows you to jump much higher. sm_svff <1/0> Turns friendly fire on or off. Now you can shoot your team! Some things to note, you cant shoot engy buildings, pyro flames wont hurt team mates, and spys still wont show blood when you shoot them while disguised (but your team mates will:P) sm_svalltalk <1/0> Turns alltalk on or off. Can be fun to turn it on when your having a fun match. sm_mprst <time> Alters the respawn times. Setting this to 0 will give an instant respawn. A value lower than 10 will respawn faster than normal, a value above 10 will respawn slower than normal. The map your playing will also effect how fast you spawn if this is set to anything other than 0. So dont set this to 6 thinking that everybody will allways spawn after 6 seconds, they wont. This seems to also reset to the default value of 10 after a map change. Hope somebody finds this useful. Let me know if there are any other commands you would like added. Also, please let me know if you find any problems with it. |
Re: TF2 Fun Cvar Settings
i think FF will break ballance and game process of TF.
|
Re: TF2 Fun Cvar Settings
Nicely done, especially the menu integration.
|
Re: TF2 Fun Cvar Settings
Quote:
And oooh, thank you for the approval ferret:) |
Re: TF2 Fun Cvar Settings
One of the servers I have running is (and has been for a while) 24/7 Lazytown with Instant Respawn, increased critical rate, birthday mode, medic overheal to 10x life, and alltalk. There's probably more, but I can't think of it right now. It's full 24/7.
|
Re: TF2 Fun Cvar Settings
bl4nk, can you share your mod and or mods?
|
Re: TF2 Fun Cvar Settings
Plugin copied into the plugins folder. sm plugins says it's loaded. It doesn't show up under Server Commands in sm_admin, however. What am I doing wrong?
EDIT: I needed z/root level admin. |
Re: TF2 Fun Cvar Settings
Quote:
Code:
Cvar Default Description |
Re: TF2 Fun Cvar Settings
Hi,
Great plugin! Any chance you can add suddendeath timer controle to it aswell? cheers, |
Re: TF2 Fun Cvar Settings
shouldnt need any plugin to change the sudden death time. Just use the "mp_stalemate_timelimit" command.
If you want something to allow people without cvar access to be able to edit that specific cvar, just let me know what sourcemod access level you would like it set at and I can put something together real quick for ya. |
All times are GMT -4. The time now is 08:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.