AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   TF2: Bonus Round Gravity (https://forums.alliedmods.net/showthread.php?t=70457)

deltron 04-25-2008 11:46

TF2: Bonus Round Gravity
 
3 Attachment(s)
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).

huck529 04-27-2008 10:43

Re: TF2: Bonus Round Gravity
 
is it true,that u can't set diffrent values,like winners 1 and losers 0.1?

FunTF2Server 04-27-2008 13:30

Re: TF2: Bonus Round Gravity
 
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?

deltron 04-28-2008 15:49

Re: TF2: Bonus Round Gravity
 
Quote:

Originally Posted by huck529 (Post 617587)
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 04-28-2008 15:58

Re: TF2: Bonus Round Gravity
 
Quote:

Originally Posted by FunTF2Server (Post 617674)
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.

FunTF2Server 04-28-2008 16:02

Re: TF2: Bonus Round Gravity
 
Quote:

Originally Posted by deltron (Post 618286)
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...?

deltron 04-28-2008 18:49

Re: TF2: Bonus Round Gravity
 
Quote:

Originally Posted by FunTF2Server (Post 618288)
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.

FunTF2Server 04-28-2008 21:18

Re: TF2: Bonus Round Gravity
 
Quote:

Originally Posted by deltron (Post 618330)
Correct.

Why is max 2.0?

What happens if I want losing team to have 8x gravity? 8.0 wouldn't work?

huck529 05-01-2008 06:36

Re: TF2: Bonus Round Gravity
 
this is not working for me with diffrent values

FunTF2Server 05-01-2008 06:49

Re: TF2: Bonus Round Gravity
 
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



All times are GMT -4. The time now is 10:52.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.