User Login

Who's Online

Translate

enfrdeitptrues

 

 


Installation

For Players

 
 

Automatic

Installation

The easiest way a player can download the mod, is to do so automatically from any server running the MDK mod.
If the player is new to the mod, they will have to enable their downloads via the menu interface.
If a connecting player already has a prior instance of the mod, this setting is not needed.
Note: In the event the player receives an Update Error message, they will also then need to use this setting.

 

1.) Click Network Settings

 

2.) Click on the setting Allow Download, changing it from No to Yes

This can also be done in the console with the command cl_allowdownload "1"

 

 

3.) Connect to an MDK mod server

You will begin downloading the updater file which initializes the mod installation.

 

During the updating process, the game will refresh several times. If successful, you will see a new loading screen appear. This screen displays the servers mod version along with your client version.

   

 

In the event the update fails, this could be due to several reasons. A common reason has to do with a write access error. This can usually be resolved by re-launching the game. If the error continues, you will need to open the games MDK directory and delete the file sof2mp_uix86.dll and try again 


Manual

Installation

Note: Some web browsers may attempt to save .pk3 files in .zip format. If this occurs, simply rename the file extension to .pk3 after the file has been downloaded.

 

1.) Download the latest updater file mdk_mod_X_xxx_u1.pk3 (Right click and Save Target As if the browser tries to read the file, Save As with a .pk3 extension)

The updater file will have the previous version of the mod in the file name where xxx is.

For example on version 2.1 the updater will be named 2.0 and so forth.

This will basically provide the 2.1 mod to any player with version 2.0 and prior in addition to new clients without the mod.

 

2.) Place the file inside of your MDK directory <SoF2 Directory>/MDK.

If the folder does not exist you can simply create one.

 

If installed in the Program Files / (x86) directory, you will be prompted on every action taken.

You will need to have admin to perform changes within the folder.

 

If you do not have admin or prefer to have no restrictions, you can copy the game directory to any location other than the Program Files directory as this folder is write protected in any version of Windows Vista and up.

 

3.) Launch the game and connect to an MDK server


Advanced

Installation

This is only recommended for experienced users as installing the mod incorrectly could result in the mod not functioning properly.

1.) Download the raw mod file directly mdk_mod_X_xxx.pk3

2.) Place the file inside of your <SoF2 Directory>/<MDK> folder

3.) Launch the game and connect to an MDK server


Troubleshooting

Installation

For users installed in the Program Files directory that are on Windows Vista and above, there are restrictions set by Windows. These restrictions make the directory read only by default. Instead of allowing applications to directly write and modify files, they are now routed to an alternate folder called VirtualStore. This can make your SoF2 experience a bit more difficult as files normally written in the game directory such as configs or downloads will be routed here. With regards to the MDK mod, if the manual method above was followed and it is not loading correctly this is usually the cause.

Before beginning, it is important to navigate to your <Program Files>/<SoF2 Directory> and delete the MDK folder. This will ensure there are no conflicts when following the steps below.

1.)  Navigate to the following folder location, be sure to replace the <username> with the username that your computer is logged into.

C:\Users\<username>\AppData\Local\VirtualStore

 

2.) Locate your SoF2 installation directory. In this example, it is located at the following location

C:\Users\<username>\AppData\Local\VirtualStore\Program Files (x86)\Soldier of Fortune II - Double Helix

 

3.) Copy the updater file mdk_mod_X_xxx_u1.pk3 into the MDK folder (Right click and Save Target As if the browser tries to read the file, Save As with a .pk3 extension)

 

4.) Launch the game and connect to an MDK server


Troubleshooting

Authentication

Some users who have the mod installed may experience issues regarding "Unverified Client". If this occurs you may need to synchronize your date/time to reflect the most accurate data.

The below example is demonstrated in Windows 10

1.) Right click on the date/time located on the bottom right of your Windows taskbar and select Adjust date/time at the top

 

2.) Under "Synchronize your clock", click on "Sync now"

If synchronized successfully, your "Last successful time synchronization" should reflect the current time.

 

If you encounter an error while synching, please verify that your computers date is correct.


Installation

For Server Admins

 

 


Note: If setting up a local server (Non dedicated), substitute the FTP references for your <SoF2 Directory>

Important: Be sure to include only the updater PK3 file (post fixed _u) inside of your servers MDK folder if you plan on keeping sv_allowDownload enabled.

No other PK3's should be in this folder.

1.) Download the server files mdk_mod_X_xxx_server.zip (Right click and Save Target As if the browser tries to read the file, Save As with a .pk3 extension)

 

