.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Metamod and metamod plugins (http://forums.bots-united.com/forumdisplay.php?f=15)
-   -   Where do i put the cvar? (http://forums.bots-united.com/showthread.php?t=3061)

biohazerd87 26-11-2004 00:04

Where do i put the cvar?
 
ok i have mods... lets say when i load the game i want the mod to have a cvar set to something... lets say i was using headshot_mod. where would i put a cvar so that everytime i start a game the headshot_mod would always be headshot only? and remember i am not just using headshot i was just using it as an example

sPlOrYgOn 26-11-2004 00:11

Re: Where do i put the cvar?
 
don't say mod... it makes it sound like cs or tfc or something..
make a file called exec.cfg in your metamod directory..
it'll be runned when metamod is done loading all the plugins..

biohazerd87 26-11-2004 00:14

Re: Where do i put the cvar?
 
can i also use it for AMXX 'plugins' also

biohazerd87 26-11-2004 04:34

Re: Where do i put the cvar?
 
Quote:

Originally Posted by sPlOrYgOn
don't say mod... it makes it sound like cs or tfc or something..
make a file called exec.cfg in your metamod directory..
it'll be runned when metamod is done loading all the plugins..

yeah that doesn't work

Pierre-Marie Baty 26-11-2004 05:42

Re: Where do i put the cvar?
 
server.cfg (for dedicated servers)

listenserver.cfg (for servers you play on, eg "listenservers")

these files should exist already. the syntax is explicit.

biohazerd87 26-11-2004 06:54

Re: Where do i put the cvar?
 
i tried all of them... i got it to work but for some reason they won't work in the listenserver config

Pierre-Marie Baty 26-11-2004 07:16

Re: Where do i put the cvar?
 
post the contents of your listenserver.cfg, and game.cfg if this latter exists

biohazerd87 26-11-2004 08:02

Re: Where do i put the cvar?
 
Code:

mp_limitteams 0
mp_autoteambalance 0
//AXN Bunnyhop
axn_bunnyjump 1
 
//Death Match
csdm_activate 0
csdm_enable 0


Pierre-Marie Baty 26-11-2004 15:09

Re: Where do i put the cvar?
 
weird, I don't see why this wouldn't work.
Maybe the game tries to set the CVAR before the plugin has registered it.

biohazerd87 26-11-2004 20:10

Re: Where do i put the cvar?
 
well as i stated before i already got it to work another way so it's all good


All times are GMT +2. The time now is 21:10.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.