Server Install Instructions

New Install:
------------
1. On the server, make a new folder in the Mods folder (located in the CoD4 root) and name it pam4.  Your new folder should be in the same folder that contains the 'ModWarefare' folder.
2. Upload the .iwd and .ff files in the download to the new pam4 folder on the server.
3. Set the fs_game dvar in the command line of your server to "mods/pam4"
4. Restart the server.

Version Upgrade:
----------------
1. Stop the server.
2. Delete all .iwd and .ff files from the server's pam4 folder.
3. Upload the new .iwd and .ff files from the downloaded zip to the server's pam4 folder.
4. Restart the server.

Rule Files:
-----------
If you are participating in a League, please make sure you download the latest version of their rule IWD file and install it (ON THE SERVER ONLY) in the SAME directory as the mod.ff and core PAM4 IWD file.  Each League will have its OWN rule IWD file, so if you participate in more than one League, you will need one from each League.




Known Issues:
-------------
IW Bug: Servers will NOT work if they are attempting to use fs_homepath and/or fs_basepath.  Until IW fixes this bug, PAM4 requires the server to have a full set of its own files.

Please report any problems at www.wormsworld.net.  
Note that I can NOT help you with League Rule File problems.  Please direct rules discrepancies directly to your League.



Quick Version Update Information:

-------------------------------
*******************************
-------------------------------
PAM4.01 Minor Release
Bug Fixes:
Fixed a bug causing Suicide Nades to not work
Fixed a bug with the UAV not being called correctly
Fixed a stock Modwarfare bug that could happen if the server config trys to set an invalid default perk
Fixed a bug that could carry a player's kills over from one map to another
Fixed an issue that could cause a Linux server to crash if a player crashed out of the game (server crashes when player is finally being removed from the server).
Fixed a scoring issue with Last Team Standing (WAR gamestyle)
Fixed a spawning issue with Last Team Standing (WAR) by using S&D spawnpoints
Fixed a bug with pam_sab_ot_maxspawntime when it was set to 0 causing problems in the custom SAB round overtime period.
Fixed a Timeout Bug that was not allowing the defending team to defuse on the round AFTER a timeout.
Fixed a bug with the automatic AFK to Spectate scripting that could occur if a player left the server while being moved to spectate
Fixed a bug with the original ModWarfare class limits scripting causing an error
Fixed a bug with spawn protection damage feedback that could happen if damage was not caused by a player

Added generic pam_modes (pam1, pam2, pam3, pam4) that smaller leagues can use to run competition with until they get large enough to need their own modes.
DVAR change:  pam_war_gamestyle - Now takes a numerical setting rather than a text setting:
    0 (default) = Normal WAR gametype
    1 = Last Team Standing - Team with most players left alive win the round if time runs out
    2 = Last Team Standing - Round ends in a draw if both teams are still alive at the end of the round

Improved Scorebot Engine based on Scorebot makers' input. See: http://www.wormsworld.net/viewtopic.php?f=4&t=510





---------------------------------
*******************************
-------------------------------
PAM4.00 FULL Release New Dvars:

Timeouts are exclusively for MATCH modes only.  Does not work in pub modes.
At this time Timeouts are only in S&D mode (and Last Team Standing actually)
set pam_timeout_limit 0
set pam_timeout_length 120 //(in seconds)

set pam_allow_weather_fx 1  //rain, fog, dust, and flying animals
set pam_allow_fire_fx 1 //fire and smoke (does not effect explosions)
set pam_allow_sound_fx 1 //localized sound fx like leaves in a tree or metal creaking
set pam_allow_light_fx 1 //I don't really know, I just know they are there... lol
set pam_allow_ambient_sound 1 //The background sound that is played throughout the map

Explosive Barrel and Car damage
set pam_allow_explosion_damage 1


REPLACED the following dvar:
set pam_perk_specialty_nade_extra_ammo 2
WITH these dvars:
set pam_perk_specialty_flashnade_extra_ammo 2
set pam_perk_specialty_stunnade_extra_ammo 2

Sab only (changes submitted by CAL|Kyle)
set pam_sab_objective_fade_time 5
set pam_sab_show_bombsites 1
set pam_sab_bomb_carrier_alpha 1
set pam_sab_ot_maxspawntime 60

WAR only
set pam_war_gamestyle "stock" // Other option is "lts" which means Last Team Standing

For PUB mode only:
set pam_allow_favorites_menu 1 //Adds a menu item where players IN your server can click to add the server to their favorites



*******************************
-------------------------------
Beta 3 New Dvars:
set pam_sab_plant_sounds 1

set pam_enable_scorebot 1

Add these to your server start up config file:
sets __Pam_Axis_Score ""
sets __Pam_Allies_Score ""
sets __Pam_Ticker ""
sets __PamMode ""
sets __PamVersion ""
sets __PamModeLong ""

Using the above you can use XFIRE or any external server browser to follow the score and progress of a match.


*******************************
-------------------------------
Beta 2 New Dvars:
SD
pam_remove_briefcase
pam_sd_show_bomb_timer
pam_sd_spawn_protection

SAB
pam_sab_ot_style
pam_sab_ot_spawnincrease
pam_sab_ot_incrementtime
pam_sab_spawn_protection
pam_sab_show_bomb_carrier
pam_sab_objective_ping_delay


DOM
pam_dom_style
pam_dom_capout_bonus
pam_dom_capout_holdtime
pam_dom_spawn_protection
scr_dom_roundswitch

WAR
pam_war_spawn_protection
scr_war_roundswitch

DM
pam_dm_spawn_protection

KOTH
pam_koth_spawn_protection

Generic
pam_switch_teams_at_halftime
pam_autokick_spectators