Day of Defeat: Source

Improve Hitbox Registration

Improve Hitbox Registration

Improve your bullet registration!

Improve Hitbox Registration Tutorial screenshot

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

  • sour banana avatar
    sour banana Offline
    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
    209 points Ranked 13887th
    Member Joined 8 years ago
    Report post
    7 years ago:

    Thx for the tut

    10/10

    ULTRAS LEVSKI
  • Silent Ricochet avatar
    Silent Ricochet Offline
    47,927 points Ranked 80th
    Member Joined 11 years ago
    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
    39,633 points Ranked 99th
    Member Joined 9 years ago
    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
    Silent Ricochet Offline
    47,927 points Ranked 80th
    Member Joined 11 years ago
    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
    39,633 points Ranked 99th
    Member Joined 9 years ago
    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
    Praying Mantis Offline
    131 points Ranked 19012th
    Member Joined 8 years ago
    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
    Silent Ricochet Offline
    47,927 points Ranked 80th
    Member Joined 11 years ago
    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 8 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
    39,633 points Ranked 99th
    Member Joined 9 years ago
    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

Screenshots

Credits

About this module
This module lists all those involved in the creation of this Tutorial.
Key Authors
Silent Ricochet
Unknown

Submitter

Silent Ricochet avatar
Silent Ricochet Offline
47,927 points Ranked 80th
Member Joined 11 years ago

Silent Ricochet
Creator

Category

About this module
This module displays this Tutorial's category.
Other/Misc

Game

About this module
This module displays what game this Tutorial is for.
Day of Defeat: Source
Day of Defeat: Source

Details

Genre
Coding/Scripting
Difficulty Level
Beginner

Stats

Posts
12
Views
26,578
Date Added
8 years ago
Jun 14 2008 @ 10:16pm UTC
Date Modified
3 years ago
Jul 17 2013 @ 2:32pm UTC

Rating

About this module
This module shows the average user rating of this Tutorial.
10

Ratings Breakdown

About this module
This module shows how the ratings are dispersed among the criteria.
CriterionAvg.VotesRange
Overall 10 4 10 to 10

More Tutorials from Silent Ricochet