Username:

Password:

Pages: [1]   Go Down

Author Topic: Server CFG  (Read 818 times)

deFain

  • Administrator
  • Jr. Member
  • *****
  • Offline Offline
  • Posts: 57
  • The Admin
    • WWW
Server CFG
« on: October 26, 2005, 09:14:40 AM »
On the map rotations you have a choice. Either a "Simple" one you can write yourself or an "Advanced" one that is included in a pk4 and is already written. The advanced one is the default map rotation and I recommend that one. The simple one will need to be used when some custom maps come out. In the server cfg all you need to do to use the default mapcycle is call it up with the via the command g_mapCycle "mapcycle" and the game will find it. Also the advance one, if someone votes in a ctf map the gametype will change to ctf. If they vote in a dm map the gametype will change to dm.

As far as a server cfg, here is a generic one that will work. You can add what you want to it:
Quote from: DeFain
/ Sample Quake 4 DM Server Configuration File

// ---------------------------
// si_name
// ---------------------------
// name advertised to server browsers

si_name "^2pLANET^4rELOADi"

// ---------------------------
// si_gametype
// ---------------------------
// gametype can be "DM", "Team DM", "Tourney", "CTF", "Arena CTF"

si_gameType "DM"

// ---------------------------
// net_serverDedicated
// ---------------------------
// type of server, dedicated or listen.  Dedicated server
// recommended for anything other than small pick up games

net_serverDedicated 1

// ---------------------------
// si_maxPlayers
// ---------------------------
// maxPlayers, set appropriate to your upstream

si_maxPlayers 16

// ---------------------------
// si_minPlayers
// ---------------------------
// minPlayers, game will stay in warmup until at least this many
// players connect.  Only valid if si_warmup 1

si_minPlayers 1

// ---------------------------
// si_warmup
// ---------------------------
// perform a match warmup

si_warmup 1

// ---------------------------
// si_countdown
// ---------------------------
// how many seconds the warmup->game countdown lasts

si_countdown 10

// ---------------------------
// net_serverMaxClientRate
// ---------------------------
// serverMaxClientRate - maximum data rate out to each client.  Divide
// your out bandwidth by this value to figure out how many clients you
// can support

// net_serverMaxClientRate 16000

// ---------------------------
// si_mapCycle
// ---------------------------
// simple mapcycle, semicolon delimited list of maps to cycle through
// for more advanced map cycling that sets minplayers/gametype/etc see
// g_mapCycle

//si_mapCycle "mp/q4dm1;mp/q4dm2;mp/q4dm3;mp/q4dm4;mp/q4dm5;mp/q4dm6;mp/q4dm7;mp/q4dm8;mp/q4dm9"

// ---------------------------
// g_mapCycle
// ---------------------------
// advanced mapcycle, set this to the name of the .scriptcfg in
// q4base/ you want to use

// defaults to "mapcycle" to use q4base/mapcycle.scriptcfg

g_mapCycle "mapcycle"

// ---------------------------
// si_fragLimit
// ---------------------------
// fraglimit, in DM and Team DM number of frags required to win the
// game, in tourney the number of frags to win an individual round

si_fragLimit 20

// ---------------------------
// si_timeLimit
// ---------------------------
// timelimit, in DM, Team DM, CTF, Arena CTF how long the match will
// last before ending. in tourney how long an individual round will
// last before ending.

si_timeLimit 10

// NOTE:
// if both timelimit and fraglimit is set, the game will end when
// either one is hit

// ---------------------------
// si_map
// ---------------------------
// map, the map to start on

si_map mp/q4dm1

// start the server

spawnServer

This is the one I started with. Deltaray has put together a really good one over at PsB. I would use that one.

painthorse

  • Newbie
  • *
  • Offline Offline
  • Posts: 3
Re: here is another player CFG
« Reply #1 on: December 30, 2005, 10:45:57 AM »
//Bu3ll3r's CFG
unbindall

