Raised This Month: $154 Target: $400
 38% 

TF2: Bonus Round Gravity


Post New Thread Reply   
 
Thread Tools Display Modes
Author
deltron
Junior Member
Join Date: Feb 2008
Plugin ID:
364
Plugin Version:
1.2
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    5 
    Plugin Description:
    Allows the gravity of players on the winning and losing teams to be set independently during the bonus round.
    Old 04-25-2008 , 11:46   TF2: Bonus Round Gravity
    Reply With Quote #1

    A simple plugin that enables the gravity of players on the winning and losing teams to be changed independently during the bonus round in TF2 (the time after a round ends when the losing team cannot shoot).

    This is purely for fun, but it does make for some good air-shooting practice at the end of a round

    Enabled/disabled via: sm_tf2_bonus_grav_enabled (default is enabled)
    Winning team gravity set via: sm_tf2_bonus_grav_winners (default is 0.1)
    Losing team gravity set via: sm_tf2_bonus_grav_losers (default is 0.1)

    Obviously the gravity is reset at the start of the next round!

    This should work with all recent stable versions of SourceMod (the new TF2 extension is not used).
    Attached Files
    File Type: sp Get Plugin or Get Source (tf2-bonusround-gravity.sp - 1925 views - 4.6 KB)

    Last edited by deltron; 05-13-2008 at 04:35. Reason: Update to version 1.2
    deltron is offline
    huck529
    Junior Member
    Join Date: Apr 2008
    Old 04-27-2008 , 10:43   Re: TF2: Bonus Round Gravity
    Reply With Quote #2

    is it true,that u can't set diffrent values,like winners 1 and losers 0.1?
    huck529 is offline
    FunTF2Server
    Veteran Member
    Join Date: Apr 2008
    Old 04-27-2008 , 13:30   Re: TF2: Bonus Round Gravity
    Reply With Quote #3

    I don't get how default is 0.1. Isn't default gravity 800?

    If I want winners to have gravity of 500 and losers gravity of 2000, what do I set your mod cvars to?
    __________________
    FunTF2Server is offline
    deltron
    Junior Member
    Join Date: Feb 2008
    Old 04-28-2008 , 15:49   Re: TF2: Bonus Round Gravity
    Reply With Quote #4

    Quote:
    Originally Posted by huck529 View Post
    Is it true that you can't set different values, like winners 1 and losers 0.1?
    No, that's the point of the two cvars, so that the gravity can be set for each team independently.
    deltron is offline
    deltron
    Junior Member
    Join Date: Feb 2008
    Old 04-28-2008 , 15:58   Re: TF2: Bonus Round Gravity
    Reply With Quote #5

    Quote:
    Originally Posted by FunTF2Server View Post
    I don't get how default is 0.1. Isn't default gravity 800?

    If I want winners to have gravity of 500 and losers gravity of 2000, what do I set your mod cvars to?
    The default gravity is 1.0. The cvar setting is a float value that is parsed to the SourceMod SetEntityGravity function, it's not the same as the sv_gravity.

    0.01 is the lowest gravity setting and 2.0 is the highest.
    deltron is offline
    FunTF2Server
    Veteran Member
    Join Date: Apr 2008
    Old 04-28-2008 , 16:02   Re: TF2: Bonus Round Gravity
    Reply With Quote #6

    Quote:
    Originally Posted by deltron View Post
    The default gravity is 1.0. The cvar setting is a float value that is parsed to the SourceMod SetEntityGravity function, it's not the same as the sv_gravity.

    0.01 is the lowest gravity setting and 2.0 is the highest.
    So a setting of 0.5 for the gravity would give about half the normal game gravity, and a setting of 2.0 would give double the normal game gravity?

    or...?
    __________________
    FunTF2Server is offline
    deltron
    Junior Member
    Join Date: Feb 2008
    Old 04-28-2008 , 18:49   Re: TF2: Bonus Round Gravity
    Reply With Quote #7

    Quote:
    Originally Posted by FunTF2Server View Post
    So a setting of 0.5 for the gravity would give about half the normal game gravity, and a setting of 2.0 would give double the normal game gravity?
    Correct.
    deltron is offline
    FunTF2Server
    Veteran Member
    Join Date: Apr 2008
    Old 04-28-2008 , 21:18   Re: TF2: Bonus Round Gravity
    Reply With Quote #8

    Quote:
    Originally Posted by deltron View Post
    Correct.
    Why is max 2.0?

    What happens if I want losing team to have 8x gravity? 8.0 wouldn't work?
    __________________
    FunTF2Server is offline
    huck529
    Junior Member
    Join Date: Apr 2008
    Old 05-01-2008 , 06:36   Re: TF2: Bonus Round Gravity
    Reply With Quote #9

    this is not working for me with diffrent values
    huck529 is offline
    FunTF2Server
    Veteran Member
    Join Date: Apr 2008
    Old 05-01-2008 , 06:49   Re: TF2: Bonus Round Gravity
    Reply With Quote #10

    Hey this plugin is working but it's flooding my errors.log file with tons of messages, maybe you can fix it

    Code:
    L 05/01/2008 - 00:04:51: SourceMod error session started
    L 05/01/2008 - 00:04:51: Info (map "pl_goldrush") (file "errors_20080501.log")
    L 05/01/2008 - 00:04:51: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 00:04:51: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 00:04:51: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 00:05:07: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 00:05:07: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 00:05:07: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 00:10:46: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 00:10:46: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 00:10:46: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 00:11:02: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 00:11:02: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 00:11:02: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 00:16:42: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 00:16:42: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 00:16:42: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 00:16:57: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 00:16:57: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 00:16:57: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 00:22:37: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 00:22:37: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 00:22:37: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 00:22:52: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 00:22:52: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 00:22:52: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 00:28:32: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 00:28:32: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 00:28:32: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 00:28:47: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 00:28:47: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 00:28:47: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 00:34:27: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 00:34:27: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 00:34:27: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 00:34:42: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 00:34:42: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 00:34:42: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 00:40:22: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 00:40:22: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 00:40:22: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 00:40:38: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 00:40:38: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 00:40:38: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 00:46:17: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 00:46:17: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 00:46:17: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 00:46:33: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 00:46:33: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 00:46:33: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 00:52:13: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 00:52:13: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 00:52:13: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 00:52:28: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 00:52:28: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 00:52:28: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 00:58:08: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 00:58:08: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 00:58:08: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 00:58:23: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 00:58:23: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 00:58:23: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 01:04:03: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 01:04:03: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 01:04:03: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 01:04:18: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 01:04:18: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 01:04:18: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 01:09:58: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 01:09:58: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 01:09:58: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 01:10:13: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 01:10:13: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 01:10:13: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 01:15:53: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 01:15:53: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 01:15:53: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 01:16:09: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 01:16:09: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 01:16:09: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 01:21:49: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 01:21:49: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 01:21:49: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 01:22:04: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 01:22:04: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 01:22:04: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 01:27:44: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 01:27:44: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 01:27:44: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 01:28:17: Error log file session closed.
    L 05/01/2008 - 05:24:39: SourceMod error session started
    L 05/01/2008 - 05:24:39: Info (map "pl_goldrush") (file "errors_20080501.log")
    L 05/01/2008 - 05:24:39: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 05:24:39: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 05:24:39: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 05:24:55: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 05:24:55: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 05:24:55: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 05:30:34: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 05:30:34: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 05:30:34: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 05:30:50: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 05:30:50: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 05:30:50: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 05:36:30: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 05:36:30: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 05:36:30: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 05:36:45: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 05:36:45: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 05:36:45: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 05:42:25: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 05:42:25: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 05:42:25: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 05:42:40: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 05:42:40: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 05:42:40: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 05:48:20: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 05:48:20: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 05:48:20: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    L 05/01/2008 - 05:48:35: [SM] Native "IsClientInGame" reported: Client index 25 is invalid
    L 05/01/2008 - 05:48:35: [SM] Debug mode is not enabled for "tf2-bonusround-gravity.smx"
    L 05/01/2008 - 05:48:35: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 27 on
    __________________
    FunTF2Server is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 15:36.


    Powered by vBulletin®
    Copyright ©2000 - 2017, vBulletin Solutions, Inc.
    Theme made by Freecode