Raised This Month: $ Target: $400
 0% 

Executing cfg files and cvar problems.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Randommagic
Senior Member
Join Date: Jun 2014
Location: -
Old 11-16-2015 , 12:32   Executing cfg files and cvar problems.
Reply With Quote #1

Hello.
I was using this plugin : [TF2] Respawn System
(https://forums.alliedmods.net/showthread.php?p=611953)

I tried to set the different cvars for each maps, but as far I know, sourcemod cfg files are executed way after mapfile.cfg.

I saw these two comments

Quote:
Originally Posted by Mongolas View Post
And, not to spam, but it's not executing <map_name>.cfg, that or it's executing it in a strange order. We have one named plr_hightower.cfg in \orangebox\tf\cfg to set the time for both teams to 10 seconds, but now it's stuck at instant, since we changed it in tf2_respawn.cfg.
Quote:
Originally Posted by Powerlord View Post
See: Valve's Policy of Truth.
i assume that there is something something related to this respawn thingy, but what I want to know is :

Is there a way to set a specific cvars after the sourcemod cfg file execution?

I think i've seen a plugin which let me to do that.. couldn't find it
__________________
Randommagic is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 11-16-2015 , 14:06   Re: Executing cfg files and cvar problems.
Reply With Quote #2

Quote:
Originally Posted by Powerlord View Post
If you insist on setting it in server.cfg, you'll need to comment it out of (or remove it from) cfg/sourcemod/tf2_respawn.cfg because this config file is executed after server.cfg... the server uses the most recently set value.
This also applies if you want to set it in map config files.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 11-16-2015 at 14:07.
Powerlord is offline
[email protected]
BANNED
Join Date: Nov 2015
Old 11-17-2015 , 19:08   Re: Executing cfg files and cvar problems.
Reply With Quote #3

Quote:
Originally Posted by Randommagic View Post
Hello.
I was using this plugin : [TF2] Respawn System
(https://forums.alliedmods.net/showthread.php?p=611953)

I tried to set the different cvars for each maps, but as far I know, sourcemod cfg files are executed way after mapfile.cfg.

I saw these two comments





i assume that there is something something related to this respawn thingy, but what I want to know is :

Is there a way to set a specific cvars after the sourcemod cfg file execution?

I think i've seen a plugin which let me to do that.. couldn't find it
https://forums.alliedmods.net/showpo...46&postcount=3

i use on my server and works good on all mapname.cfg maps

ps.use notepad++ to edit cfg files

Last edited by [email protected]; 11-17-2015 at 19:15.
sourcemodcfg@gmail.com is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:27.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode