Lagless soldier rockets for TFC
2 Attachment(s)
Lagless TFC rockets
v1.3 This server plugin evens out the rocket delay for all players under 120 ping, so that the rockets are fired as if the player had 5 ping. What it does is hook the rocket firing event, measure the player's ping at that time, find the rocket's velocity and project it ahead that many milliseconds, so that the rockets have a more LAN-like feel. To turn the effect on or off, say "lr" or type it in the console. Cvars: lan_rockets: This is for having the effect on or off when a person connects, and is 0 (off) by default. lr_base_ping: This is the ping to simulate, set to a default of 5. lr_max_ping: This is the max ping to compensate for, set to a default of 120. You can raise this as high as you want, but 120 is a reasonable cutoff, well before the effect starts to impede gameplay. You can set these in server.cfg. To-do: Fix the rocket trail, since it stops short of the target (requires knowledge of how to trigger a TFC rocket fire event at an origin instead of teleporting the player-fired rocket there; and I can't recreate that trail convincingly with a TE_BEAMFOLLOW either.) Changelist: v1.0-1.1 Test versions. v1.2: First release candidate, added comments. v1.3: Added a cvar for default on/off, and fixed the rocket-skipping issue, so players can bounce around properly with it. |
Re: Lagless soldier rockets for TFC
Attach the plugin, don't use code bbcode.
|
Re: Lagless soldier rockets for TFC
Thanks.
|
Re: Ping-compensated soldier rockets for TFC
Still don't understand what it does..
|
Re: Ping-compensated soldier rockets for TFC
I'll write up diagrams and add a revision that has fixed rocket trails later today.
|
Re: Ping-compensated soldier rockets for TFC
Edit: Removed lengthy explanation. First post should suffice.
Also that rocket trail issue ended up being over my head. |
Re: Lagless rockets for TFC
I have nothing more to add to this plugin.
It seems stable on a server, so hopefully it can be approved. |
Re: Lagless soldier rockets for TFC
Plugin is good , but why you wrote triple post ? You should get a warn , i reported you ...
|
Re: Lagless soldier rockets for TFC
Quote:
|
Re: Lagless soldier rockets for TFC
Quote:
|
All times are GMT -4. The time now is 13:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.