Improve Hitbox 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'.

Oh noes! You're not a Member!

Want access to cool stuff? As a member you can:

  • Post. Give the submitter your thoughts on this Tutorial.
  • Say Thanks. Show your appreciation by sending the submitter points.
  • Stamp Posts. Let other posters know what you think of their posts.
  • Rate. Give this Tutorial a rating out of 10.
  • Flag. Alert moderators and warn members of a problem with this Tutorial.
  • Vote. Vote the submitter for the Monthly Awards.
  • Subscribe. Get notified when this submitter submits again.

Interested? Register or Login

Comments

  • sour banana avatar
    Availability
    Offline
    Account Age Level
    Elder Age Level icon
    Elder
    7 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    5 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
    Availability
    Offline
    Points Level
    Beggar Points Level icon
    Beggar
    209 points
    Account Age Level
    Elder Age Level icon
    Elder
    7 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    6 years ago:

    Thx for the tut

    ULTRAS LEVSKI
  • Silent Ricochet avatar
    Availability
    Offline
    Points Level
    Worker Points Level icon
    Worker
    47,927 points
    Exemplary Feedback Level
    Helper Exemplary Feedback Level icon
    Helper
    8 EF's
    Account Age Level
    Elder Age Level icon
    Elder
    9 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    6 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
    User Title
    Loud Mouth New Yawkuh
  • Mxmlln avatar
    Availability
    Offline
    Points Level
    Worker Points Level icon
    Worker
    39,658 points
    Exemplary Feedback Level
    Helper Exemplary Feedback Level icon
    Helper
    14 EF's
    Account Age Level
    Elder Age Level icon
    Elder
    8 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    6 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 :)

    Inactive
  • Silent Ricochet avatar
    Availability
    Offline
    Points Level
    Worker Points Level icon
    Worker
    47,927 points
    Exemplary Feedback Level
    Helper Exemplary Feedback Level icon
    Helper
    8 EF's
    Account Age Level
    Elder Age Level icon
    Elder
    9 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    6 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
    User Title
    Loud Mouth New Yawkuh
  • Mxmlln avatar
    Availability
    Offline
    Points Level
    Worker Points Level icon
    Worker
    39,658 points
    Exemplary Feedback Level
    Helper Exemplary Feedback Level icon
    Helper
    14 EF's
    Account Age Level
    Elder Age Level icon
    Elder
    8 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    6 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

    Inactive
  • Praying Mantis avatar
    Availability
    Offline
    Points Level
    Beggar Points Level icon
    Beggar
    131 points
    Account Age Level
    Elder Age Level icon
    Elder
    6 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    6 years ago:

    This is great info to know. Keep up the good work and thanks.

    No peace without war.
  • Silent Ricochet avatar
    Availability
    Offline
    Points Level
    Worker Points Level icon
    Worker
    47,927 points
    Exemplary Feedback Level
    Helper Exemplary Feedback Level icon
    Helper
    8 EF's
    Account Age Level
    Elder Age Level icon
    Elder
    9 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    6 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
    User Title
    Loud Mouth New Yawkuh
  • colmontoya avatar
    Availability
    Offline
    Account Age Level
    Elder Age Level icon
    Elder
    7 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    6 years ago:

    Hey where is the autoexec.cfg? it is not in my main dod sfg folder...

    Bananite
  • Mxmlln avatar
    Availability
    Offline
    Points Level
    Worker Points Level icon
    Worker
    39,658 points
    Exemplary Feedback Level
    Helper Exemplary Feedback Level icon
    Helper
    14 EF's
    Account Age Level
    Elder Age Level icon
    Elder
    8 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    6 years ago:

    Excellent !! Thanks for this, I did not know about the cl_interp... so once again thanks for this :)

    Inactive

Credits

Key Authors
Silent Ricochet
Unknown

Submitter

Silent Ricochet avatar
Availability
Offline
Points Level
Worker Points Level icon
Worker
47,927 points
Exemplary Feedback Level
Helper Exemplary Feedback Level icon
Helper
8 EF's
Account Age Level
Elder Age Level icon
Elder
9 years old
Clearance Level
Member Clearance Level icon
Member

Silent Ricochet
(Creator/Co-creator)

Rating

10.0/10
Based off 4 rating(s)

Details

Genre
Coding/Scripting
Difficulty Level
Beginner

Stats

Post Count
12
ViewCount
22,238
Date Added
6 years ago
Date Modified
1 year ago

Share

Code to use:

More embeddable images

Bookmark and Share