2.) Extract the files from the archive and place the contents into your servers base and MDK folders via an FTP program.

CoffeeCup Free FTP is used in this example.

 

 

3.) You will need to make sure the following is declared in your servers command line or batch file

+set fs_game MDK

+exec startup.cfg

Here is an example of a complete command line string

+set rconpassword mypassword +set fs_game MDK dedicated 2 +set net_port 20100 +exec startup.cfg

If you are uncertain about how to apply changes to the command line, you may need to open a support ticket with your servers host to make the necessary changes.

 

4.) Start your server

If done correctly you will notice a new server listed in the browser name New MDK Mod Server.

This server should automatically be populated with bots.

 

5.) Connect to your server

When in-game, type the following command into either the chat or console

\addme

This will add you as the very first sysop (System Operator) and prevent others from using this command.

This command can only be used once.

 

Important: The server must not run in pure mode, "sv_pure" should be set to 0.


Features

Voice Chat

 
 

Voice Chat is a function that connects a player to a TeamSpeak 3 server.

This can be located in the MDK menu under the information icon (light bulb) as shown below.

Once selected, it will connect the player directly to the configured voice server.


Features

Minimizer

 
 

Minimizer is a function that minimizes the game window. When minimized the player will be able to interact with their desktop like usual.

This option is available in the MDK menu under "Binds" as shown below.

 

Once a key is assigned to this function, the player can activate it at any time during the game by pressing the assigned key.

To return to the game, simply select the SoF2 icon from the taskbar.


Features

Widescreen

  
 

The old display menu is replaced with an improved version. This improved version is located within the MDK X button in the main menu.

Once in the MDK menu, navigate to the settings button. There is a drop down option titled "Display Mode", when clicked it will display all of the resolutions currently supported by your monitor. Resolutions with the postfix (Wide) are 16:9 aspect ratio, the rest of the resolutions can either be 4:3 or extra wide. When an option is selected, be sure to click on the check box that is located to the left side of the option. This will apply the desired resolution and reload the game.


Player Customization

Command List

 
 
cg_alwaysOnGoggles "0"
cg_autoFOV "1"
cg_avatar ""
cg_blueDataColor "0.8, 1, 0.6"
cg_blueHeaderColor "0.3, 0.3, 1.0"
cg_blueNameColor "0.3, 0.3, 1.0"
cg_blueShadeColor "0.0, 0.0, 0.0"
cg_chatDisabled "0"
cg_dmDataColor "0.8, 1, 0.6"
cg_dmHeaderColor "0.66, 0.76, 0.45"
cg_dmNameColor "1.0, 1.0, 1.0"
cg_dmShadeColor "0.0, 0.0, 0.0"
cg_drawPlayerItems "1"
cg_drawSpree "1"
cg_drawTeamLocation "1"
cg_drawTime "1"
cg_drawTimeLeft "0"
cg_drawViewers "1"
cg_emoticons "50"
cg_extraSounds "2"
cg_facebook ""
cg_flagIcon "0"
cg_fragInfo "1"
cg_goreFx "1"
cg_greenDataColor "0.8, 1, 0.6"
cg_greenHeaderColor "0.66, 0.76, 0.45"
cg_greenNameColor "1.0, 1.0, 1.0"
cg_greenShadeColor "0.0, 0.0, 0.0"
cg_kbFormat "0"
cg_lastModAvatar "0"
cg_lastModAvatar2 "0"
cg_maxSoundBoost "4"
cg_muzzleSmoke "1"
cg_newChatEntry "1"
cg_newScoreboard "1"
cg_primaryAvatar "0"
cg_redDataColor "0.8, 1, 0.6"
cg_redHeaderColor "1.0, 0.10, 0.10"
cg_redNameColor "1.0, 0.10, 0.10"
cg_redShadeColor "0.0, 0.0, 0.0"
cg_scoreboardStats "1"
cg_soundTheme "0"
cg_spawnMode "0"
cg_specCrosshair "1"
cg_spectatorCrosshair "1"
cg_textOutline "0"
cg_updateCFG "0"
cg_userAvatars "1"
cg_userName ""
cg_useServerSettings "1"
cg_victoryMusic "0"
cg_voteAction "0"
cg_waterEffects "2"
com_maxfps "115"
rate "90000"
snaps "50"
ui_menuStyle ""

Player Customization

Profile

  
 

Your profile can be accessed by clicking on the MDK X button in the main menu. Within the profile, you can customize several options beginning from Left to Right.

1.) Country Flag

Displayed on several menus within game

2.) Avatar

