PDA

View Full Version : Calling a cfg file


blobby
11-18-2007, 02:14 PM
Hello guys.gurls


Im entering my clan in the enemy down dod tournament but what i need is a plugin that calls the following cfgs

This is cut from the main cfg file

// Day of Defeat
// ED match config
// WEB: www.enemydown.co.uk
// IRC: #enemydown.co.uk

// Clan match setup

mp_clan_match 1
mp_clan_respawntime 8
mp_clan_timer 20
mp_clan_scoring 1
mp_clan_scoring_delay 20
mp_clan_ready_signal ready
mp_timelimit 25
say "Timelimit is now 25 minutes"
say "Use mp_timelimit to change this if otherwise arranged"

// Other commands

mp_fadetoblack 1
mp_autocrosshair 0
mp_flashlight 1
mp_friendlyfire 1
mp_fraglimit 0
mp_teamlimit 0
sv_allowdownload 0
sv_allowupload 0
sv_cheats 0
sv_maxspectators 1
sv_maxrate 25000
sv_minrate 3500
sv_maxupdaterate 101
sv_minupdaterate 20
sv_maxcmdrate 101
sv_mincmdrate 30
decalfrequency 30
pausable 0
sv_accelerate 10
sv_aim 0
sv_airaccelerate 10
sv_airmove 1
sv_friction 4
sv_gravity 800
sv_bounce 1
sv_clienttrace 3.5
sv_clipmode 0
sv_stepsize 18
sv_stopspeed 100
sv_maxspeed 500
sv_wateraccelerate 10
sv_waterfriction 1
edgefriction 2
mp_falldamage 1
mp_footsteps 1
mp_tkpenalty 0
sv_unlag 1
traceroffset 100
tracerlength 0.45
tracerred 1.3
tracerblue 0.1
tracergreen 0.7
traceralpha 0.45
tracerspeed 6250
mp_allowspectators 1
mp_deathmsg 1

// Class limits

mp_limitallies30cal 1
mp_limitalliesbar 2
mp_limitalliescarbine 2
mp_limitalliesgarand 3
mp_limitalliesgreasegun 2
mp_limitalliesspring 1
mp_limitalliesthompson 2
mp_limitaxisfg42 0
mp_limitaxisfg42s 0
mp_limitaxisk43 2
mp_limitaxiskar 3
mp_limitaxismg34 0
mp_limitaxismg42 1
mp_combinemglimits 1
mp_limitaxismp40 2
mp_limitaxismp44 2
mp_limitaxisscopedkar 1
mp_limitbritassault 2
mp_limitbritlight 3
mp_limitbritmg 2
mp_limitbritsniper 1
say "Class limits have been loaded"

// DoD Guard

sv_autoscreen 1
say "DoDGuard autoscreen is now on"

// Announce

say "ED DoD config loaded"
say "Type ready to begin the match. GL&HF"
mp_clan_readyrestart 1

Also i need it to call up the map configs for the tournament witch i have on my desktop so if any one could help me make a plugin where it would call these up or tell me a really easy way to do it as i don't want to give out my rcon password to my clan leaders any help will be great and thanks in advance

Regards

Blobby

diamond-optic
11-18-2007, 05:27 PM
why dont you just add them to the configs.ini file and call them thru the amxx menu

blobby
11-18-2007, 07:59 PM
Yeah cheers d-o worked a treat thanks a lot