.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Enhancement Workshop > Metamod and metamod plugins
Metamod and metamod plugins Plugins and improvements for the metamod server-side mod

Reply
 
Thread Tools
Where do i put the cvar?
Old
  (#1)
biohazerd87
Moderator by day Waypointer by night
 
biohazerd87's Avatar
 
Status: Offline
Posts: 1,039
Join Date: Apr 2004
Location: Missouri
Default Where do i put the cvar? - 26-11-2004

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
  
Reply With Quote
Re: Where do i put the cvar?
Old
  (#2)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: Where do i put the cvar? - 26-11-2004

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..
  
Reply With Quote
Re: Where do i put the cvar?
Old
  (#3)
biohazerd87
Moderator by day Waypointer by night
 
biohazerd87's Avatar
 
Status: Offline
Posts: 1,039
Join Date: Apr 2004
Location: Missouri
Default Re: Where do i put the cvar? - 26-11-2004

can i also use it for AMXX 'plugins' also
  
Reply With Quote
Re: Where do i put the cvar?
Old
  (#4)
biohazerd87
Moderator by day Waypointer by night
 
biohazerd87's Avatar
 
Status: Offline
Posts: 1,039
Join Date: Apr 2004
Location: Missouri
Default Re: Where do i put the cvar? - 26-11-2004

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
  
Reply With Quote
Re: Where do i put the cvar?
Old
  (#5)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Where do i put the cvar? - 26-11-2004

server.cfg (for dedicated servers)

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

these files should exist already. the syntax is explicit.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Where do i put the cvar?
Old
  (#6)
biohazerd87
Moderator by day Waypointer by night
 
biohazerd87's Avatar
 
Status: Offline
Posts: 1,039
Join Date: Apr 2004
Location: Missouri
Default Re: Where do i put the cvar? - 26-11-2004

i tried all of them... i got it to work but for some reason they won't work in the listenserver config
  
Reply With Quote
Re: Where do i put the cvar?
Old
  (#7)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Where do i put the cvar? - 26-11-2004

post the contents of your listenserver.cfg, and game.cfg if this latter exists



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Where do i put the cvar?
Old
  (#8)
biohazerd87
Moderator by day Waypointer by night
 
biohazerd87's Avatar
 
Status: Offline
Posts: 1,039
Join Date: Apr 2004
Location: Missouri
Default Re: Where do i put the cvar? - 26-11-2004

Code:
mp_limitteams 0
mp_autoteambalance 0
//AXN Bunnyhop
axn_bunnyjump 1
 
//Death Match
csdm_activate 0
csdm_enable 0
  
Reply With Quote
Re: Where do i put the cvar?
Old
  (#9)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Where do i put the cvar? - 26-11-2004

weird, I don't see why this wouldn't work.
Maybe the game tries to set the CVAR before the plugin has registered it.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Where do i put the cvar?
Old
  (#10)
biohazerd87
Moderator by day Waypointer by night
 
biohazerd87's Avatar
 
Status: Offline
Posts: 1,039
Join Date: Apr 2004
Location: Missouri
Default Re: Where do i put the cvar? - 26-11-2004

well as i stated before i already got it to work another way so it's all good
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com