This can be anything from the SoF2 identity, Facebook profile picture, or MDK website avatar. In order to use Facebook or MDK avatars, the option "User Avatars" must be enabled. Disabling this option will only display the SoF2 identity avatar.

Whenever updating a custom avatar, be sure to check if the image displayed reflects the most recent avatar you have online. If this differs, simply click on the "Refresh" icon located below the avatar preview "Is this recent?" Selecting this option will prompt you with two choices, wait for the avatar to update after a map change or update immediately.

3.) Victory Music

This is music that is played during the intermission if you are ranked first during the match. This option is only available if a server has these sounds configured. The option contains 3 buttons, a "Previous", "Play", and "Next" option. These are used to cycle through the available music clips or re-play the music.

Note: Depending on the amount of action going on in the server at the time, you may need to find a quiet spot to preview the music as too many other sounds can drown it out.

4.) Crosshair

You can select the crosshair design from a range provided by the server. There is a black preview box along with 4 sliders beneath that allow you to customize the color and visibility. 


Player Customization

Name

 
 

The identity screen has a built in name editor. This is one of the first things you will notice when selecting a player identity. The color depiction for each character is 100% accurate and true to the game engine.

A player has access to the extended ASCII character set without the need of manually inserting each character and with the benefit of seeing what each character looks like. This can lead to many customizable options on demand when creating names.


Player Customization

Scoreboard

 
 

Interface

Player Customization

The scoreboard is available in two different styles. The default style is the modern scoreboard, this includes the intermission stats. The second option available is the classic scoreboard, this also includes the intermission stats. This setting can be found in the MDK menu under settings.

 

New scoreboard and stats

  

 

Classic scoreboard and stats

  


Colors

Player Customization

Each scoreboard can be customized by changing the hue and saturation of the colors assigned to them. This applies to Deathmatch, Red Team, Blue Team, Green Team and both the new and classic formats.

The following CVARS are used for this purpose

cg_dmDataColor "0.8, 1, 0.6"
cg_dmHeaderColor "0.66, 0.76, 0.45"
cg_dmNameColor "1.0, 1.0, 1.0"
cg_dmShadeColor "0.0, 0.0, 0.0"

cg_redDataColor "0.8, 1, 0.6"
cg_redHeaderColor "1.0, 0.10, 0.10"
cg_redNameColor "1.0, 0.10, 0.10"
cg_redShadeColor "0.0, 0.0, 0.0"

cg_blueDataColor "0.8, 1, 0.6"
cg_blueHeaderColor "0.3, 0.3, 1.0"
cg_blueNameColor "0.3, 0.3, 1.0"
cg_blueShadeColor "0.0, 0.0, 0.0"

cg_greenDataColor "0.8, 1, 0.6"
cg_greenHeaderColor "0.66, 0.76, 0.45"
cg_greenNameColor "1.0, 1.0, 1.0"
cg_greenShadeColor "0.0, 0.0, 0.0"

 

When customized, these CVARS can produce a variety of looks as shown below

 


Player Customization

Chat

 
 

Token List

Player Customization

Chat tokens are number text shortcuts that can be typed into the chat screen to produce different text outputs. The shortcut symbol for this is the hastag/pound sign "#". To call the shortcut simply place the the symbol followed by one of the following ASCII values below.

H     	//Health [Numeric]
h   	//Health [Bars]
A    	//Armor [Numeric]
a   	//Armor [Bars]
D, d    //Last Attacker
T, t    //Last Target
L, l    //Location
E, e   	//Equipment / Accessory
V    	//Your body Hit Location
v    	//Their body Hit Location
W, w    //Weapon Name
Z, z    //Last Person Connected
m    	//Map name short
M    	//Map name long
f    	//Spectator Following

 

As an example, to display your health in a numeric format with a simple text message type the following into the chat box

My health is #H

This will produce the result below


Interface

Player Customization

The chat interface is composed of two items. The chat entry portion at the top (Activated by default with "T") and the text output below. There are two options available, by default the new chat interface is active. The second option is to revert back to the original interface.

1.) New chat interface

 

An additional feature of the new chat interface is the ability to access extended ASCII keys. To activate this option, hold any of the "CTRL" keys followed by pressing any numbers between 0-9 or other letter characters. When active, the chat entry text will turn green signifying that it is active.

 

2.) Original chat interface


Server Setup

Command List

  
 

The (Double hyphen --) commands are specific to this mod only and (Single hyphen -) are standard SoF2 commands.

