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

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
    Availability
    Offline
    Account Age Level
    Elder
    6 years old
    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
    Availability
    Offline
    Points Level
    Beggar
    209 points
    Account Age Level
    Elder
    6 years old
    6 years ago:

    Thx for the tut

    ULTRAS LEVSKI
  • Silent Ricochet
    Availability
    Offline
    Points Level
    Worker
    47,927 points
    Exemplary Feedback Level
    Helper
    8 EF's
    Account Age Level
    Elder
    9 years old
    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.

    User Title
    Loud Mouth New Yawkuh
  • Mxmlln
    Availability
    Offline
    Points Level
    Worker
    39,683 points
    Exemplary Feedback Level
    Helper
    14 EF's
    Account Age Level
    Elder
    8 years old
    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
    Availability
    Offline
    Points Level
    Worker
    47,927 points
    Exemplary Feedback Level
    Helper
    8 EF's
    Account Age Level
    Elder
    9 years old
    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.

    User Title
    Loud Mouth New Yawkuh
  • Mxmlln
    Availability
    Offline
    Points Level
    Worker
    39,683 points
    Exemplary Feedback Level
    Helper
    14 EF's
    Account Age Level
    Elder
    8 years old
    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
    Availability
    Offline
    Points Level
    Beggar
    131 points
    Account Age Level
    Elder
    6 years old
    6 years ago:

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

    No peace without war.
  • Silent Ricochet
    Availability
    Offline
    Points Level
    Worker
    47,927 points
    Exemplary Feedback Level
    Helper
    8 EF's
    Account Age Level
    Elder
    9 years old
    6 years ago:
    Posted by colmontoya Hey where is the autoexec.cfg? it is not in my main dod sfg folder...

    Create one then.

    User Title
    Loud Mouth New Yawkuh
  • colmontoya
    Availability
    Offline
    Account Age Level
    Elder
    7 years old
    6 years ago:

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

    Bananite
  • Mxmlln
    Availability
    Offline
    Points Level
    Worker
    39,683 points
    Exemplary Feedback Level
    Helper
    14 EF's
    Account Age Level
    Elder
    8 years old
    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
Availability
Offline
Points Level
Worker
47,927 points
Exemplary Feedback Level
Helper
8 EF's
Account Age Level
Elder
9 years old

Silent Ricochet
(Creator/Co-creator)

Rating

10.0/10
Based off 4 rating(s)

Additional Info

Genre
Coding/Scripting
Difficulty Level
Beginner

Stats

Post Count
12
ViewCount
20,860
Date Added
6 years ago
Date Modified
1 year ago

Share

Code to use:

More embeddable images

Bookmark and Share