bind TAB "_impulse19"
bind ESCAPE "togglemenu"
bind ` "toggleconsole"
bind ~ "toggleconsole"
bind PAUSE "pause"
bind [ "_impulse14" //switch spectator
bind ] "_impulse15" //switch spectator
bind t "clientmessagemode" //chat
bind y "clientmessagemode 1" // team chat
bind p "_ingameStats"
bind END "quit" //end game
bind HOME "kill -1" //suicide
bind F1 "_impulse28" //vote yes
bind F2 "_impulse29" //vote no
bind F3 "_impulse17" //toggle ready
bind F4 "_impulse22" //spectate
bind F5 "vstr ua_record" //demo record script
bind F6 "screenshotJPEG" //screenshot
bind F10 "say '^2:>'"
bind F11 "say '^2Nice Shot !'"
bind F12 "say '^2GG'"

//Volume Control
bind = "addchatline Volume_UP;Inc s_volume 0.50" //Increase Volume
bind - "addchatline Volume_Down;Dec s_volume 0.50" //Decrease Volume

//Demo record
seta ua_record "vstr ua_rec"
seta ua_rec "addchatline recording_ON;recordNetDemo;set ua_record vstr ua_stop"
seta ua_stop "stopNetDemo;addchatline recording_OFF;set ua_record vstr ua_rec"

//Movement
bind LEFTSHIFT "_speed" //walk
bind mouse2 "_moveup" //jump
bind space "_movedown" //crouch
bind a "_moveleft"
bind s "_back"
bind d "_moveright"
bind rightctrl "_forward"
seta pm_bobpitch "0"
seta pm_bobroll "0"
seta pm_bobup "0"
seta pm_crouchbob "0"
seta pm_runbob "0"
seta pm_runpitch "0"
seta pm_runroll "0"
seta pm_walkbob "0"

//Weapons
bind 1 "_impulse5" //ng
bind 2 "_impulse9" //dmg
bind 3 "_impulse8" //lg
bind 4 "_impulse4" //gl
bind 5 "_impulse6" //rl
bind 6 "_impulse3" //hb
bind 7 "_impulse1" //mg
bind 8 "_impulse2" //sg
bind 9 "_impulse7" //rg
bind 10 "_impulse0" //gauntlet
bind MOUSE1 "_attack" //fire
bind MOUSE3 "_zoom" //zoom
bind wheeldown "_nextweapon"
bind wheelup "_prevweapon"
//Sound
seta s_ambient "0"
seta s_force22kHz "0"
seta s_useOpenAL "0"
seta s_radioChatterFraction "0.9"
seta s_speakerFraction "0.65"
seta s_numberOfSpeakers "2"
seta s_subFraction "0.5"
seta s_musicVolume "0.0"
seta s_volume "1"
seta s_minStereo "8"
seta s_playDefaultSound "1"
seta s_globalFraction "0.8"
seta s_doorDistanceAdd "150"
seta s_deviceName ""
seta s_useDeferredSettings "1"

//Player
seta ui_name "^00Painthorse"
seta ui_clan "^1methodofdeath.com"
seta ui_model "model_player_marine_helmeted"
seta ui_skin "base"
seta ui_hitscanTint "120 0.6 1"
seta ui_autoReload "1"
seta ui_autoSwitch "0"
seta g_showHud "1"

//Misc
seta g_friendsList ""
seta g_favoritesList "[67.189.218.144:28004]"//love dump
seta g_friendsList ""
seta sys_lang "english"
seta sensitivity "5"
seta logFile "1"
//seta image_useprecompress
//Internet Connection
seta net_clientLagOMeter "0"
seta com_showAsyncStats "0"//shows up&down stream
seta net_clientUsercmdBackup "0"//sends backup packets 0-5
seta net_socksPassword ""
seta net_socksUsername ""
seta net_socksPort "1080"
seta net_socksServer ""
seta net_socksEnabled "0"
seta net_clientDownload "1"
seta net_LANServer "1"
seta net_menuLANServer "1"
seta net_clientMaxRate "16000"
seta gui_configServerRate "0"
seta cl_punkbuster "1"
seta image_useprecompressedtextures "0"
//Video
seta r_displayRefresh "100"
seta com_allowConsole "1"
seta g_fov "120"
seta win_ypos "22"
seta win_xpos "3"
seta r_customHeight "486"
seta r_customWidth "720"
seta r_fullscreen "1"
seta r_mode "4"
seta r_aspectRatio "0"
seta com_videoRam "256"
seta com_showFPS "1"

//New Gun Settings locked down
seta ui_showGun "0"
//seta g_gunX "0"
//seta g_gunY "-3"
//seta g_gunZ "-3"

//no cutoff
//seta g_gunX "2"
//seta g_gunY "-3"
//seta g_gunZ "-2"

//Tweaked settings
seta g_skipFX "1"
seta g_skipParticles "1"
seta s_maxSoundsPerShader "2"
seta r_lightDetailLevel "0"
seta image_downSizeLimit "12"
seta r_useIndexBuffers "1"
seta image_downSizeBumpLimit "12"
seta image_downSizeSpecularLimit "12"
seta image_downSizeBump "12"
seta image_downSizeSpecular "12"
seta image_downSize "12"
seta s_maxChannelsMixed "32"
seta image_lodbias "-8"
seta r_brightness "2"
seta r_gamma "1.4"
seta image_preload "1"
seta image_roundDown "1"
seta r_skipDynamicTextures "1"
seta g_earthquake "0"
seta g_bloodEffects "0"
seta bse_rateCost "1.0"
seta bse_rateLimit "1.0"
seta gui_mediumFontLimit "0.60"
seta gui_smallFontLimit "0.30"
seta win_viewlog_update_count "10"
seta win_viewlog_ypos "0"
seta win_viewlog_xpos "0"
seta s_useEAXOcclusion "0"
seta s_useEAXReverb "0"
seta s_meterTopTime "2000"
seta s_reverse "0"
seta s_spatializationDecay "2"
seta s_decompressionLimit "2"
seta r_debugArrowStep "120"
seta r_debugLineWidth "1"
seta r_debugLineDepthTest "0"
seta r_forceLoadImages "0"
seta r_shadows "0"
seta r_skipBump "1" //make 1 if r_vertexlight is 1
seta r_skipSpecular "1"
seta r_skipNewAmbient "1"
seta r_renderer "best"
seta r_swapInterval "0"
seta r_alphaToCoverage "1"
seta r_multiSamples "0"
seta image_ignoreHighQuality "1"
seta image_useCache "1"
seta image_cacheMegs "384"
seta image_cacheMinK "2048"
seta image_usePrecompressedTextures "0"
 
seta image_useNormalCompression "2"
seta image_useAllFormats "1"
seta image_useCompression "1"
seta image_anisotropy "0"
seta image_filter "GL_LINEAR_MIPMAP_NEAREST"
seta demo_enforceFS "0"
seta m_strafeSmooth "1"
seta m_smooth "1"
seta m_strafeScale "0"
seta m_yaw "0.022"
seta m_pitch "0.022"
seta in_joystickLeftStickMove "1"
seta in_toggleZoom "0"
seta in_toggleCrouch "0"
seta in_toggleRun "0"
seta in_alwaysRun "1"
seta in_freeLook "1"
seta in_anglespeedkey "1.5"
seta in_pitchspeed "140"
seta in_yawspeed "140"
seta com_preloadDemos "0"
seta com_compressDemos "1"
seta com_machineSpec "0"
seta g_showHudPopups "0"
seta g_brassTime "0"
seta g_decals "0"
seta g_projectileLights "0"
seta g_announcerDelay "1"
seta g_skipItemShadowsMP "1"
seta g_skipPlayerShadowsMP "1"
seta g_doubleVision "0"
seta g_muzzleFlash "0"
seta g_gunViewStyle "0"
seta g_crosshairCustomFile "gfx/guis/crosshairs/crosshair_q3_19.tga"
seta g_crosshairCustom "5"
seta g_crosshairColor "0 1 0 1"
seta g_crosshairSize "16"
seta g_showProjectilePct "0"
seta g_showPlayerShadow "0"

//q4max
seta r_lightScale "4" //brightens
seta pm_speed "320"//bug with speed
seta cg_blood "0" //show bloodstains
seta cg_gibs "0" //explode corpses
seta cg_smoke_RL "0" //no smoke trails
seta cg_smoke_GL "0" //no smoke trails
seta cg_weaponFovEffect "0" //1 controls weapon model being "pulled back" at higher fovs (like Q3)
seta cg_noChatBeep "0" //allow beep
seta r_vertexLight "1" //better lighting but r_skipBump 0 can have bad effect
seta cg_forceModels "1" //forces player models to cg_enemyModel/cg_teamModel
seta cg_enemyModel "model_player_marine_helmeted" //forced enemy player model
seta cg_teamModel "model_player_marine_helmeted" //forced team player model
seta cg_forceColors "1" //forces player colors to cg_enemyColor/cg_teamColor
seta cg_enemyColor "153 255 0" //forced enemy player color
seta cg_teamColor "51 51 255" //forced team player color
seta hud_style "cpmhud5" //cpma hud

//q4max binds
bind * "say_team #i Available"
bind KP_Minus "say_team #i Taken"
bind KP_Enter "say_team Affirmative/Enroute"
bind KP_ins "say_team Negative/Cancel That"
Logged
Pages: [1]   Go Up
 

Powered by SMF 2.0 RC1.2 | SMF © 2006–2009, Simple Machines LLC
DarkBreak by DzinerStudio
Page created in 0.106 seconds with 17 queries.