Jump to content

forcecvar


Tosa_Inu

Recommended Posts

  • Management

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.

Link to comment
Share on other sites

  • 10 months later...

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.cfg

Info string length exceeded

 

What is the correct syntax for sv_cvar?

 

Thank you, and congratulations for his work on Silent mod

Link to comment
Share on other sites

  • Management

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...