Tosa_Inu Posted January 27, 2011 Share Posted January 27, 2011 forcecvar [cvar] [value] Forces a client cvar to have a certain value for all clients Where is this file located? I can't find it. Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted January 27, 2011 Management Share Posted January 27, 2011 These files are located in the mapconfigs folder under the mod folder. The "default.cfg" will take effect with all maps and optionally an additional .cfg can be used. The map specific forcecvars and sv_cvars are executed after the default ones. Example of a cfg file for Fueldump: fueldump.cfg. The file name must be the same as the bsp file name or what you put in the map rotations for example. Quote Link to comment Share on other sites More sharing options...
cinco Posted December 7, 2011 Share Posted December 7, 2011 Hello, I've tried using the cvars forced ......... While the command is working correctly for Forcecvar cvar absolute values.Example "forcecvar r_ambientScale 0.5" working properly But I can not get work for command values sv_cvar IN, EQ, INCLUDE, and OUT For example, "sv_cvar com_maxfps IN 40 125" does not work correctly. In the log I can read:mapconfigs execing / default.cfgInfo string length exceeded What is the correct syntax for sv_cvar? Thank you, and congratulations for his work on Silent mod Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted December 7, 2011 Management Share Posted December 7, 2011 sv_cvar com_maxfps IN 43 125 On my own server the minimum is set to 60. Works for me. Info string length exceeded Suggests you may have some problems with the syntax or the amount. Both sv_cvar and forcecvar uses 1 config string. Total of 2 config strings. The maximum size is 1024 bytes for one config string. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.