Day of Defeat: Source

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

  • sour banana avatar
    sour banana Offline
    Member Joined 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 13464th
    Member Joined 8 years ago

    Thx for the tut

    10.00/10

    ULTRAS LEVSKI
  • Silent Ricochet avatar
    Silent Ricochet Offline
    47,927 points Ranked 77th
    Member Joined 10 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
    Mxmlln Offline
    39,663 points Ranked 97th
    Member Joined 9 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.00/10

    Inactive
  • Silent Ricochet avatar
    Silent Ricochet Offline
    47,927 points Ranked 77th
    Member Joined 10 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
    Mxmlln Offline
    39,663 points Ranked 97th
    Member Joined 9 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.00/10

    Inactive
  • Praying Mantis avatar
    Praying Mantis Offline
    131 points Ranked 18492nd
    Member Joined 7 years ago

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

    10.00/10

    No peace without war.
  • Silent Ricochet avatar
    Silent Ricochet Offline
    47,927 points Ranked 77th
    Member Joined 10 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
    colmontoya Offline
    Member Joined 8 years ago

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

    Bananite
  • Mxmlln avatar
    Mxmlln Offline
    39,663 points Ranked 97th
    Member Joined 9 years ago

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

    10.00/10

    Inactive

Share

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

More embeddable images

Bookmark and Share

Credits

Key Authors
Silent Ricochet
Unknown

Submitter

Silent Ricochet avatar
Silent Ricochet Offline
47,927 points Ranked 77th
Member Joined 10 years ago

Silent Ricochet
Creator

Category

Rating

10.0/10

Details

Genre
Coding/Scripting
Difficulty Level
Beginner

Stats

Posts
12
Views
25,172
Date Added
7 years ago
Date Modified
2 years ago