bot_enable "0"						// -  Enables Bots
com_hunkmegs "90"					// -  Allocated memory for the server
disable_item_gasmask "0"				// -- Disables Gas Mask
disable_item_infrared "0"				// -- Disables Infrared Goggles"Thermals"
disable_item_nightvision "0"				// -- Disables Night Vision Goggles 
disable_pickup_weapon_AK_74 "0" 			// -  Disables the specified weapon
disable_pickup_weapon_AN_M14 "0"			// -  Disables the specified weapon
disable_pickup_weapon_F1 "0"				// -- Disables the specified weapon
disable_pickup_weapon_L2A2 "0"				// -- Disables the specified weapon
disable_pickup_weapon_M15 "0"				// -  Disables the specified weapon
disable_pickup_weapon_M19 "0"				// -  Disables the specified weapon
disable_pickup_weapon_M3A1 "0"				// -  Disables the specified weapon
disable_pickup_weapon_M4 "0"				// -  Disables the specified weapon
disable_pickup_weapon_M590 "0"				// -  Disables the specified weapon
disable_pickup_weapon_M60 "0"				// -  Disables the specified weapon
disable_pickup_weapon_M67 "0"				// -- Disables the specified weapon
disable_pickup_weapon_M7A3 "0"				// -- Disables the specified weapon
disable_pickup_weapon_M84 "0"				// -  Disables the specified weapon
disable_pickup_weapon_MDN11 "0"				// -- Disables the specified weapon
disable_pickup_weapon_microuzi "0"			// -  Disables the specified weapon
disable_pickup_weapon_MM_1 "2"				// -  Disables the specified weapon
disable_pickup_weapon_MP5 "0"				// -  Disables the specified weapon
disable_pickup_weapon_MSG90A1 "0"			// -  Disables the specified weapon
disable_pickup_weapon_OICW "0"				// -- Disables the specified weapon
disable_pickup_weapon_RPG_7 "2"				// -  Disables the specified weapon
disable_pickup_weapon_SIG551 "0"			// -  Disables the specified weapon
disable_pickup_weapon_silvertalon "0"			// -  Disables the specified weapon
disable_pickup_weapon_SMOHG92 "0"			// -  Disables the specified weapon
disable_pickup_weapon_US_SOCOM "0"			// -  Disables the specified weapon
disable_pickup_weapon_USAS_12 "0"			// -  Disables the specified weapon
disable_weapon_knife "0"				// -  Disables the specified weapon
g_adminGhosting "0"					// -- Enables admin ghosting while ingame and dead
g_allowColorNames "1"					// -- Allows use of color in player names
g_allowThirdperson "1"					// -- Allows use of thirdperson feature
g_allowVote "1"						// -  Enables voting
g_altGametype "0"					// -- Enables specific alternate gametypes [Gungame, Zombie etc...]
g_armorValue "5"					// -- Amount of armor in value a dead player will drop
g_attackerInfo "1"					// -- Enables display of enemy health and armor upon death
g_autoEvenTeams "0"					// -- Automatically even teams
g_backpackrespawn "40"					// -  Amount of time it takes for a backpack to respawn
g_backpackValue "0"					// -- Sets a custom value for the backpack pickups [0 is disabled]
g_blueDC "0.8, 1.0, 0.6"				// -- Color of the Blue data text [ID, Ping, Acc etc...]
g_blueHC "0.3, 0.3, 1.0"				// -- Color of the Blue scoreboard header
g_blueName "BLUE"					// -- Caption of the Blue team
g_blueNC "0.3, 0.3, 1.0"				// -- Color of the Blue player name text
g_blueSC "0.0, 0.0, 0.0"				// -- Color of the Blue player scoreboard segments
g_botDelay "5"						// -- The amount of delay between adding a new bot automatically
g_bspFuncs "0"						// -- Enables embeded BSP functions when using map mod files [.ent]
g_bulletTrace "0"					// -- The collision mode of bullets towards players
g_camperPunishment "0"					// -- Enables camping punishment otherwise radius and time is used for shame award
g_camperRadius "200"					// -- Radius a player has to move past to not be considered camping
g_camperTime "10"					// -- Amount of time a player has to be camping before being punished [In seconds]
g_classicFlag "0"					// -- Enables CCTF mode [Classic Capture the Flag]
g_dmDC "0.8, 1.0, 0.6"					// -- Color of the Deathmatch data text [ID, Ping, Acc etc...]
g_dmHC "0.66, 0.76, 0.45"				// -- Color of the Deathmatch scoreboard header
g_dmName "PLAYERS"					// -- Caption of the Deathmatch team
g_dmNC "1.0, 1.0, 1.0"					// -- Color of the Deathmatch player name text
g_dmSC "0.0, 0.0, 0.0"					// -- Color of the Deathmatch player scoreboard segments
g_dmSTQ "0"						// -- Enables STQ during Deathmatch and Team Deathmatch
g_doWarmup "0"						// -  Enables warmup restart timer
g_dropInventory "1"					// -- Enables health and armor drops for dead players
g_enableM203 "1"					// -- Enables the M4 Rifle's M203 [Grenade Launcher]
g_extraAmmo "0"						// -- Provides all weapons with more ammo
g_extraTeams "0"					// -- Enables additional teams other than Red or Blue
g_explodePlayer "0"					// -- Explodes/Dismembers a player when blown up (Can cause lag)
g_explosionForce "0.5"					// -- The force of an explosion that is applied to a player
g_failedVoteDelay "1"					// -  Delay a player must wait after a failed vote call
g_flagPassing "0"					// -- Enables flag passing during CTF games
g_followEnemy "1"					// -  Allows dead players to spectate players on other teams
g_forceFollow "0"					// -  Forces spectators to follow a player
g_forcerespawn "20"					// -  Amount of time before a player is forced back into the game after death
g_friendlyFire "0"					// -  Enables team damage [Friendly Fire] [Team Games]
g_ggPadding "0"						// -- Amount of extra kills before upgrading weapons in GunGame
g_gravity "800"						// -  Gravity value
g_greenDC "0.8, 1.0, 0.6"				// -- Color of the Green data text [ID, Ping, Acc etc...]
g_greenHC "0.66, 0.76, 0.45"				// -- Color of the Green scoreboard header
g_greenName "GREEN"					// -- Caption of the Green team
g_greenNC "1.0, 1.0, 1.0"				// -- Color of the Green player name text
g_greenSC "0.0, 0.0, 0.0"				// -- Color of the Green player scoreboard segments
g_godBot "0"						// -- Enables the chance of a god bot being loaded
g_guestList "0"						// -- Enables guestlist feature
g_healthValue "5"					// -- Amount of health in value a dead player will drop
g_inactivity "180"					// -  Amount of time before a player is considered inactive
g_intermissionTime "0"					// -- Additional time the "Best Stats" screen will show
g_knifeClimb "0"					// -- Enables knife climbing
g_knockback "700"					// -  Amount of force applied to players when damage is taken
g_likeStatusTime "60"					// -- Delay between popularity/hated message display
g_log "games.log"					// -  File that will be used to log all of the server data
g_logHits "0"						// -  Logs detailed information regarding player hits in the g_log file
g_logSync "0"						// -  Log file mode | 0 continuous logging | 1 buffered logging |									
g_mapVar "0"						// -- Loads the specified map variation entity reference [.ent]
g_matchMode "0"						// -- Enables match mode and its commands and configs
g_maxBotSkill "6"					// -- Maximum bot skill for non nightmare bots
g_message1 ""						// -- Messages displayed periodically in chat via the interval message settings [g_message1 through g_message9]
g_messageInterval "60"					// -- Time in seconds before the interval messages start displaying and repeat
g_messageRandom "0"					// -- Cycles randomly through g_message# cvars
g_minPlayers "0"					// -- Minimum amount of players required in game before map change is automated
g_minStatKills "1"					// -- Minimum kills required for players to appear on the awards/stats screen
g_missileSpeed "15"					// -- Configures missile speed for homing missiles
g_motd ""						// -- Message of the day [Displayed during map loading]
g_nightmareBots "0"					// -- Enables nightmare bots
g_noRecoil "0"						// -- Disables weapon recoil [More accuracy]
g_noSpread "0"						// -- Disables weapon firing spread [More accuracy]
g_oneShotKills "0"					// -- Enables one shot kills [Extreme Mode]
g_painSounds "1"					// -- Enables enhanced pain sounds for player hits and deaths
g_password ""						// -  Password that is required to connect to the server
g_pickupsDisabled "0"					// -  Whether or not pickups are available in a map [Uses outfitting if not]
g_rankings "0"						// -  Enables alternate logic for player sorting
g_redDC "0.8, 1.0, 0.6"					// -- Color of the Red data text [ID, Ping, Acc etc...]
g_redHC "1.0, 0.10, 0.10"				// -- Color of the Red scoreboard header
g_redName "RED"						// -- Caption of the Red team
g_redNC "1.0, 0.10, 0.10"				// -- Color of the Red player name text
g_redSC "0.0, 0.0, 0.0"					// -- Color of the Red player scoreboard segments
g_respawnInterval "15"					// -  Delay before a player can respawn [CTF]
g_respawnInvulnerability "5"				// -  Amount of time a player has invincibility at spawn
g_rocketJumping "1"					// -- Enables rocket jumping [Boosted Jumps]
g_roundjointime "5"					// -  Amount of time after a round has started that a player can join in [Non CTF team games]
g_roundstartdelay "5"					// -  Time before a round starts [Seconds]
g_roundSwap "0"						// -- Swaps teams after each round when enabled [Red to Blue, Blue to Red...]
g_roundtimelimit "5"					// -  Timelimit for each round [Non CTF team games] [Minutes]
g_sissyForce "0.65"					// -- The force of an attack that is applied to a sissy player
g_sissyMode "0"						// -- Enables sissy mode feature
g_smoothClients "1"					// -  Performs player interpolation to smooth movements
g_specName "SPECTATORS"					// -- Caption of the Spectators team
g_speed "280"						// -  Speed value
g_spreeRewards "1"					// -- Enables killing spree rewards [Homing Missiles, Airstrikes...]
g_sprinting "0"						// -- Enables sprinting feature
g_statsDisplayTime "10"					// -- Amount of time the "Your Stats" screen will show
g_suddenDeath "1"					// -  Keeps round alive if scores are tied
g_suicidePenalty "-1"					// -  Amount of score added for killing yourself [typically negative]
g_teamAutoJoin "0"					// -  Automatically places a new player into a team upon first connecting
g_teamForceBalance "0"					// -  Places players into even teams when joining
g_teamHealing "0"					// -- Enables teammate healing
g_teamkillBanTime "5"					// -  Number of minutes to ban someone for after being kicked 
g_teamkillDamageForgive "50"				// -  Amount of teamkill damage forgiven each minute
g_teamkillDamageMax "300"				// -  Max damage one can do to teammates before being kicked
g_teamkillNoExcuseMultiplier "3"			// -  Multipier for tk damage that is inexcusable
g_teamkillNoExcuseTime "8"				// -  Number of seconds into a round where tk damage is inexcusable
g_teamkillPenalty "-1"					// -  Amount of score added for killing a teammate [Typically negative]
g_teamSkins "0"						// -- Allows use of team skins only when playing team games [currently disabled]
g_teamSpawning "0"					// -- Enables teammate spawning
g_timeextension "15"					// -  Amount of time that vote time extensions are valued at [Minutes]
g_timeouttospec "15"					// -  Amount of time a player has to be timed/lagged out before being moved into spectate
g_victimForce "0.3"					// -- The force of an attack that is applied to a victim player
g_voiceFloodCount "6"					// -  Number of consecutive chats before a player is considered flooding
g_voiceFloodPenalty "60"				// -  Amount of time a voice flooder must wait before they can use voice again
g_voiceFloodResetTime" "15"				// -  Number of time before each voice chat flood occurence is cleared
g_voiceTalkingGhosts "1"				// -  Allow ghosts to talk to alive players
g_voteDuration "60"					// -  Duration of an active vote
g_voteKickBanTime "0"					// -  Amount of time a vote kick/ban's a player
g_warmup "20"						// -  Amount of warmup time before a new map restarts
g_waterDmgMode "1"					// -- Decreases damage when a player is under water
g_weaponrespawn "15"					// -  Amount of time it takes for weapons to respawn
g_weaponWeights "0"					// -- Enables weighted weapons affecting player movement
g_welcomeMessage ""					// -- Displays a welcome message to each player upon entering the game
g_wpnMod "sof2"						// -- Damage/Weapon settings that your server will use
g_zombieForce "0.5"					// -- The force of a zombie attack that is applied to a player
sv_adminFile "mp_admin.cfg"				// -- File to approved admins
sv_aliasBroadcast "1"					// -- Broadcasts a list of aliases each player has used
sv_allowDownload "1"					// -- Enables server download [Old system] [Used for non mod clients]
sv_anonymousAdmin "0"					// -- Anonymizes admins
sv_antiCheat "1"					// -- Enables the anti-cheat system | 0 Off | 1 On | 2 Strict (Verified users only) |
sv_avatarsURL ""					// -- URL to avatars
sv_badwordFile "bad_words.cfg"				// -- List of words that will be deemed bad and cause text and player names to be censored
sv_countryFlags "224"					// -- Number of available country flags
sv_crosshairs "4"					// -- Number of available crosshairs
sv_customAdmFile "custom_adm.cfg"			// -- File containing custom admin commands
sv_customVotesFile "custom_votes.cfg"			// -- File containing custom votes
sv_emoticons "41"					// -- Number of available emoticons
sv_entMode "0"						// -- Enables ent edit mode [devmap only]
sv_extendedChars "1"					// -- Allows use of extended characters in player names
sv_fps "25"						// -  Rate at which the server sends snapshots to clients
sv_flagIcon "0"						// -- Sets a specified country flag for the server
sv_freeSlots "0"					// -- Kicks bots then spectators if server is getting full
sv_guestFile "mp_guests.cfg"				// -- File to approved guests for use with guest lists
sv_hostname ""						// -  Your server's name
sv_infoMessages "1"					// -- Displays periodic information messages to players regarding the mod and server
sv_mapcycle "mapcycle.cfg"				// -  Referenced mapcycle file
sv_mapsURL ""						// -- URL to where your map files are located [Cannot use autogenerated file links]
sv_paksRef ""						// -- List of PK3 files to be downloaded by players, space delimited [Example... "myskins mysoundpack myweaponmod"
sv_paksURL ""						// -- URL to where your pk3 mod files are located [Cannot use autogenerated file links]
sv_queueFolder "sound2/queues"				// -- Folder that contains standard queue/victory music
sv_queueFolder2 "sound2/queues/sissy"			// -- Folder that contains sissy queue/victory music
sv_rconFile "mp_rcon.cfg"				// -- File to approved RCON command admin users [Sysops already have full access]
sv_repeatBan "0"					// -- Re-applies a ban to a previously confirmed cheater
sv_rconProtect "0"					// -- Security feature to protect your Rcon access
sv_silentConnect "0"					// -- Disables chat and sound broadcasting of connecting players
sv_snowflakeFile "snowflake_words.cfg"			// -- List of words that will be used to determine who gets the snowflake award
sv_soundFile "sounds.cfg"				// -- File to available sounds for use in chat
sv_sysopFile "mp_sysop.cfg"				// -- File to approved system admins [Sysops]
sv_welcomeFile" "welcome.cfg"				// -- File containing welcome text
sv_victoryMusic "0"					// -- Available amount of regular music clips.
sv_victoryMusic2 "0"					// -- Available amount of sissy music clips.
TS3_Address ""						// -- Address to your TeamSpeak server
TS3_Chan ""						// -- The channel the player will be loaded into upon joining
TS3_Pw ""						// -- Optional password to your TeamSpeak server
website ""						// -- Your website [Defaults to MDK if not set]
weights_weapon_AK_74 "0.83, 1.14"			// -- Speed/Gravity scale factors when using g_weaponWeights					
weights_weapon_AN_M14 "0.98, 1.03"			// -- Speed/Gravity scale factors when using g_weaponWeights					
weights_weapon_F1 "0.97, 1.03"				// -- Speed/Gravity scale factors when using g_weaponWeights					
weights_weapon_knife" "1.0, 1.0"			// -- Speed/Gravity scale factors when using g_weaponWeights					
weights_weapon_L2A2 "0.97, 1.03"			// -- Speed/Gravity scale factors when using g_weaponWeights					
weights_weapon_M15 "0.98, 1.03"				// -- Speed/Gravity scale factors when using g_weaponWeights					
weights_weapon_M19 "0.9, 1.05"				// -- Speed/Gravity scale factors when using g_weaponWeights					
weights_weapon_M3A1 "0.85, 1.1"				// -- Speed/Gravity scale factors when using g_weaponWeights					
weights_weapon_M4 "0.83, 1.14"				// -- Speed/Gravity scale factors when using g_weaponWeights					
weights_weapon_M590 "0.84, 1.14"			// -- Speed/Gravity scale factors when using g_weaponWeights					
weights_weapon_M60 "0.75, 1.23"				// -- Speed/Gravity scale factors when using g_weaponWeights					
weights_weapon_M67 "0.99, 1.01"				// -- Speed/Gravity scale factors when using g_weaponWeights					
weights_weapon_M7A3 "0.98, 1.03"			// -- Speed/Gravity scale factors when using g_weaponWeights					
weights_weapon_M84 "0.98, 1.03"				// -- Speed/Gravity scale factors when using g_weaponWeights					
weights_weapon_MDN11 "0.97, 1.03"			// -- Speed/Gravity scale factors when using g_weaponWeights					
weights_weapon_microuzi "0.88, 1.07"			// -- Speed/Gravity scale factors when using g_weaponWeights						
weights_weapon_MM_1 "0.73, 1.21"			// -- Speed/Gravity scale factors when using g_weaponWeights					
weights_weapon_MP5 "0.84, 1.13"				// -- Speed/Gravity scale factors when using g_weaponWeights					
weights_weapon_MSG90A1 "0.83, 1.17"			// -- Speed/Gravity scale factors when using g_weaponWeights						
weights_weapon_OICW "0.77, 1.2"				// -- Speed/Gravity scale factors when using g_weaponWeights					
weights_weapon_RPG_7 "0.8, 1.22"			// -- Speed/Gravity scale factors when using g_weaponWeights					
weights_weapon_SIG551 "0.82, 1.14"			// -- Speed/Gravity scale factors when using g_weaponWeights					
weights_weapon_silvertalon "0.89, 1.06"			// -- Speed/Gravity scale factors when using g_weaponWeights						
weights_weapon_SMOHG92 "0.98, 1.02"			// -- Speed/Gravity scale factors when using g_weaponWeights						
weights_weapon_US_SOCOM "0.9, 1.05"			// -- Speed/Gravity scale factors when using g_weaponWeights						
weights_weapon_USAS_12 "0.8, 1.2"			// -- Speed/Gravity scale factors when using g_weaponWeights				

