Improve Hitbox Registration

This is a Tutorial for Day of Defeat: Source submitted by Silent Ricochet.

Hey Bro: Join GameBanana, one of the oldest mod sites, and maximize your browsing experience.

  • Subscribe: Get notified when Silent Ricochet submits again.
  • Say Thanks: Show your appreciation by sending Silent Ricochet points.
  • Post: Give Silent Ricochet your thoughts on this Tutorial.
  • Vote: Help Silent Ricochet win the Monthly Awards.
  • Rate: Give this Tutorial a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Tutorial.
  • Watch: Get notified when this Tutorial is updated.
Mascot

Resistance is futile...

Sign up

Already a Bananite? Login

Improve Hitbox Registration

Improve your bullet registration!

THIS APPLIES MOSTLY TO THE NEW SOURCE GAMES LIKE DOD SOURCE BETA, AND TEAM FORTRESS 2, BUT IT MAY ALSO WORK WITH REGULAR DOD SOURCE.


You may have noticed in the new source games that there is this 'Lerp' stat in the new net_graph command. While you may not know what this is, it's very important to keep it at a constant number, and make sure that it never turns orange.

This 'Lerp' stat is basically the hitbox delay between you, the server, and other other players, having this balanced out or synched with the server is very important.

Many people might complain about the hitboxes in DOD being to small, or too big, or the registry sucks; but for the most part it's totally client side usually having to do with incorrect default commands that you must fix yourself.

If you're one of these people suffering from your shots not registering on servers, there are a few commands that can solve this quite well. I've play tested these myself and seen a vast improvement.

New Source Engine Games (DOD:S, TF2, HL2: EP2)


Place the following lines into the autoexec.cfg in the games/cfg directory: cl\_cmdrate "67" cl\_updaterate "67" cl\_interp ".033" cl\_interp\_ratio "1" rate "30000"
Old Source Engine Games (Counter-Strike: Source, Half Life 2: Deathmatch)


Place the following lines into the autoexec.cfg in the games/cfg directory: rate "30000" cl\_cmdrate "80" cl\_updaterate "20" cl\_interp "0.033"
^^ Tested on Listen server and lowered ping from 20ms to 0-2ms.

If that folder doesn't have an autoexec.cfg file in it already, create your own by opening notepad, paste the commands above in the file, and save the file as 'autoexec.cfg'.

  • You must be a member

Comments

  • sour banana avatar
    Member Joined 8 years ago
    Report post
    7 years ago:
    Were do i put this in -day of defeat-hl2-cfg

    and i got the game whit css but i know have hl2 and tf2 installed wich do i need to use

    Bananite
  • sslevski avatar
    sslevski Offline
    Member Joined 8 years ago
    209 points Ranked 14303rd
    Report post
    7 years ago:
    Thx for the tut

    10/10

    ULTRAS LEVSKI
  • Silent Ricochet avatar
    Member Joined 11 years ago
    47,928 points Ranked 80th
    14 medals 1 legendary, 1 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • Became a Club Leader Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • Reached 7,500 Points Medal icon
    Report post
    8 years ago:
    Posted by Bi0h4z4rd
    Posted by Silent Ricochet I've tested them, and they work nicely.
    Erm, for you... but not other people... It means that other people wont be able to hit you as well. Therefore giving you an advantage. Well never mind anyway, your rates for the new source engine work perfectly anyway :)
    Thanks, I'll look into fixing the old source engine rates.

    Loud Mouth New Yawkuh avatar
    Mantra
    Loud Mouth New Yawkuh
  • Mxmlln avatar
    Mxmlln Offline
    Member Joined 9 years ago
    39,658 points Ranked 99th
    Report post
    8 years ago:
    Posted by Silent Ricochet I've tested them, and they work nicely.
    Erm, for you... but not other people... It means that other people wont be able to hit you as well. Therefore giving you an advantage. Well never mind anyway, your rates for the new source engine work perfectly anyway :)

    10/10

    Inactive
  • Silent Ricochet avatar
    Member Joined 11 years ago
    47,928 points Ranked 80th
    14 medals 1 legendary, 1 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • Became a Club Leader Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • Reached 7,500 Points Medal icon
    Report post
    8 years ago:
    Posted by Bi0h4z4rd Erm, You have added the wrong rates for the old games. Those rates are not allowed in leagues and are just not the normal. It's supposed to be 250000 100 100
    I've tested them, and they work nicely.

    Loud Mouth New Yawkuh avatar
    Mantra
    Loud Mouth New Yawkuh
  • Mxmlln avatar
    Mxmlln Offline
    Member Joined 9 years ago
    39,658 points Ranked 99th
    Report post
    8 years ago:
    Erm, You have added the wrong rates for the old games. Those rates are not allowed in leagues and are just not the normal. It's supposed to be 250000 100 100

    10/10

    Inactive
  • Praying Mantis avatar
    Member Joined 8 years ago
    131 points Ranked 19630th
    Report post
    8 years ago:
    This is great info to know. Keep up the good work and thanks.

    10/10

    No peace without war.
  • Silent Ricochet avatar
    Member Joined 11 years ago
    47,928 points Ranked 80th
    14 medals 1 legendary, 1 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • Became a Club Leader Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • Reached 7,500 Points Medal icon
    Report post
    8 years ago:
    Posted by colmontoya Hey where is the autoexec.cfg? it is not in my main dod sfg folder...
    Create one then.

    Loud Mouth New Yawkuh avatar
    Mantra
    Loud Mouth New Yawkuh
  • colmontoya avatar
    colmontoya Offline
    Member Joined 9 years ago
    Report post
    8 years ago:
    Hey where is the autoexec.cfg? it is not in my main dod sfg folder...

    Bananite
  • Mxmlln avatar
    Mxmlln Offline
    Member Joined 9 years ago
    39,658 points Ranked 99th
    Report post
    8 years ago:
    Excellent !! Thanks for this, I did not know about the cl_interp... so once again thanks for this :)

    10/10

    Inactive

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share
About this module
This module lists all those involved in the creation of this Tutorial.

Credits

Key Authors
Silent Ricochet
Unknown

Submitter

Silent Ricochet avatar
Member Joined 11 years ago
47,928 points Ranked 80th
14 medals 1 legendary, 1 rare
  • 10 years a member Medal icon
  • 6 years a member Medal icon
  • Became a Club Leader Medal icon
  • Reached 1,000 Points Medal icon
  • Reached 2,500 Points Medal icon
  • Reached 7,500 Points Medal icon

Silent Ricochet
Creator
About this module
This module lets you send a private message to the submitter (Silent Ricochet).
About this module
This module displays what game this Tutorial is for.

Game

About this module
This module displays this Tutorial's category.

Category

Details

Genre
Coding/Scripting
Difficulty Level
Beginner

Stats

Posts
12
Views
27,495
Date Added
8 years ago
Jun 14 2008 @ 10:16pm UTC
Date Modified
3 years ago
Jul 17 2013 @ 2:32pm UTC
About this module
This module shows the average user rating of this Tutorial.

Rating

10
Votes
4
About this module
This module shows how the ratings are dispersed among the criteria.

Ratings Breakdown

CriterionAvg.VotesRange
Overall 10 4 10 to 10

More Tutorials from Silent Ricochet