December 25th, 2004
|
#2 |
| How many dogs are Pb'd?Maybe 2
Join Date: April 30th, 2004 Location: Upper NYS Status: Improving Vv/dsp Rep Power: 32 | Re: Problem with my own custom server don't use the dedicated bat ....
1)Right Click your multiplayer icon on desktop
2) go to PROPERTIES
3)click shortcut
4) Go to TARGET
>>4a) the line will look like this:
"F:\Program Files\Soldier of Fortune II - Double Helix GOLD\SoF2MP.exe"
or simialr to that but you get the idea i hope.
5) add a space at the end of quotation mark and put this line next to it:
+set fs_game rocmod
>>5a) so now it should look like this: "F:\Program Files\Soldier of Fortune II - Double Helix GOLD\SoF2MP.exe" +set fs_game rocmod
6) This tells the game that the multiplayer server you are starting will be rocmod. As long as you have rocmod server files in the appropriate folders.
>>6a) rocmod versions 2.0 and up require you to have both server and client file in the folder.
7)from here you must break out your sof2mp.cfg and set the server settings you are looking to have.
8) you can make a server.cfg sample from our server to follow
(copy the cfg and paste it into notepad or text editor and save as the appropriate names): // This file is automatically executed by SoF2MP.exe (as long as you have written it to do so, see number 10 when you are done with server and roc.cfg's) sets "Admin" "YOUR NAME " sets "Admin E-Mail" " YOUR EMAIL" sets "URL" " CLAN URL" sets "Downloads" " IF YOU HAVE CUSTOM THINGS MAKE IT STATED HERE ( allow downloads or something" sets "Location" " YOUR LOCATION" sets "CPU" " "//WHAT YOU ARE RUNNING ON P4 BLAH BLAH sets "Configured By" " "//YOUR NAME MOST LIKELY sets "Hosted By" " "// YOUR NAME OR CLAN URL good for advertising seta sv_hostname "^7DOGSOLDIERS ^& CLAN"//NAME SEEN ON THE MASTER BROWSER LIST can use colors also seta g_motd "Home of the DogSoliders"//A GREETING OF SOME SORT sets "Clan" "DogSoldiers" //NAME OF CLAN seta rconPassword "ENTER YOUR RCON PASSWORD HERE" seta g_needpass "0" seta g_password "" seta sv_maxclients "24" seta sv_minclients "1" seta sv_privateClients "0" seta sv_privatePassword "privatepass" seta g_maxGameClients "24" seta g_minGameClients "1" seta rmg_forcepure "1" seta teamlimit "12" seta g_speed "300" // *** Game Settings *** set scorelimit "500" set fraglimit "10" set timelimit "15" seta gt_bombFuseTime "26" seta gt_bombDefuseTime "5" seta gt_bombPlantTime "5" seta g_roundjointime "3" seta g_roundtimelimit "5" seta g_timeextension "10" seta g_suddenDeath "0" seta sv_minPing "0" seta sv_maxPing "500" seta sv_maxRate "25000" seta sv_allowDownload "1" seta sv_pure "1" seta sv_allowAnonymous "0" seta sv_zombietime "5" seta sv_reconnectlimit "0" seta sv_padPackets "0" seta sv_fps "20" seta sv_floodProtect "1" seta sv_timeout "90" seta g_timeouttospec "30" seta g_weaponrespawn "0" seta g_backpackRespawn "25" seta g_respawnInvulnerability "5" seta g_respawnInterval "10" seta g_inactivity "360" seta g_warmup "5" seta g_doWarmup "0" seta g_friendlyfire "1" seta g_synchronousclients "0" seta g_adaptrespawn "0" seta g_smoothClients "1" seta g_pickupsdisabled "1" seta g_followEnemy "0" seta g_forceFollow "1" seta g_forcerespawn "1" seta g_gore "0" seta g_suicidePenalty "-1" seta g_noTeamSwitching "0" seta g_teamForceBalance "1" seta g_teamAutoJoin "1" seta g_roundstartdelay "2" // Team settings seta g_teamkillNoExcuseMultiplier "3" seta g_teamkillNoExcuseTime "10" seta g_teamkillDamageForgive "50" seta g_teamkillDamageMax "250" seta g_teamkillPenalty "-1" seta g_allowvote "1" seta g_voteDuration "60" seta g_failedVoteDelay "20" seta g_voiceFloodPenalty "30" seta g_voteKickBanTime "3" seta g_voicefloodcount "20" seta sv_floodProtect "1" //Client Vote Restrictions seta novote_map_restart "0" seta novote_mapcycle "0" seta novote_map "0" seta novote_g_gametype "0" seta novote_kick "0" seta novote_clientkick "0" seta novote_g_doWarmup "0" seta novote_timelimit "0" seta novote_scorelimit "0" seta novote_rmgmap "0" seta novote_referee "0" // *** Global Weaponry Configuration *** seta disable_weapon_knife "0" seta disable_pickup_weapon_US_SOCOM "0" seta disable_pickup_weapon_M19 "0" seta disable_pickup_weapon_silvertalon "0" seta disable_pickup_weapon_microuzi "0" seta disable_pickup_weapon_M3A1 "0" seta disable_pickup_weapon_MP5 "0" seta disable_pickup_weapon_USAS_1"0" seta disable_pickup_weapon_M590 "0" seta disable_pickup_weapon_MSG90A1 "0" seta disable_pickup_weapon_M4 "1" seta disable_pickup_weapon_AK_74 "0" seta disable_pickup_weapon_SIG551 "0" seta disable_pickup_weapon_M60 "0" seta disable_pickup_weapon_RPG_7 "1" seta disable_pickup_weapon_MM_1 "1" seta disable_pickup_weapon_M84 "0" seta disable_pickup_weapon_SMOHG92 "0" seta disable_pickup_weapon_AN_M14 "0" seta disable_pickup_weapon_M15 "0" // Master Servers seta sv_master5 "" seta sv_master4 "" seta sv_master3 "master0.gamespy.com" seta sv_master2 "clanservers.net" seta sv_master1 "master.sof2.ravensoft.com" //Logging seta logfile "3" seta g_log "games.log" seta g_logSync "0" seta g_logHits "0" //---------------- //#### THE FOLLOWING KICKS THE SERVER INTO GEAR #### //---------------- seta sv_mapcycle "WHAT YOUR MAP CYCLE IS CALLED " //mapcycle file mymapcycle.cfg for example exec "sof2_roc.cfg" //CFG file to run other rocmod options pb_sv_enable
9) Your sof2_roc.cfg:This is based upon the DS roc config. You can change all settings as you see fit. but i left the information cause it isn't Rcon secretative stuff. and it will give you an idea of what is there.
(copy the cfg and paste it into notepad or text editor and save as the appropriate names) seta cg_drawClock "1" seta cg_drawEnhancedHUD "1" seta cg_drawEnhancedScoreboard "1" seta cg_drawBestStats "1" seta cg_allowVoiceCommandSounds "1" seta cg_drawDetailedObituary "2" seta cg_drawTeamInfo "1" seta cg_drawSpecList "0" seta cg_drawTeamOverlay "1" seta cg_drawCustomTeams "0" seta cg_autoScreenshot "0" seta cg_autoDemo "0" set sv_adminfile "admin.cfg" set sv_sysopfile "sysop.cfg" set sv_extracmdsfile "extracmds.cfg" set sv_voicecmdsfile "voicecmds.cfg" set sv_clanfile "clan.cfg" set sv_modClient "1" set sv_logo "gfx/blank.png" set sv_filterchatfile "chatfilter.cfg" //MOTD On Game Enter set g_motdEnabled "0" set g_motdDisplayTime "5" seta g_motd1 "^3Welcome to the HOME of the ^&DogSoldiers" seta g_motd2 "^3Visit Our Website at ^1www.^4thedogsoldiers^1.net" seta g_motd4 "^7ADMIN: Bear ^4(bear@thedogsoldiers.net)" seta g_motd5 "" seta g_motd6 "^3Everyone have fun, it's only a game! " seta g_motd7 "^3Please be respectful of others" seta g_motd9 "^3Please watch the language" seta g_motd10 "^1RECRUITING IS A BANNING OFFENSE" //Server Messaging set g_message1 "^3Welcome to ^cThe Dogsoldiers Server ^3Please enjoy your stay!" set g_message2 "^cFor recruiting and server/clan information please visit us at ^3www.thedogsoldiers.net." set g_message3 "^c New maps and Downloads can be found at www.thedogsoldiers.net." set g_message4 "^3Questions or comments? Please visit our forums." set g_message5 "^cPlease! Do not ^7recruit ^cOr ^7advertise ^cfor other servers/clans here." set g_message6 "^3Please remember to watch your language. ^c Thanks!" set g_message7 "^3Please be respectful of others." set g_message8 "^3Everyone have fun, it's only a game! =)" set g_message9 "^cFollow the rules, or suffer the consequences." set g_message10 "" set g_messageEnabled "1" set g_messageStart "30" set g_messageInterval "30" set g_messageNew "Welcome #z to the home of the DogSoldiers!" //TK Settings set g_teamkillnodouble "1" set g_teamkillAutoPenaltyBox "200" set g_teamkillAutoPenaltyBoxTime "60" set g_teamkillWarning "1" set g_teamkillBackfire "0" //Flag Settings set g_flagstealAutoPenaltyBox "1" set g_flagstealAutoPenaltyBoxTime "60" set g_flagstealWarning "1" //Spawnkill Settings set g_spawnkillAutoPenaltyBox "1" set g_spawnkillAutoPenaltyBox "200" set g_spawnkillAutoPenaltyBoxTime "60" set g_spawnkillWarning "1" set g_spawnkillBackfire "15" set g_voiceCommandsEnabled "1" //Admin - Clan - Referee - Settings set g_allowTalk "0201" set g_allowChat "0201" set g_allowKick "0200" set g_allowBan "0200" set g_allowCancelVote "0200" set g_allowPassVote "0200" set g_allowWarmup "0200" set g_allowFriendlyFire "0200" set g_allowMute "0200" set g_allowStrike "0200" set g_allowSlap "0200" set g_allowStrip "0200" set g_allowSwitch "0200" set g_allowPenalty "0200" set g_allowGametype "0200" set g_allowMapRestart "0200" set g_allowMapcycle "0200" set g_allowSetMap "0200" set g_allowRMG "0200" set g_allowExtendTime "0200" set g_allowTimelimit "0200" set g_allowScorelimit "0200" set g_allowSwapTeams "0200" set g_allowShuffleTeams "0200" set g_allowEndMap "0200" set g_allowLockTeam "0200" set g_allowSuspendAll "0200" set g_allowFry "0200" set g_allowLaunch "0200" set g_allowExplode "0200" set g_allowPlant "0200" set g_allowTelefrag "0200" set g_allowSurrender "0200" set g_allowRespawn "0200" set g_allowBait "0200" set g_allowEvenTeams "0211" set g_allowInvite "0200" set g_allowForceSay "0000" set g_allowSwap "0200" set g_allowClanVsAll "0201" set g_allowPause "1200" set g_allowUnPause "1200" set g_allowPbKick "1200" set g_allowPbBan "0200" set g_allowPbGetSS "0200" set g_allowFreezeMap "0200" set g_allowMatch "0200" set g_allowDummy "0200" set g_allowNoVote "0200" set g_allowRename "0200" set g_allowCvarCheck "0200" //General Settings set g_sysopImmuneToAdmin "1" set g_disableAdminInPenaltyBox "0" set g_mapcycleSwapTeams "0" set g_mapcycleShuffleTeams "1" set g_verifyClients "1" set g_verifyClientsTime "60" set g_bestStatsMinKills "5" set g_bestStatsTime "10" set g_allowColorNames "1" set g_allowWarmupFriendlyFire "1" set g_realisticSniper "1" set g_realisticShotgun "0" set g_realisticAmmo "0" set g_intermissionDelay "10" set g_defaultPenaltyBoxTime "60" set g_teamChangeDeath "1" set g_voiceTalkingGhosts "1" set g_timeRemaining "1" set g_suspendedAdmin "0" set g_inactivitySpectator "0" set g_anonymousAdmin "1" set g_killSpree "1" set g_adminBackfire "1" set g_doWarmup "0" set g_emptyMapcycle "1" set g_explosionGore "0" set g_enableAdmin "1" set g_enableReferee "0" set g_alternateSort "0" set g_clientFeatures "0" set g_weaponMod "ext_data/sof2.wpn" set g_protectClan "1" set g_dropWeapon "2" set g_spawnkillDeathmatch "1" set g_suicideTeamPenalty "0" set g_lastPlayer "1" set g_adminVote "1" set g_defaultBanTime "120" set g_lockSpec "1" set g_punishRecon "1" set g_allowAdminGhost "0" // Camper Settings set g_camper "300" set g_camperRadius "200" set g_camperMode "1" set g_camperAction "0" //custom Team settings set g_customBlueName "{D.S.} Blue" set g_customBlueCode "&" set g_customBlueShade "0,0,128" set g_customRedName "{D.S.} Red" set g_customRedCode "1" set g_customRedShade "238,0,0" set g_customClanShade "F" set g_allowCustomTeams 1 set g_voteLimit "5" set g_allowItemDrop "1" set g_filterChat "1" set g_globalMute "0"
10) Get your SOF2mp.cfg: ok so now you have a server.cfg and a roc.cfg, but you have no clue what it is for or how to activate it?
>>10a)Open your sof2mp.cfg by right clicking and using notepad.
>>>10b) If you open it and get code, right click upon the cfg, choose "properties", and click "change". this will bring up choices of programs to use to open it with, choose " notepad" and make sure to check the box " always use the selected program to open this type of file". Click ok after that.
11) now open your sof2mp.cfg ( with me still ? ok )
add at bottom of the sof2mp.cfg:
exec server.cfg
exec sof2_roc.cfg
Your SOF2MP.cfg will have alot of information that looks the same, as was written in your server and roc cfg's. Don't panic, the reason for this is, your cfg's can only hold soo much information before they over flow and won't wriet to the server. MEANING: if you were to write all this information to your sof2mp.cfg it would be over 21k and the server would not read all the information correctly.
12)seta sv_mapcycle "MYMAPCYCLE.cfg" Now that you have that out of the way, how do you know what maps and how to restrict weapons and such ? You guessed it ...a mapcycle.cfg ( you are soo getting the hang of this lol )
>>12a)mymapcycle.cfg
(copy the cfg and paste it into notepad or text editor and save as the appropriate names)
example: mapcycle { map1 { Command "map mp_jor1;set g_gravity 800" cvars { g_gametype "tdm" timelimit "20" dmflags "20" g_motd "^&Next Map ^7------>^1Airport Warehouse, CTF" g_speed "300" scorelimit "100" teamlimit "300" g_pickupsdisabled "1" disable_weapon_knife "0" disable_pickup_weapon_US_SOCOM "0" disable_pickup_weapon_M19 "0" disable_pickup_weapon_silvertalon "0" disable_pickup_weapon_microuzi "0" disable_pickup_weapon_M3A1 "0" disable_pickup_weapon_MP5 "0" disable_pickup_weapon_USAS_12 "1" disable_pickup_weapon_M590 "0" disable_pickup_weapon_MSG90A1 "0" disable_pickup_weapon_M4 "0" disable_pickup_weapon_AK_74 "0" disable_pickup_weapon_SIG551 "0" disable_pickup_weapon_M60 "0" disable_pickup_weapon_RPG_7 "1" disable_pickup_weapon_MM_1 "1" disable_pickup_weapon_M84 "0" disable_pickup_weapon_SMOHG92 "0" disable_pickup_weapon_AN_M14 "0" disable_pickup_weapon_M15 "0" } } map2 { Command "map mp_air1;set g_gravity 800" cvars { g_gametype "ctf" timelimit "20" capturelimit "20" dmflags "20" g_motd "^&Next Map ^7------>^1Prague Streets, DM" g_speed "300" scorelimit "10" g_pickupsdisabled "1" disable_weapon_knife "0" disable_pickup_weapon_US_SOCOM "0" disable_pickup_weapon_M19 "0" disable_pickup_weapon_silvertalon "0" disable_pickup_weapon_microuzi "0" disable_pickup_weapon_M3A1 "0" disable_pickup_weapon_MP5 "0" disable_pickup_weapon_USAS_12 "1" disable_pickup_weapon_M590 "0" disable_pickup_weapon_MSG90A1 "0" disable_pickup_weapon_M4 "0" disable_pickup_weapon_AK_74 "0" disable_pickup_weapon_SIG551 "0" disable_pickup_weapon_M60 "0" disable_pickup_weapon_RPG_7 "1" disable_pickup_weapon_MM_1 "1" disable_pickup_weapon_M84 "0" disable_pickup_weapon_SMOHG92 "0" disable_pickup_weapon_AN_M14 "0" disable_pickup_weapon_M15 "0"
There is an example of the first two maps and the pattern that the mapcycle uses. You can copy that down in a text editor or notepad, and put on as many maps as you like, Using their pk3 names in the "command map" line, and the actual map name in the " g_motd next map " line.
>>>12b)To enable or disable the weapons you simply have to change the 0's and 1's. 0 means it is enabled, and yes you guessed it, 1 means disabled.
13)DAMAGE MOD, you are on your own here, there are many different damage mods out there and you can choose any one of them....
and even balance it to your own likings. You will notice in global weaponary configuration the weapons that are turned on and off, this will be overwrote by your MYMAPCYCLE.cfg ( so don't worry.)
This concludes my writings and instructions for today. if you have questions post here or even stop by the website ..it is in the signature. |
Twitter: @Vaudvillany Formerlly known as ~Merrick Former:Sof2,BF2,COD Moderator Forum Trouble Maker! |
| |