Server Setup

Customization

 
 

Sounds

Server Setup

To setup new sounds or modify the existing sound commands, locate the "sounds.cfg" located in the servers MDK folder. When opened, all currently configured sounds will be displayed starting from the announcement notifications followed by the voice command sounds.

 

These sounds are conveniently provided directly to players when the "sounds" command is entered into the console or the bind for available sounds is executed as shown below.

 

There are many sounds and features within the config that can be configured to your liking. It is advised to keep the standard voice commands as is to avoid confusion with players when visiting other servers. Instead, it is recommended to add additional sounds below the line titled "Additional voice commands".

When saving a soundpack for distribution to your players, the file "sounds.cfg" should not be included with the pk3 file as it is not needed an may cause confusion. Soundpacks can contain many sounds, even sounds that are in excess as they can be added later for use simply by modifying the "sounds.cfg". This eliminates the need for having to provide several soundpacks to add sounds if they are already available to you.


Music

Server Setup

A music queue is music that plays after a kill spree. This is music that is also available as victory music. This feature is disabled by default. To configure music you must do the following.

1.) Create a soundpack that contains the music that will be available.

The soundpack by default must be in the following folder structure


(Soundpack.pk3) -- File -- Can have any name

sound2 -- Folder
queues -- Sub folder inside of sound2
sissy  -- Sub folder inside of queues​

 

