protonscr

[HL1/CS] Lot of dead cvars

steamclosed Feature RequestreviewedMOVED: Half-Life 1MOVED: Counter‐Strike
ValveSoftware/steam-for-linux#1143 · opened 2013-02-01 by AnAkkk · updated 2019-07-18 · 11 comments · github
AAnAkkk 2013-02-01 github

I've noticed that there are lot of cvars that are just declared, they are not used anywhere, they're mostly leftovers from older HL1 and CS versions. This doesn't really cause any problem, though maybe a cleanup could be done.

Here's a partial list:
ati_subdiv
bgmbuffer
cam_contain
com_filewarning
con_fastmode
console
gl_nobind
gl_nocolors
gl_playermip
gl_reporttjunctions
lambert
mp_ghostfrequency (CS 1.6)
mp_mirrordamage (CS 1.6)
r_bmodelhighfrac
r_mmx
scr_conspeed
sv_airmove
sv_clipmode

Ssxxx 2013-02-01 github

Are you sure these vars not used in any of GoldSrc games?

AAnAkkk 2013-02-01 github

Most of them are just passed to the func that registers the cvar in hw.so. There are no other references, and from my testing they had no effect. Some have other references but in unused code, such as the D3D stuff (D3D was removed). Maybe sv_airmove and sv_clipmode are used in some other goldsrc games, but at least not in HL and CS it seems.

There are some others that have references as well, but they don't seem do anything, they seem to be leftover from Quake 1, such as:
r_mirroralpha
r_wateralpha

All of the "ATI's TRUform" (ati_npatch) code seem to be unused (under linux at least), it requires a global boolean to be set to true, and it's always set to false it seems.

CChik3n 2013-02-01 github

the command "developer" doesn't work anymore.
I play kz maps and i need to get 100fps max and some plugins put fps_max to 101, so i get kicked because i've too high fps

AAnAkkk 2013-02-01 github

developer does work.
FPS are no longer limited by developer since the last update, you can have developer set to 0 and fps_max set to 200 if you want.

TTriang3l 2013-02-01 github

"developer" doesn't work? I think you should reload the map for it to work. All it does is enabling some additional console output.

CChik3n 2013-02-01 github

I didn't know that fps are no longer limited by developer ! how sad...
So, how to limit fps to 100 with fps_max 101 ?? :s

AAnAkkk 2013-02-01 github

You can't set fps_max to 100?

EDIT: Either tell the server owner to fix his plugin or play on an other server...

CChik3n 2013-02-01 github

a lot of kz servers force players to set fps_max to 101, then i really have 101 fps and i get kicked...
Maybe this option should be removed on windows too ?!

AAnAkkk 2013-02-01 github

Well, this is a problem with these servers, talk to the admins. This has nothing to do with this topic...

AAnAkkk 2013-02-09 github

gl_d3dflip and vid_d3d removed from the list, they were removed with the last update.

Nothing extracted yet.