Is there any way to "autoexec" console commands on startup?
-
Care to elaborate how to do that? Thanks in advance
-
Sorex How would I go about doing what you described?
-
Manux323 Nothing, because is not a big problem. Create a command to set every dvar you need and then copy and paste in the console bar.
or do bind p "dvar1 1;dvar2 1,dvar3 0" and press p to set back your custom dvar -
Sorex there is some kinda of automated method ?
-
Breakbot
I don't get it.
The bind to a button a command is semi-autmatic you just bind it and the press the button. You could also just copy and pase the commands or use a gsc script if you need to set just dvars and you are on a private match or on your own server. -
Sorex the thing is, the command that i want to use is cheat protected (r_lodBiasSkinned -1000)
-
i use that command in zombies to increase the render distance
-
You are unfortunately unable to do that because the dvar is cheat protected.
The process is more mechanical.
You need to first setsv_cheats
to1
, then you will be able to editr_lodBiasSkinned
-
If the dvar is not cheat-protected, you can set it via the command line arguments. But you can't do it easily from a client. You can do it from a dedicated server startup script file (bat).
-
You can create a GSC script to set this dvar automatically when the match starts.