This folder structure can be configured with the following CVARS

sv_queueFolder "sound2/queues" -- Folder that contains standard queue/victory music

sv_queueFolder2 "sound2/queues/sissy" -- Folder that contains sissy queue/victory music

Once the folders are created you will need to add the music files.

Music files must be named numerical and in sequence.

It is recommended to have each music file be no longer than 10 seconds in length however this value can be larger or smaller.


sound2 -- Folder
queues -- Sub folder inside of sound2
1.mp3
2.mp3
3.mp3
4.mp3
5.mp3
sissy -- Sub folder inside of queues
1.mp3
2.mp3
3.mp3

 

Once the sound pack is completed you will need to tell the server how many sounds you would like for it to have available.

To do this use the following CVARS

sv_victoryMusic "5" -- The available amount of regular music clips.

sv_victoryMusic2 "3" -- The available amount of sissy music clips.

 

Below is an example of this structure as provided by the mdk_sounds_1.pk3


Server Setup

Downloads

  
 

The original download system provided by SoF2 has been replaced with a new and improved system. This new functionality allows users to download files at high speeds. To enable this functionality, the server operator will need to configure a URL for maps and for pk3 mod files. It is recommended that the setting "sv_allowDownload" "1" be enabled in order to provide the mod to new users.

1.) Locate and open the "startup.cfg" file located in the servers base folder.

2.) Search for the downloading section and provide a web URL for "sv_mapsURL" and "sv_paksURL"

3.) You will need to provide a list of space delimited pk3 file names for the "sv_paksRef" CVAR. This should exclude maps and typically can contain sound packs, skins and other mods.

An example for this would be

seta sv_paksRef "mysoundpack myweaponskins mymenutheme"

 

4.) Reboot the server or execute the "startup.cfg" file either via rcon "rcon exec startup.cfg" or in-game via the console with "adm rcon exec startup.cfg"

Note: The files referenced by "sv_paksRef" and the maps located in the servers mapcycle must be available on the web server for the downloads to work. The game servers MDK folder should not have any pk3 file with the exception of mdk_mod_X_xxx_u1.pk3, this file must also be located on the web server referenced by "sv_paksURL"