Skip to content
eyza-cod2Public

About

zPAM is competitive mod for COD2

Resources

Stars

68 stars

Watchers

11 watching

Forks

Latest commit

 

History

129 Commits

Folders and files

Repository files navigation

Introduction

Mod zPAM is a competitive mod for CoD2.

The code from the previous version zPAM 2.07 was completely rewritten and ported to a new code base, which helped in the implementation of new features and bug fixes.

Work on this PAM was initiated by me in 2015 and was never fully finished. On corona days, I decided to finish it.

❗ Note ❗
This page describe only actual version zPAM 4.12.
To see description of previous versions, click on the links in Version list.

Download

Version list

Changelog

zPAM 4.12 changes (click to open)

Changes:

  • Call of Duty 2 21st birthday event in ready-up (enabled by default in this version, cvar scr_event_birthday 0 turns it off)
    • birthday cake with 21 candles on the aim trainer poster in both spawns, each hit lights a candle and shows its number
    • the 21st hit explodes the cake: short celebration with confetti, fireworks and cheering, the birthday poster appears with the anniversary emblem floating over it
    • the first burst of each poster throws out 5 party hats, every later burst a party hat launcher (20 hats, bounce off players, stick to walls)
    • only in ready-up, everything is removed when ready-up ends, nothing affects the match
  • AFK kick in CoD2x match (thanks h1z)
    • enabled only if match data contains afkTimeout (seconds); counted in live time only, works in SD and DM
    • player is warned 30, 20 and 10 seconds before the kick; spinning the view does not count as activity
    • kick reason is shown in the disconnect dialog with CoD2x supporting kick reason
  • Pistol bash rounds are not counted as live time in leaver detection (thanks h1z)
  • Server log extended for stats applications (log version 2) - new fields and lines, overall map stats before MatchEnd, see Server log

zPAM 4.11 changes (click to open)

Changes:

  • Time limit to join and ready-up in CoD2x match (thanks h1z)
    • enabled only if match data contains readyTimeout (seconds); only in first ready-up of the first map
    • if ready-up does not end in time, match is canceled and players who did not join / ready-up are reported via match data (cancel_reason, cancel_player_uuids, cancel_details)
    • countdown "Match will be canceled in" is showed in last 10 seconds, players who block the match start are printed
  • Player stats are kept for the whole match when player reconnects later (router / PC restart) (thanks h1z)
    • old 999 connection is dropped immediately when player reconnects into another slot

zPAM 4.10 changes (click to open)

Changes:

  • Fixed hits counting in scoreboard: scoped Kar98k was counted only +0.5 instead of +1; new PPSh, BAR, Bren and FG42 hits were not counted at all
  • Round report now shows weapon name for kills by new PPSh, BAR, Bren and FG42
  • Extended match stats: multi-kills, trades and kills by weapon class (thanks h1z)
    • SD/RE: multi_kills_2 / 3 / 4 / 5 (rounds with exactly 2, 3, 4 or 5+ enemy kills), trade_kills and traded_deaths (enemy killed within 5 seconds after he killed a teammate)
    • all gametypes: kills_smg, kills_assault, kills_rifle, kills_scope, kills_shotgun, kills_secondary, kills_grenade, kills_knife, kills_other
  • Leaver detection for CoD2x match (thanks h1z)
    • enabled only if match data contains leaverTimeout (seconds); works in SD and DM
    • disconnected time of players from match data is summed (only live time is counted); when it reaches leaverTimeout, player is reported via match data (leaver_uuids), match continues
    • disconnected time of every player is sent in match data (disconnected_times)

zPAM 4.09 changes (click to open)

Changes:

  • Extended match stats: real damage, headshots, entry kills/deaths, aces and clutches (thanks h1z)
    • damage in match data is now real HP dealt to enemies (capped by victim's remaining health)
    • headshots counted in all gametypes; TDM/HQ/CTF/HTF now track kills/deaths/damage/headshots
    • SD/RE: entry kills/deaths, aces and 1vX clutches (counted only if both teams have 2+ players)
    • RE uploads match data after every round, TDM/HQ/CTF/HTF every minute
  • Kick players in team that are not allowed to play in the match (not logged in via /match login or not assigned to any team) - players are warned 2 times and then kicked; can be disabled via new cvar scr_matchinfo_kick_not_allowed (thanks h1z)
  • New PAM sub-mode ruleset for the South American region - comp_sa (thanks brolpzt)
  • EU competitive rules: scr_smoke_type changed to 2 (consistent smoke), same as NA

zPAM 4.08 changes (click to open)

Changes:

  • Fixed weapon persistence to keep same weapons from end of the round also in next round; keep "kar bug" fix
  • Ability to toggle hit indicator animation via settings
  • Updated menu with zPAM settings; removed auto recording and enemy list as its always enabled now; mouse settings moved to top level, added m_rinput and sensitivity_mg cvars
  • Faster respawn in readyup (2sec to 0.5sec)
  • Added protection against [{name}] in players names, resulting to showing "Unbound" instead of player name
  • Ban time set to 0 seconds when player is kicked by zpam (because of bad name for example) in competitive settings
  • Code: Fix parse error when commit contains quotes

zPAM 4.07 changes (click to open)

Changes:

  • Shotgun - changed damage ranges to (0 -> 280 -> 400 -> 500 -> 800) with fixed damage
  • MG - damage change to 100hp for head+neck, 75hp for body, and 35hp for other parts
  • Changed hit indicators and sound feedback to better recognize between hit and kill
  • New images for radar for Trainstation and Vallente
  • Improved text messages for shotgun damage info
  • Fix player stats preserve when reconnecting over stale 999-ping slot
  • Fixed possibility to have both scope and shotgun after timeout

zPAM 4.06 changes (click to open)

Changes:

  • New PAM mode ruleset for the North American region - comp_na
  • Shotgun - new consistent pellet spread using predefined pattern of pellets with random rotation + removed hits in close range 0-250
  • Smoke - added new rendering for smoke grenades and possibility to choose between original thin smoke, thick smoke and new consistent smoke.
  • Neck hitbox fix - when enabled, it will convert all neck shots to head shots and adjust damage for them.
  • Buffed BAR and Bren LMG - when enabled, they will have faster reload and fire rate.
  • Breakout TLS - added possibility to switch between British and American on the allied faction
  • New map Trainstation BHG
  • MG damage fixed - previously the damage of MG was wrongly calculated according to the weapon you were holding, now it will be calculated correctly; head+neck = 50hp; other parts = 35hp
  • MG tearing fixed when following player that holds MG turret
  • Improvement of hand hitbox fix by slightly increasing the size of box
  • Fixed reseting of sv_cracked, added info about cracked server into server info menu
  • Added new commands to RCON menu settings:
    • scr_smoke_type 0/1/2 - CVAR that will change the smoke bloom type. 0 being thin original smoke. 1 being the smoke fix (thick smoke). 2 being a new consistent smoke modeled after thick smoke.
    • g_shotgun_spread_fix 0/1 - CVAR that will enable the shotgun consistent pellet spread.
    • scr_hitbox_neck_kills 0/1 - CVAR that will convert all neck shots to head shots.
    • scr_bar_buffed 0/1 - CVAR that enables the buffed BAR. Bar has faster reload and fire rate.
    • scr_bren_buffed 0/1 - CVAR that enables the buffed Bren LMG. Bren LMG has faster reload.
    • scr_breakout_british 0/1 - CVAR that toggles between British and American on the allied faction of Breakout_TLS.

zPAM 4.05 changes (click to open)

Changes / Fixes / Improvements:

  • Custom URL for demo upload from match data

zPAM 4.04 changes (click to open)

Changes / Fixes / Improvements:

  • Saving demos from lan into separate directory
  • Disable match cancel if server is empty

zPAM 4.03 changes (click to open)

Changes / Fixes / Improvements:

  • Fixed "Attempted to overrun string in call to va()" error caused by streamer mode with vmix

zPAM 4.02 changes (click to open)

Changes / Fixes / Improvements:

  • Streamer layout improvements
  • Warning "server is cracked" moved into changed cvars section
  • Reorientation of radar maps so allies are always on bottom, axis on top
  • Added mp_breakout_tls and mp_leningrad_mjr for radar

zPAM 4.01 changes (click to open)

Changes / Fixes / Improvements:

  • All changes from zPAM 4.00 TEST 1 to zPAM 4.00 TEST 6

zPAM 4.00 TEST 6 changes (click to open)

Changes / Fixes / Improvements:

  • Adjusted developer scripts
  • Allowing score change at any time in LAN mode
  • Fix of server crash when player disconnect in match
  • New demo recording + uploading using CoD2x
  • Enable readyup auto-resume on LAN
  • Streamer config, minor adjustements
  • Streamer bird camera
  • vMIX support
  • Streamer spectated player name as cvar

zPAM 4.00 TEST 5 changes (click to open)

Changes / Fixes / Improvements:

  • New "draw" sub mode to disable overtime
  • Usage of new CoD2x functions getStance and getViewOrigin

zPAM 4.00 TEST 4 changes (click to open)

Changes / Fixes / Improvements:

  • Check if all players are ready once streamer joins team and there is atleast once player in allies or axis
  • Black list of old CoD2x versions
  • Match system: Some of the variables moved from CoD2x to zPAM
  • Match system: Force player nicknames if required by match

zPAM 4.00 TEST 3 changes (click to open)

Changes / Fixes / Improvements:

  • Radar images for TJ, BG, DW, MAT, CAR, RAIL
  • Streamer improvements, red-blue layout
  • New matchinfo menu + bar, support for DM (1v1, stats), readyup waiting (missing, unjoined or mixed players), preventing map change after first round, nick warning
  • Fixed not dissapearing hit icon when 2 players are hited in same time

zPAM 4.00 TEST 2 changes (click to open)

Changes / Fixes / Improvements:

  • Match system: added "state" key to signalize finished map
  • Match system: allow map change until map order is known

zPAM 4.00 TEST 1 changes (click to open)

Changes / Fixes / Improvements:

  • Faster loading of objectives on round start on compass
  • New functions for developer
  • Clock in strat always visible (0:00)
  • Added objective icons (plant labels) in strat
  • Fixed double-hit sound via nade, added double-cross hit icon when 2 or more player are hit
  • Added warning about unsupported game version (1.0, 1.2, 1.3 and old CoD2x versions)
  • Added sv_cracked to be monitor for changes
  • Added scr_posters into ignored cvars + prevent restart when match system is activated
  • New streamer layout (CoD2x)
  • Match system support (CoD2x)
  • Competitive settings (limits of max fps, wait command,etc) (CoD2x)
  • Flag for first time player connects
  • Added CodeCallback_StopGameType (CoD2x)
  • Added support for sv_fps 40 (introduced in CoD2x)
  • Improved text when player call pistol bash
  • Fixed weapon count cvars for nades and smokes, used in custom settings for public servers

zPAM 3.36 changes (click to open)

Changes / Fixes / Improvements:

  • new mappack version 6
    • updated maps: mp_railyard_mjr, mp_leningrad_mjr
  • detection of CoD2x

zPAM 3.35 changes (click to open)

Changes / Fixes / Improvements:

  • new mappack version 5
    • new maps: mp_railyard_mjr, mp_leningrad_mjr
    • removed killtriggers on mp_trainstation_fix (Caen)
  • requirement to rename zzz_zpam_custom.iwd to something unique (e.g. zzz_zpam_custom_fpschallange_v1.iwd).
  • adjusted text of zPAM installation error message

zPAM 3.34 changes (click to open)

Changes / Fixes / Improvements:

  • new mappack version 4 (new maps: mp_leningrad_tls, mp_trainstation_fix, mp_vallente_fix, mp_dawnville_sun, mp_crossroads, mp_carentan_bal)
  • bug fix - SCOPE / SHOTGUN not pickable in strattime when dropped
  • new button in weapon menu: "Replace secondary with pistol" - fixes an issue when you click again on the currently selected weapon and the secondary weapon is removed
  • weapon menu fix - when "[ESC] Close" button is clicked, menu does not close properly and only cursor stays visible
  • adjusted streamer layout (team scores and names moved next to player bars; match time and score from previous maps moved next to compass; round info moved next to time; made sure that compass has always the same size, lagometer is hidden, fps is hidden)
  • feature to save server data into file (match info, player positions, score, health), could be used as API
  • russians are enabled by default on winter maps
  • feature to show posters on walls (for lans)
  • new weapon FG42 (disabled by default)
  • balanced BAR - damage increased from 40 to 45 (disabled by default)
  • removed PCW mode, replaced with custom mode, which can be adjusted for specific needs (nightcups, lans, ...)
  • fixed false grenade hit indication when enemy is killed by other player in the same moment

zPAM 3.33 changes (click to open)

News:

  • [3.3.72] New streamer team for auto-spectator features
    • Is completly rewrited, new method for mouse and key detection
    • Hotkeys to toggle Auto-spectator, replay kill, toggle XRAY, toggle showing hit values, follow player
    • Auto-killcams will be played at the end of the round even if auto-spectator is off
    • If the killcam is too long, the round end timer will be extended
    • Auto-spectator will predict player positions to improve switching to players in right situations
    • XRAY will be turned off by default
    • Player's left and right boxes are now not sorted by score, but now by client number (for easier hotkeys)
    • Player's left and right boxes now contains info about weapons (similar to CSGO)
    • Spectators are automatically set ready-up
    • Score progress now indicate who called the timeout with via team color
    • Player progress will be colored via team color to better indicate the players count situations
    • Added kill count for individual players in current round
    • Adjusted the font size of XRAY - now it will dynamically change the size based on distance
    • Text who is planting / defusing the bomb
    • 2 color modes - blue and red, cyan and purple
  • [3.3.73] Plant - added timer showing time left to explosion; when bomb is defused, it will show the remaining time till explosion
  • [3.3.74] In the strat-time period, a new "weapon drop" sound is played when you drop your secondary weapon (helps people easily detect where you drop your weapon)
  • [3.3.75] Clearing the console after auto-recording started on each map (to avoid the need to scroll down the console)
  • [3.3.76] Aim-trainer on FIX maps available in readyup (https://youtu.be/XmURNWF3bHs)
  • [3.3.77] Updating of the scoreboard every round to have it available when replaying demos (scoreboard is by default updated only when is opened by player)
  • [3.3.78] Added empty name protection - if empty name is used for first time, player is warned and renamed. The second time player is kicked.
  • [3.3.79] LOD models - forcing tanks, cars, trucks, and artillery flak to be always rendered at high detail (this fixes holes in models at long distances)

Fixes / Improvements:

  • Readyup: fixed "welcoming" text that were not showing when you joined team + added info about time to readyup (halftime 2min, timeout 2min, between maps 5min)
  • Scoreboard menu: possibility to set players color from menu also in readyup
  • Overtime: score is not reset in overtime now; when map ends up with 12/12 score, the end score limit is just increased by 4
  • Grenade "eater" bug fixed - when you pickup grenade from ground from enemy team, that grenade was not dropped when you die; now all grenades will be dropped
  • Fixed clan team names - sometimes the last character was cutted off
  • RCON kick player list was extended from 16 to 22 lines
  • Strat: removed bot's icon above head
  • Round report: hit to Body was renamed to Torso-lower and Torso-upper
  • List of players left: fixed empty names
  • Fixes for HQ and CTF server crashes
  • Restoring to original smoke rendering
  • Updated FIX maps, they will be named mp_toujane_fix mp_carentan_fix mp_dawnville_fix mp_matmata_fix mp_burgundy_fix
  • Improved "hand hitbox fix" (fix was not applied when head point is behind cover + double shots bug fix)
  • Improved "consistent shotgun" - distance between players is now more precisly counted between attacker's eye origin and enemy pelvis origin
  • Adding the distance between you and the enemy for shotguners into round report
  • Fixed team menu not opening when "russian" sub mode is used on russian maps (via rcon menu or via /rcon pam_mode comp_russian)
  • Added more info into /pam_damage_debug to have better understanding why some of the hits occured
  • Fixed swapped map score history in match info bar - score was sometimes swapped from player's view (Toujane 13:6 instead of Toujane 6:13)
  • Fixed missing smoke for shotgun in CTF, HTF, TDM
  • Improved team name generating
  • STRAT gametype: added clock timer
  • Fixed TDM halftime missing in time sub pam modes
  • Fixed "&&1 Wins!" string in DM scoreboard
  • Dawnville: fixed splash MG stuck bug when MG fix is applied
  • DM gametype: restored DM objects + MG
  • Weapon usage is now generated for each individual weapon, not by class
  • Scope and shogun auto-drop protection when you pickup weapon from the ground was improved by disabling scope / shogun pickup when there are other players near by; pickup is allowed only when the player who owns the weapon is near by the weapon.

zPAM 3.32 changes (click to open)

  • [3.3.70] Silent weapon switch when climbing - restoring the original behavior + disabling the weapon switch sound that is played only in 1st point of view
  • [3.3.71] New hand hitbox fix - addressing the hit problems
  • Fixed pistol being dropped in rifle mode when player is killed
  • Fixed auto-recording in deathmatch
  • Fixed RCON menu - rifle and 2v2 mode had wrong order, (correct comp_rifle_2v2 instead of bad comp_2v2_rifle)
  • Auto-spectator improvements:
    • new XRAY icons besides player names showing enemies behind walls - all toggle able by holding F
    • fixed black screen for dead players if killcam is played
    • damage info moved down next to "You killed XXX" text
    • when there is more killcams to be played at the end of the round and end time elapsed, its extended so killcams are fully played (players will have disabled weapons in this period)
  • Improved round report
    • showing damage for kills + fixed showing 0hp damage
    • red star is added indicating that "Hand hitbox fix" or "Torso hitbox fix" was applied
  • Improved scoreboard
    • adding a button to take a screenshot of scoreboard with ENTER key (since binds are not working in new scoreboard)
    • it will always show disconnected players (with [-] prefix) for 5 mins (so you see stats for all players in final scorebard)
    • only Kills and Deaths will be showed for enemy team (to avoid recognize enemy position by watching the scoreboard)
    • added statistic of kills with grenade
    • hits counting changed: Scope/rifle +1, Semi/Automatic/Shotgun +0.5 (its counted once after the hited player is fully healed)
    • hits colored yellow if its value is >=5.0 and red if its value is >=10.0
  • Adding 10min settings for time based gametypes (DM, TDM, HQ, CTF, HTF)
  • Added damage info into readyup (testing)
  • Fixed scr_motd not being able to change
  • Disabled killing with grenade in readyup
  • Showing type of server and number of players slots in server info menu
  • Some other minor changes

zPAM 3.31 changes (click to open)

  • [3.3.68] Climbing sound fix
    • If you climb ladder or wall, the "weapon switch" sound was made only for 1st person player, it was silent for other players
    • Now the sound matches equally, so you hear exactly what other players hear (meaning if you climb ladder or wall, "weapon switch" sound is made for everybody)
    • If you want to silently climb ladder or wall, you need to hold weapon down by scrolling down 2x and hold left mouse
    • This fix replaces previous [3.3.49] "Ladder weapon fix" in 3.30
  • New version of mappack - zpam_maps_v2.iwd
    • There is a problem with previous version zpam_maps_v1.iwd - when you have this file downloaded in main folder and you try to connect older 3.22 server, error "Impure client detected" shows
    • Please remove old zpam_maps_v1.iwd file from main folder
  • [3.3.69] SD voiceover sound "Move in!" is now played only if player is not moving (replaces [3.3.62])
  • Verson 1.0 will not require to have mappack zpam_maps_v2.iwd installed because there is no possibility for fast download
  • Autospectator fixes
  • UI stuff minor changes
  • HTF flag spawn timer fix when timeout

zPAM 3.30 changes (click to open)

News:

  • [3.4.16] New pam mode names - cg was removed, now only pub and comp modes are available with sub modes.
    • modes: pub, comp, warmup
    • sub-modes: 2v2, rifle, russian, lan, custom
    • Examples:
      • /rcon pam_mode pub - Public mode (custom settings)
      • /rcon pam_mode comp - Competitive mode
      • /rcon pam_mode comp_mr3 - Competitive mode with max round 4
      • /rcon pam_mode comp_custom - Competitive mode for team mix
      • /rcon pam_mode comp_custom_russian - Competitive mode for team mix, russian side on russian maps
      • /rcon pam_mode comp_2v2 - Competitive mode, scope and shotgun disabled
      • /rcon pam_mode comp_rifle - Competitive mode, bolt action and sniper only
      • /rcon pam_mode comp_rifle_2v2 - Competitive mode, bolt action only, sniper disabled
      • /rcon pam_mode comp_lan - Competitive mode on LAN, no readyup time limits
  • [3.4.17] Added support of HQ, CTF, HTF and RE gametypes
  • [3.4.18] Added rifle only mode
  • [3.3.44] Cvar system rewrited; any change to server settings is retained even when map changes; new cvar /pam_mode_custom is defined - it tells that changes made to server settings stays between map
  • [3.3.45] Warnings about wrong server settings (no password, cheats enabled, punkbuster disabled, cvars changes) is changed; its showed in left top corner under the score; if some of the server settings is changed, detailed list of changed cvars is showed; punkbuster warning is removed
  • [3.3.46] Hand hit box fix - if hands are in front of body and game somehow badly interprets it as hit to the hand, PAM change it to hit to the body; its an extension to already existing fix in 3.22 for left hand - now its applies also for right hand
  • [3.3.47] Torso hitbox fix; lower torso hitbox (pelvis area) is slightly enlarged as workaround for bad hitbox registration between torso_lower and right/left_leg_upper; this change effectively applies only for rifles, because other weapons has the same damage for torso_lower and right/left_leg_upper
  • [3.3.48] Consistent shotgun - this is the new name for new shotgun; this shotgun fixes close range hits; it replaces rebalanced shotgun
  • [3.3.49] Ladder weapon bug fix - silent use of ladder is no more possible; its a situation when you double scroll your weapon, hold fire button and use a ladder
  • [3.3.50] Sliding bug fix; g_knockback is set to 0; when you are hit, no move energy is applied (knockback); this should fix fast sliding on ground / getting bugged into ground
  • [3.3.51] Sniper shotgun info - weapons of players with sniper and shotgun are showed next to compas at start and the end of the round
  • [3.3.52] Colored time - color of round timer changes to orange when 30 seconds are left and red when 15 seconds are left
  • [3.3.53] Damage feedback (hit cross in center) - slightly changed to better distinguish between hit and kill; if its hit only, cross is more transparent and disappears quicker; if its kill, cross is fully showed and stays longer
  • [3.3.54] New blood effect to better visualize hit location; can be enabled / disabled via /cg_blood
  • [3.3.55] RCON menu - new menu for changing map, server settings and player kick; is showed in all menus in new place
  • [3.3.56] Auto-spectator - better auto-switch algorithm; hit info; player names; auto hide of help text
  • [3.3.57] Auto-spectator - automatic killcam replay based on interesting actions (multikills, nozoom)
  • [3.3.58] Match info - team names now can contains special characters like # _ ! < > etc..
  • [3.3.59] Bash mode text over the screen is showed when bash mode is called.
  • [3.3.60] Cvar warning all over the screen is removed for cvar developer and polygons
  • [3.3.61] Objective text showed in scoreboard is removed
  • [3.3.62] SD voiceover sound "Move in!" removed at the start of the round
  • [3.3.63] SD voiceover sound when bomb is planted is shortened - only "Explosives planted" sound is retained
  • [3.3.64] Strat - up to 9 bot path recording can be saved; up to 9 bot path recordings can be played at once; automatic record stop is now faster
  • [3.3.65] New mappack file zpam_maps_v2.iwd with maps Toujane FIX v2, Burgundy FIX v1, Dawnville FIX v2, Matmata FIX v2, Carentan FIX v2, Breakout_TLS, Chelm, Vallente, wawa_3dAim
  • [3.3.66] Timeout settings changes:
    • timeouts per map: 4 (previously 2)
    • timeouts per side: 2 (previously 1)
    • timeout length: 2min (previously 5min)
    • so total timeout time would be 8min per map (previously 10min)
    • overtimes does not reset called timeouts count - it means if you called out all of the timeouts in standard game time, you dont get new timeouts in overtime. (same as previous)
    • when timeout time expires, "Time is over" warning message appears - setting one team ready will end the timeout. (previously it automatically resumes the game)
  • [3.3.67] Time between halfs and maps changes:
    • between maps: 5min (as previous)
    • between halfs: 2min (previously 5min)
    • between halfs at overtime: 1min (previously 5min)
    • for LAN mode, there will be no time limits between halfs and maps


Bug fixes:

  • [2.3.5] Error while running server on 1.0 version fixed
  • [2.3.6] Fixed bug when you drop MG and step sound was made when mg peek fix was enabled
  • [2.3.7] Matchinfo - fixed bug when team names does not match players in teams; happens when pistol bash was called and players swap teams
  • [2.3.8] Auto-recording - fixed bug with empty team names when bash mode was called
  • [2.3.9] Auto-recording - server crash when somebody joins a team at the end of the round (only windows servers) -> fixed
  • [2.3.10] Auto-recording - wont start if main menu is opened, quick messages menu is opened or game is minimized -> fixed
  • [2.3.11] Auto-spectator - When replaying killcam in spectator, name of spectated player is not removed when the killcam ends -> fixed
  • [2.3.12] Fixed text PC_PATCH_1_1_SD_OBJECTIVES in SD server info
  • [2.3.13] Weapon name next to ammo HUD is not visible when enemy player list is enabled -> fixed by showing the weapon name under the ammo
  • [1.14] BAR sound bug - when BAR weapon is picked from ground, it makes pickup sound for every player -> fixed


zPAM 3.22 changes (click to open)

Bugs fixed:

  • [3.3.18] Quick menu settings - settings for 'Show enemy list' was not correctly saved - fixed
  • [3.3.29] Score changing via menu - fixed issue when score is changed to halftime state (for example 10:2 in cg_mr12) - halftime was then called again -> fixed

News:

  • [3.3.42] Players left - when last player in team is killed, text "Allies Eliminated" / "Axis Eliminated" is showed (this change was already in zPAM3.20 - i forgot to write it to the change list)
  • [3.3.43] When you hit your teammate, reddish hit mark is showed
  • Added text warning on screen to select a team when you ESC welcome (server info) menu

Update of existing:

  • [3.3.32] New damage feedback for assists - text "assist" is showed instead of hit mark
  • [3.3.41] When 5min timer expires between maps / halfs, warning text is showed for better indication that one team ready will skip the readyup
  • [3.3.42] Players left - when some player were killed, "bouncy" animation was used for text. Its removed now because the number sometimes incomprehensibly moved all over the screen
  • [3.3.42] Players left - when last player in team is killed, text "Allies Eliminated" / "Axis Eliminated" is now showed in red color.
  • [3.3.10] Match info - improved detection of new match with different team
  • [3.3.2] Auto-recording - ensuring my team name is always first in demo name
  • [3.3.17] Scoreboard menu - when final scoreboard is showed, players names are showed with colors now

zPAM 3.21 changes (click to open)

Bugs fixed:

  • Updated Toujane FIX to version 2 - fixed link wall vault - https://youtu.be/DuoJOrDeaaM
  • PAM installations checks - on some servers it says installation error even if installed correctly -> fixed

Update of existing:

  • [3.3.10] Match info - ingame info with team names and score visibility is turned off by default now
  • Strat - players are now spawned by SD spawn positions, not DM spawn positions - this make vallente map working in strat

zPAM 3.20 changes (click to open)

Bugs fixed:

  • When you picked up weapon of enemy team into secondary slot, you was respawned only with pistol -> fixed
  • On start of new round, when you have mp44 for example and you picked up a weapon or you dropped a weapon, changing weapon to shotgun via menu (you get shotgun next round) gives you a smoke -> fixed
  • Auto-recording didnt start to record when some menu is opened -> fixed, opened menus are closed when recording starts r_polygonOffsetScale and r_polygonOffsetBias warning appears even if they were correctly set to -1 -> fixed
  • In strat, spawned bots are kicked when player disconnect from server
  • FPS drops in strat - caused by HUD texts with keys of bind -> fixed
  • Deadchat in strat
  • g_allowVote fixed in menu

News:

  • Code base was rewrited a bit, now code from old pam is completely ported to new pam codebase
  • New mp_toujane_fix_v1 map with fixed bugs
  • New mp_burgundy_fix_v1 map with fixed bugs
  • [3.3.27] MG clip FIX - if you drop a MG, you will be spawned right behind the MG
  • [3.3.28] Dead bodies are not spawned near planted bomb
  • [3.3.29] Score changing via menu - in first readyup, you can change a score of teams via rcon menu (in case wrong pam_mode was set, server crash, etc..)
  • [3.3.30] New spectating system - new UI, auto-spectator is now better, score stats, player progress stats, etc..
  • [3.3.31] Round report - at the end of the round info about kills and hits you made are printed
  • [3.3.32] New damage feedback for assists - when player damaged by you is killed, damage feedback cross is showed
  • [3.3.33] Enemy list - new player names list of alive enemy players. Players can be marked with different color via ingame scoreboard menu.
  • [3.3.34] In readyup, you can throw nades like in strat mode
  • [3.3.35] New custom settings for map mode in rcon menu - a few of the settings can be changed (for example fast-reload fix, shotgun rebalance,..) and this change stays applied in next maps
  • [3.3.36] New menu section in Main -> Options for zPAM settings
  • [3.3.37] List of all changed server cvars is showed in "Server info" menu
  • [3.3.38] Score in left-top corner can by enabled via settings menu
  • [3.3.39] For future hit diagnostics, at the end of each round info about hits is saved to cvar pam_damage_debug
  • [3.3.40] Hand hitbox fix - if you fire from rifle or scope to left arm at +-20* degrees, it will be changed to kill to body (more info on github)
  • [3.3.41] In halftime-readyup and between map readyup, when 5min timer expire, red timer is showed. If all players from 1 team are ready, match automatically start even if opponent team is not ready.
  • [3.4.15] PAM now has to be installed in main folder - this will fix problem with not saved cvar changes you made in game

Update of existing:

  • [2.2.3] Timeout now can be called in round before halftime / map end
  • [3.2.1] Warning that you cannot drop actual weapons are now printed into killfeed instead of center messages
  • [3.3.2] Auto-recording is now recording between maps (demo is not stopped on next map)
  • [3.3.16] Rebalanced shotgun was updated to handle close range hits and long range kills better. Is enabled by default now.
  • [3.3.17] Scoreboard - new stats for assists; damage was changed to hits and is counted better; plants/defuses are not showed for enemy team
  • [3.3.18] Quick menu - new option for enable team score in left top corner, same as [3.3.38]
  • [3.3.19] Bash mode - message is printed if it is bash round; map is not restarted after bash is over
  • [3.3.26] Prone-peek is now processed better and is enabled by default. (400m delay is added only if pronepeek-able wall / conver is detected instead of adding it every time)
  • [3.4.14] Strat time was set to 6 seconds for cg and cg_mr12 pam modes
  • Diagonal fix was removed

Installation

  • Download zPAM 4.12 and extract files into following locations:

    • ./Call of Duty 2/main/zpam412.iwd
    • ./Call of Duty 2/main/zpam_maps_v7.iwd (*not required for 1.0 and 1.2 game version)
    • ./Call of Duty 2/main/server.cfg
  • Add +exec server.cfg into command line arguments

  • Edit the server.cfg file to configure your server.

  • Make sure the server is runned without a mod (set fs_game "").

    • PAM uses default main folder because mods does not exec player's configs correctly and settings changed in game would not be persisted to next game session.
  • For game version 1.3:

    • Mappack file zpam_maps_v7.iwd needs to be included in main folder. What is zpam_maps_v7.iwd file?
    • Fast download must be enabled via these settings (custom URL may be used):
    • This is to make sure that maps are downloaded in fast way for players

❗ Error "PAM is not installed correctly" may show. ❗
To fix this error, follow instructions in Troubleshooting section

If you are running server manually, this is example of command line parameters:
+set dedicated 2 +set sv_punkbuster 0 +pb_sv_disable +exec server.cfg


Contact

Write message on discord CoD2x in #chat channel. https://discord.gg/mGTR4RuANk
Or add me on discord eyza_ (old name eyza#7930)
Or write me on email kratas.tom@seznam.cz

Please support this work on my Paypal -> https://paypal.me/kratasy

Supporters

askeslav, tomik, lampy
Big thanks for consulting and testing

YctN (discord: yctn, YctN#1140)
Big thanks for server support, hosting and fixed maps consulting

harold (discord: sh0tyz)
Big thanks for NA settings

Stendby (discord: stendby, Stendby#3298)
Big thanks for fixed maps

Fjozek (discord: fjozek, Fjozek#0625)
Big thanks for HQ, HTF and RE gametypes integration and overal PAM testing

craven (discord: cravenciak, craven#8572)
Big thanks for testing and feedback

mtN (discord: mtn_53, mtN#8249)
Big thanks for PAM promoting

h1z
Big thanks for extended match stats and kicking of players not allowed in the match

Other supporters:
cokY, Sk1lzZ, kebit, foxbuster, <==Mustang==>Clan from Hungary, hubertgruber / dutch, excel, shady, jza, Saber, jansen



Region rulesets

EU ruleset is the default. NA and SA rulesets are based on the EU ruleset and change only the settings below. Use only one region option at a time.

Setting EU
comp
NA
comp_na
SA
comp_sa
Smoke type - how smoke from smoke grenade looks, see smoke types
scr_smoke_type
2 - Consistent 2 - Consistent 2 - Consistent
Antilag - player's ping is considered when calculating hits, what you see on your screen is what the server uses
g_antilag
❌ ✅ ✅
Shotgun pellet spread - pellets form predefined pattern instead of random spread, see pellet spread and damage
g_shotgun_spread_fix
✅ ✅ ✅
Shotgun pellet damage - damage depends only on distance, kills at close range and is weak at long range, see pellet spread and damage
scr_shotgun_consistent
✅ ✅ ❌
Buffed BAR - faster reload and fire rate
scr_bar_buffed
❌ ✅ ❌
Buffed Bren - faster reload
scr_bren_buffed
❌ ✅ ❌
British on Breakout TLS - allies are British instead of Americans on map Breakout TLS
scr_breakout_british
❌ ✅ ❌

Same in all regions: neck shots count as headshots (scr_hitbox_neck_kill 1), server fps 30 (sv_fps 30).

Smoke types
Value Description
0 - Thin Original thin smoke
1 - Thick Thick smoke
2 - Consistent New consistent smoke modeled after thick smoke



Questions & Answers

What is zpam_maps_v7.iwd file

Name Game name Credit More info
Toujane FIX v4 mp_toujane_fix by eyza, Stendby, Fjozek https://github.com/eyza-cod2/mp_toujane_fix
Burgundy FIX v3 mp_burgundy_fix by eyza, Stendby, Fjozek https://github.com/eyza-cod2/mp_burgundy_fix
Dawnville FIX v4 mp_dawnville_fix by Fjozek https://github.com/eyza-cod2/mp_dawnville_fix
Matmata FIX v4 mp_matmata_fix by Fjozek https://github.com/eyza-cod2/mp_matmata_fix
Carentan FIX v4 mp_carentan_fix by Fjozek https://github.com/eyza-cod2/mp_carentan_fix
Breakout TLS mp_breakout_tls by eyza, craven, YctN https://github.com/eyza-cod2/mp_breakout_tls
Chelm FIX (v3) mp_chelm_fix by Julian Luo; remake by Fjozek and craven
wawa_3dAim wawa_3dAim
Trainstation FIX mp_trainstation_fix by Fjozek, craven
Vallente FIX mp_vallente_fix by Fjozek, craven
Leningrad TLS mp_leningrad_tls by Fjozek, craven
Dawnville SUN mp_dawnville_sun by Fjozek, craven
Crossroads mp_crossroads by Fjozek, craven, eyza
Carentan BAL mp_carentan_bal by Fjozek, craven
Railyard MJR v4 mp_railyard_mjr by UnaRkW, eyza, craven
Leningrad MJR v4 mp_leningrad_mjr by everestt, eyza, craven
Trainstation BHG mp_trainstation_bhg by harry, athn, everestt

If you know bugs that are not fixed yet, please contact me!


How does the "Hit marker" / "Damage feedback" works

Since zPAM4.07, hit marker was improved to better represent hit vs kill.

  • If its hit only, cross is more transparent and disappears quicker
  • If its kill, cross is fully showed with animation and stays longer
  • If its a teammate hit, reddish cross is showed
  • If its a double hit, another hit cross is showed
  • Whenever you hit both enemy and teammate, both hit crosses are showed with particular animation and color
  • Sound "hit" feedback is now being played only once for shotgun hits/kills, not for each pellet

How does the "Hand hitbox fix" works / what is it

There are some weird situations when you shot player to the body, but the game process it as a hit only. These types of bugs are probably caused by badly implemented hit boxes within the game engine. In these situations the game process the hit location as hand / arm instead of body (when the arm is right behind the body) Hand hitbox fix tries to address this issue by the following check:

  • if you fire from rifle or scope, and
  • distance between you and enemy is more than 200, and
  • hit location is inside a box created around head, and
  • head is visible to player (is not behind wall), and
  • damage is less then 100 (meaning it was hit only to hand)
  • In that case, damage is changed to 100 (meaning enemy will be killed)

The box is created in a way that its always aligned with your point of view and with deph wider towars you. The box is created in this way to cover hands of enemy inside the box when player is in ADS (zoomed). In that case, if you hit the hand from your point of view, it should be a kill, because body is behind the hand.

To apply this fix, the hit location must be inside the box. If the hitbox is outside the box, original damage values are applied.

You can debug hitbox fix in game via command /rcon debug_handhitbox 1
Hand hitbox fix is enabled by default


How does the "Torso hitbox fix" works / what is it

Hitbox area torso_lower is now slightly bigger to avoid weird hits to lower part of body. This will take effect only for rifles, because other weapons have the same damage values for torso_lower and left/right_leg_upper.

You can debug this in game via command /rcon debug_torsohitbox 1
Torso hitbox fix is enabled by default


Whats going on with shotgun

There were multiple versions of shotguns in a lifetime of new zPAM.

  • Classic shotgun - original and zPAM2.07
  • Rebalanced shotgun - zPAM3.22
  • Consistent shotgun - zPAM3.30
  • Consistent shotgun + pellets - zPAM4.06

The main goal of these shotgun versions is to avoid close range hits and long range kills. Shotgun problem analysis: https://youtu.be/7saFLaQoiwI

How does the original shotgun works

  • When you fire from shotgun, 8 pellets are fired.
  • Spread of pellets is unpredictable and completly random.
  • This ingame image demonstrates the ransomness of the pellets:
  • Damage of each individual pellet is based on distance between you and the pellet hit location.
  • Damage is splited into 2 range parts according to distance between you and hit location of enemy player: (this is how it is when the game was released in 2005)
  • Each one of 8 fired pellets follow this rules:
    • if distance is 0 - 384: constant 50hp damage is applied for every pellet
    • if distance is 384 - 800: damage is linearly based on distance in range of 50hp - 5hp

How does the "Consistent shotgun" works / what is it

  • Consistent shotgun tries to address close range hits and long range kills.
    • Close range hits are caused by only 1 pellet hit the target, others goes off target
    • Long range kills are caused by pellets fired close together.
  • Random spread is responsible for these close range hits and long range kills
  • To make it better, consistent shotgun defines new damage values for close range and long range
  • With combination of CoD2x, consistent pellet spread is used
  • You can debug consistent shotgun in game via command /rcon debug_shotgun 1

Consistent shotgun is enabled by default

Pellet spread and pellet damage

The shotgun is controlled by 2 separate cvars. Both are enabled by default.


Predefined patterns of pellets used by g_shotgun_spread_fix

  • g_shotgun_spread_fix - where the pellets go. Pellets form one of the predefined patterns (rotated randomly), so the spread is predictable instead of completely random.
  • scr_shotgun_consistent - how much damage each pellet hit does. Makes damage depend only on distance, so the shotgun kills at close range and is weak at long range.
g_shotgun_spread_fix scr_shotgun_consistent
Handled by CoD2x (since 1.4.6.5) zPAM
0 - Off Original random spread Original damage: 50hp per pellet in 0-384, then linearly 50hp - 5hp in 384-800
1 - On Predefined pattern of pellets with random rotation 0-280: 100hp (1 pellet kills)
280-400: 75hp per pellet
400-500: 35hp per pellet
500-800: only first pellet counts, linearly 34hp - 0hp

Distance is measured from the eye of the attacker to the pelvis of the enemy.


How does the "Fast reload fix" works / what is it

Fast reload is when you fire from KAR98 for example, press R to reload and then you scroll down 2x, you are able to shoot faster. PAM is blocking you from fast-switching weapon for short period of time after you fire from weapon. This take effect to following weapons: kar98k, kar98k_sniper, enfield, enfield_scope, mosin_nagant, mosin_nagant_sniper, springfield, shotgun.
You can debug fast-reload fix in game via command /rcon debug_fastreload 1.
Fast reload fix is enabled by default.


How does the "Clip" and "Prone peek fix" works / what is it

Lets describe a "clip" and "prone-peek" a bit

  • Clip

    • In zPAM2.07, when you go from prone position to crouch position, a "standing-up" animation was played on player's character
    • If you go immediately back to prone position, the animation makes you invisible to enemy, because before your body and head gets to higher position, you are back in prone position
    • This animation is well described on this image:
    • This animation bug is fixed in zPAM3, but there is still one problem described below
  • Prone-peek

    • Prone peek is when you go from prone position to crouch position and then immediately back to prone position.
    • If you also lean left/right while standing-up, your head is moving too fast from side to center position.
    • For enemy its difficult to shoot, because character animation is moving too fast and it seems like bugged character animation
    • The prone-peek fix just make sure you stay in crouch position 400ms longer.
    • This delay is applied only if:
      • pronepeek-able wall / cover is detected (cover that block your view in prone position, but not in crouch position)
      • you are in ads (zoomed in)
    • You can debug prone-peek fix in game via command /rcon debug_pronepeek 1
  • Prone-peek fix is enabled by default

How does the "MG clip" fix works / what is it

Clipping a MG is situation, when you grab a MG while you are behind cover and you immidietely drop it. This makes you almost impossible to kill you, while you can easily get opponent's positions. MG clip fix make sure you are spawned right behind the MG every time you drop the MG.
Note: your teammates that are spectating you may see you "lagging". Thats normal and is caused by the way I used to fix this bug.
MG clip fix is enabled by default


How does the "Enemy list" works

Enemy list is feature that show names of alive player from opponent team. This feature can be enabled / disabled via menu. You can change color of opponent team via scoreboard menu. Button "Set" will toggle between red, blue and white color.

If you change a color, its applied to team, so your teammates can also see the colors.


How does the "Round report" works

At the end of the round, report of hits and kills is printed. It include damage value, hit location and first hit location. For shotgun it prints number of pellets that hit the target and range. Read star indicates that "Hand hitbox fix" or "Torso hitbox fix" was applied.


How does the "Double kill" works

  • Lets describe a situation when you fire a bullet to players that are lined right behind each other. When you fire, a "bullet-trace" is computed - it will find a first player in front of you, and this trace continue until it encounter an obstacle (wall, dead body, etc..)

  • Old pam:

    • "bullet-trace" will find first player, witch receive damage, that is processed into kill and player dead body is spawned; bullet trace now continues from position of this player, but because there is a dead body spawned, the bullet-trace stops here (because dead-body is an obstacle) and the second player did not receive damage at all; there was situation where dead-body were spawned at slightly different position/angle then player body (on rough terrain for example) and then the bullet trace was able to continue. That's why the double kills were very rare on old pam
  • New pam

    • in new pam, the dead-body is spawned after the bullet-trace is completely processed - that means the bullet is never stopped by spawned dead-bodies of players killed by this bullet and you can get double kills more easily

What is "Diagonal" bug

Diagonal bug is when you walk forward + left/right + lean left/right + in ads. Doing this to the left side (walk forward + left + lean left + ads) makes our head and body rotated more to the right + down. This make you in an advantage position, because you can see enemy sooner then enemy sees you. Option witch disabled leaning left/right when walking forward + left/right, preventing you from doing diagonal was removed from PAM, since it was affecting the player movement quite much. So diagonal is not affected by PAM.


How does the "Sniper shotgun info" works / what is it

At the start of the round and at the end of the round, info about weapons of players with sniper and shotgun is showed next to compass. If player does not have a secondary weapon, text is gray. If player does have a secondary weapon, text is green.



How does the "Climbing fix" works / what is it

If you climb ladder or wall, the "weapon switch" sound was made only for 1st person player, it was silent for other players. The sound is now removed completly - meaning if you climb ladder or wall, "weapon switch" sound is not played at all - same for everybody

Original:
Player Climb ladder Climb wall
You sound sound
Others - -
since zPAM3.32:
Player Climb ladder Climb wall
You - -
Others - -

This sound is played only if you regularly and intentionally switch the weapon


Scoreboard menu



Features:

  • shows statistics of players - Score, Kills, Deaths, Assists, Hits, Grenade kills, Plants and Defuses
  • It will always show disconnected players (with [-] prefix) for 5 mins (so you see stats for all players in final scorebard)
  • Only Kills and Deaths will are showed for enemy team (to avoid recognize enemy position by watching the scoreboard)
How the Score, Kills, Deaths, Assists, Hits, Plant and Defuses are counted
Column Description
Score Sum of following items:
- Kill: +1
- Teamkill: -1
- Assist: +0.5
- Plant: +0.5
- Defuse: +0.5
Kills Number of killed enemy players.
Teamkills are not counted (neither substracted)
Deaths Number of times you were killed
Assists Number of players you damaged and were killed by your teammate within 5 second
Hits Points given when you hit an enemy and the enemy is then fully healed
- Scopes + rifles (single shot weapons): +1
- Semi/Automatic/Shotgun (other weapons): +0.5
- Pistols: 0

The value is counted only once after the hited enemy is fully healed
Value is colored yellow if its value is >=5.0 and red if its value is >=10.0
Grenades Number of kills with grenade
Plants Number of bomb plants
Defuses Number of bomd defuses

How damage debug cvar works

At the end of each round, debug info about hits is saved into cvar pam_damage_debug.

Format:
{time}|{miliseconds}|dmg:{damage}|health:{enemy_health}|xyz_my:{my_origin}|xyz_enemy:{enemy_origin}|{weapon}|{hitLocation}|xyz_hit:{hit_origin}|head:{head_origin}|pelvis:{pelvis_origin}

Example:
01:40|143292|dmg:90|health:100|xyz_my:(2370, 2408, 69)|xyz_enemy:(2401, 2319, 68.1639)|enfield_mp|right_leg_lower|xyz_hit:(2405.71, 2331.14, 82.5798)|head:(2405.46, 2321.46, 126.384)|pelvis:(2404.3, 2319.23, 102.209)

01:34|148704|dmg:135|health:100|xyz_my:(1911, 2332, 31)|xyz_enemy:(2401.74, 2318.93, 68.1349)|enfield_mp|torso_lower|xyz_hit:(2400.64, 2316.08, 110.394)|head:(2406.26, 2321.28, 126.205)|pelvis:(2405.14, 2319.08, 102.076)


These cvars can be read from demo.


How does the zPAM settings works

zPAM uses cvar /server16 to save custom settings. This cvar is used because value of this cvar is saved into config when game is closed.
Format: "item_value|item2_value2|...".
Example: "autorecording_1|matchinfo_1|score_0|playersleft_1"


How does the "Aim-Trainer" feature works / what is it



  • In Ready-Up period, it is possible to spawn targets and practice your aim.
  • These targets are supported only on FIX versions of maps or maps that directly supports it.
  • Hold Shift to toggle between different modes of aim trainer:
    • Mode 1: Static mode - targets are not moving and you have to shot the target within 500ms
    • Mode 2: Moving targets - targets are moving
    • Mode 3: Fast moving targets - targets are moving faster
    • Mode 4: Reaction time - targets spawn with random delay and your reaction time is measured
  • Double press Shift to turn off aim trainer.

How does the "LOD fix" feature works / what is it

  • Every model has multiple versions of itself with varying detail depending on distance between player and model.
  • PAM forces tanks, cars, trucks, and artillery flak to be always rendered at high detail
  • This fixes holes in low detailed models at long distances
  • It may slightly increase the load and therefore decrease the FPS










Match info


  • Teams are always on the same side
  • Only the color of team is changing according to side of the team (allies: blue, axis: red)

Match connected to online platform


Match might force placers to use nicknames


Match overview in menu



How does the "Streamer" and "Auto-spectator" feature works / what is it



  • There is a new team called "Streamer" that you can join when you connect the server
  • Streamer team supports following features:
    • HUD overlay
      • Match info
      • Followed player info
      • Players bars
      • Score progress
      • Player xvx progress
      • Hit info
      • Planter / defuser info
    • Auto-spectator
    • Replay (killcam)
    • XRAY
    • Free spectating - follow close by player

HUD overlay

  • When you join a streamer team, a new streamer menu overlay will open
  • Streamer menu is needed to detect mouse and keys detection
  • Binds are not working while this menu is open
  • To use the binds (eg. for chat), you have to close this menu first with Esc key
  • When the streamer menu is joined for the first time, you have to confirm this via Space key.
  • Once confirmed, you will automatically join streamer menu again when the map changes
  • You are automatically set as ready in Ready-up period.
Score progress
  • Score progress shows who win the round via team color
  • Halftime is indicated via "|" character
  • Timeout is indicated via "[T]" characters
  • Overtime is indicated via "[O]" characters
Hit info

  • Text with HP damage value and hit location is showed when you inflict or receive damage
  • You can toggle it via H key
Planter / defuser info
  • When some player is planting or defusing a bomb, its indicated on the screen



Auto-spectator

  • Auto-spectator is the name for following functions:
  • It automatically switch between players according to game situation
  • The following situations are taken into account:
    • Player has an enemy's head in sight
    • Player will have an enemy's head in sight (predicted player movement)
    • Player just planted the bomb
    • Players are close to each other
    • You are last player in team
    • Its 1v1 and you are in the losing team

  • At round start, automatically followed player is selected by these steps:
    • Round 1: Sniper of team allies
    • Round 2: Sniper of team axis
    • Round 3: Sniper of team allies
    • Round 4: Sniper of team axis
    • Round 5: Shotgunner of team allies
    • Round 6: Shotgunner of team axis
    • Next rounds follow this pattern:
      • Round 7: Best player of team allies
      • Round 8: Best player of team axis
      • Round 9: sniper of team allies
      • Round 10: sniper of team axis
      • ...
  • When there is a request for player switch, player is switched to player from the same team (if round starts spectating player from team allies, it switch to player from team allies)
  • If bomb is planted, team with lower alive players is preferred
  • When player is switched, next switch is possible after 6 seconds.
  • You can toggle auto-spectator via Middle mouse key
  • Auto-spectator is enabled by default

Replay (killcam)

  • Actions are kills by players. When multiple kills happends within period of 5 seconds between each kill, these kills are saved as action.
  • You can replay an action via opening replay menu via R key and choosing the action via [1,2,3,4,5,6,7,8,9] keys
  • Actions are automatically replayed at the end of the round (if there are any)
  • Only 40 seconds of history can be saved - it means actions cannot be played after 40 seconds they happend (game limitation)
  • If some of the interesting actions happens (bash, nozoom or 2 and more kills) and there is no reason to switch the followed player via auto-spectator, a replay proposal is showed:

  • You have a few seconds to press a F key to replay the action

XRAY

  • Enemies behind wall are visualized via stance icons
  • If enemy is damaged, they have red color
  • Player nicknames are showed above the stance icon
  • The animation is not perfect - the game does not allow to show player contours via better way
  • XRAY can be toggled via X key
  • XRAY is toggled off each round

Free spectating - follow close by player

  • When you are free spectating and you are looking at some player, this player will will be followed if you clock Left or Right mouse key
  • The player nickname must be indicated by text in upper part of the screen
  • XRAY needs to be enabled (wich is automatically enabled when entering free spectating)
  • You can enter free spectating by pressing Shift key

Server log (games_mp.log) for stats applications

zPAM writes events of the match into the server log file (g_log, by default main/games_mp.log, g_logSync 1 is recommended).
This section describes the format for authors of stats applications.

General rules

  • Each line starts with the time added by the game (minutes:seconds since the server started), followed by the line type and fields separated by ;
     12:34 Kill;0;3;victim;axis;0;5;attacker;allies;kar98k_mp;135;MOD_HEAD_SHOT;head;100;;;;;1250;754120
    
  • Player names cannot contain ; (the game does not allow it), so splitting by ; is safe. Names contain color codes (^1 etc.)
  • The format is only extended, never changed - new fields are added only to the end of lines with a fixed number of fields and new data are written as new line types. Parse lines by field index and ignore unknown line types and extra fields.
  • Version of the log format is printed in the LogInfo line (version 2 is described here, version 1 = zPAM 4.11 and older, without the extended fields)
  • Fields called time are the server time in milliseconds (getTime()). Use it only to compare events of one map (order, round duration, time between kills). The time is not reset on round restart.
  • Player identification:
    • num - client slot number (0 - 63), unique only while the player is connected
    • guid - CD-key GUID, may be 0 (for example on cracked servers)
    • uuid - user id from the CoD2x match system (for example FPS Challenge), empty if the match is not activated or the player is not logged in. This is the most reliable id when available.
    • hwid - hardware id of the player's computer from CoD2x, empty for bots. It is the most reliable id for players outside of CoD2x matches (it does not change with name or CD-key).
    • name - nickname, players can rename during the map
  • Team is allies, axis, spectator, streamer or none. The real team names (clan names) are printed in RoundStartInfo and StatsStart when they are known.
  • Teams swap sides at half-time - allies / axis is the side, not the team. Use uuid / team names to follow teams across halves.
  • The game itself also writes some lines (for example InitGame with server info including mapname and g_gametype, ShutdownGame, say, sayteam)

Lines

Fields marked with (v2) were added in log version 2 at the end of existing lines.

Line Fields Description
LogInfo version; zpam; gametype; map; pam_mode; match_id; time Printed once at the start of each map. zpam is the zPAM iwd name, for example zpam412. match_id is CoD2x match id (empty if not activated)
Connected guid; num; name; (v2) uuid; hwid; time Player connected (also printed again for every connected player after each round restart)
Disconnected guid; num; name; (v2) uuid; hwid; time Player disconnected
Team guid; num; name; team; uuid; hwid; time Player joined a team (or spectators / streamers)
ReadyupDone - Ready-up is over, the match is starting
RoundStart - New round (SD, RE)
RoundInfo score:<allies>:<axis>; round:<n> Score before the round. Note: round is the number of the previous round, use RoundStartInfo instead
RoundStartInfo round; half; overtime; attackers; defenders; allies_score; axis_score; allies_team_name; axis_team_name; time Info about the new round (SD, RE). half is 1 or 2, overtime is 0 or 1, attackers / defenders is allies or axis. Printed also before a bash round and again with the same round number when the round is repeated after a timeout - in that case no RoundLive / RoundResult follows for the first line
RoundLive round; round_length_sec; time The round went live - strat time is over and players can move (SD, RE). Followed by RoundPlayer lines
RoundPlayer round; guid; num; name; team; uuid; hwid; alive; primary_weapon; secondary_weapon Every player in allies / axis when the round went live. alive is 1 if the player is spawned (weapons are empty if not)
Damage victim_guid; victim_num; victim_name; victim_team; attacker_guid; attacker_num; attacker_name; attacker_team; weapon; damage; means_of_death; hit_location; (v2) real_damage; victim_uuid; victim_hwid; attacker_uuid; attacker_hwid; distance; time Player was hit and survived. See notes below
Kill victim_guid; victim_num; victim_name; victim_team; attacker_guid; attacker_num; attacker_name; attacker_team; weapon; damage; means_of_death; hit_location; (v2) real_damage; victim_uuid; victim_hwid; attacker_uuid; attacker_hwid; distance; time Player was killed. See notes below
Bomb guid; num; team; name; action; (v2) uuid; hwid; site; round; time Bomb planted (bomb_plant) or defused (bomb_defuse) in SD. site is A or B
BombExploded planter_guid; planter_num; planter_team; planter_name; planter_uuid; planter_hwid; site; round; time Bomb exploded in SD (printed after kills caused by the explosion)
RoundEnd - Round ended (SD, RE). Followed by Winners, Losers, Score and RoundResult
Winners team; then pairs of guid; name Players of the winning team. In a draw the team is draw and the list is empty
Losers team; then pairs of guid; name Players of the losing team. In a draw this line contains axis players only (kept for compatibility, use RoundResult)
Score allies; score; axis; score Score after the round
RoundResult round; winner; reason; allies_score; axis_score; duration; time winner is allies, axis or draw. reason is eliminated, time_expired, bomb_exploded, bomb_defused, objective_captured or empty (round ended by admin). duration is milliseconds since RoundLive (-1 if unknown)
HalfTime - Half-time
OverTime - Overtime started
TO_CALL / TO_CANCEL team; name Timeout called / canceled
TOO - Timeout is over
BASH_CALL team; name Bash mode called
StatsStart, StatsHeader, PlayerStats, StatsEnd see below Overall stats of the map
MatchEnd - The map is over
ServerRestart EmptyServer Server was restarted after the last player left
LEAVER: / READY_TIMEOUT: free text Info about CoD2x match leavers / ready-up timeout (human readable)

Notes for Damage and Kill:

  • damage is the damage of the hit (for example 135 for a head shot by rifle), it can be more than the health the victim had. real_damage is the health that was really removed (0 - 100).
  • The hit that kills the player is not printed as Damage, only as Kill. To count the total damage of a player, sum real_damage of his Damage and Kill lines (or use damage_dealt from map stats).
  • Damage lines are not printed during ready-up in SD and RE (other gametypes print them).
  • means_of_death is MOD_HEAD_SHOT for head shots (except shotgun and knife), MOD_MELEE for bash / knife, MOD_GRENADE_SPLASH for grenades, MOD_SUICIDE, MOD_FALLING, ...
  • Attacker is -1 / world if the player was not killed by a player (fall, bomb without planter). In SD the planter is the attacker of bomb kills.
  • If friendly fire is reflect or shared, the attacker fields of Damage contain the victim (the player who was damaged by reflected damage).
  • distance is distance between the victim and the attacker in game units (-1 if there is no attacker).
  • Two kills in the same moment (one grenade) are printed as two Kill lines with the same time (log version 2, older versions printed only one of them).

Map stats

At the end of the map (before MatchEnd) zPAM prints the overall stats of all players of the map.
These are the same values that are shown in the scoreboard and sent to the CoD2x match system, so the parser does not need to count them from kills.
If the map is ended differently (map change via rcon, server shutdown), the stats are not printed.

 30:12 StatsStart;2;sd;mp_toujane;13;7;Team One;Team Two;20;match123;1812345
 30:12 StatsHeader;name;team;connected;guid;uuid;hwid;score;kills;deaths;assists;hits;damage_dealt;headshots;...
 30:12 PlayerStats;eyza;allies;1;0;3c7acf99-...;a1b2c3...;25.5;21;12;4;9.5;2410;8;...
 30:12 PlayerStats;player2;axis;1;0;;d4e5f6...;18;15;16;2;6;1850;5;...
 30:12 StatsEnd;2
 30:12 MatchEnd;
  • StatsStart - log_version; gametype; map; allies_score; axis_score; allies_team_name; axis_team_name; rounds_played; match_id; time
  • StatsHeader - names of the columns of PlayerStats lines. Always map the columns by this header, new columns may be added in future
  • PlayerStats - one line per player who played on the map (including players who disconnected)
  • StatsEnd - number of PlayerStats lines
Column Description
name Last known nickname
team Last team of the player (allies, axis, spectator, ...)
connected 1 if the player is connected at the end of the map
guid, uuid, hwid Last known ids of the player (see above)
score Score (see Scoreboard menu)
kills, deaths, assists Kills, deaths and assists
hits Hits points (see Scoreboard menu)
damage_dealt Health removed from enemies (overkill is not counted)
headshots Head shot kills
grenades Grenade kills
plants, defuses Bomb plants and defuses
entry_kills, entry_deaths First kill / first death of the round (only when both teams have at least 2 players)
trade_kills, traded_deaths Kill of an enemy who killed a teammate in last 5 seconds / death that was traded by a teammate
aces Rounds where the player killed the whole enemy team
multi_kills_2 - multi_kills_5 Rounds with 2, 3, 4, 5+ kills
kills_smg, kills_assault, kills_rifle, kills_scope, kills_shotgun, kills_secondary, kills_grenade, kills_knife, kills_other Kills by weapon class (assault = MG / BAR / Bren / FG42 / StG44..., secondary = pistols, other = mounted MG and others)
clutches_won_1vN, clutches_attempts_1vN 1vN situations (N = 1 - 5, more columns if bigger situation happened) and how many of them were won

Round based stats (entry kills, trades, aces, multi-kills, clutches) are counted in SD and RE only. In SD and RE kills of a round cut by restart (timeout, admin) are not counted in multi_kills, trades and kills by weapon class.




Known bugs

  • You cannot take screenshot of new scoreboard via F12 (in menu binds are not working)
  • When you spawn a bot in strat, this bot will occupy player slot on server even if the bot is kicked; server restart is needed then


Troubleshooting

Error "zPAM is not installed correctly"

Cvar /fs_game is not empty!

Make sure cvar /fs_game is empty (+set fs_game "") and iwd files are placed in main folder.

Iwd file zpam412.iwd must be installed in main folder.

  • Since version 3.20, all iwd files have to be installed in main folder. This is because of bug that player's settings changed in game are not saved into the config when running a game with fs_game set.

Iwd file zpam_maps_v7.iwd does not exists in main folder

  • Since version 3.20, fixed versions of some maps are available. PAM is forcing to include these files to make sure maps are available on every server.

Error while getting loaded iwd files. Make sure iwd files does not contains spaces.

  • PAM was not able to parse loaded iwd files. Some of the iwd files have probably name with spaces.

WWW downloading must be enabled. Set sv_wwwDownload and sv_wwwBaseURL

  • You have to enable www downloading via cvar /sv_wwwDownload 1 and specify a download url via cvar /sv_wwwBaseURL "url".
  • If you dont have any url, you can use /sv_wwwBaseURL "http://cod2x.me/zpam"
  • This is to make sure fixed maps are downloaded in fast way for players

Old zPAM or maps detected in main folder. Delete iwd file you see above.

  • Your main folder contains also a other versions of pam or maps. Delete all .iwd files that the game prints on screen.

Error "recursive error after: Can´t create Dvar 'xxx': 1280 dvars already exist"

This error happens when you have defined more than 1280 cvars in game. You have to clean your config from useless cvars. If you dont know that cvars to delete, create a new profile and compare these 2 configs. Normal config should have ~400 lines. This PAM defines ~200 new cvars for all of the features, so if your config contains a lot of mess, it may be the trigger for this error.

Error "Info string length exceeded"

This error happens when you have too many .iwd files in main folder or name of all .iwd files exceed some limit.
How the error may looks like:
Info string length exceeded
key: 'sv_referencedIwds'
value : '...'
Info string:
\bg_fallDamageMaxHeight\480 ...

This is game bug - to workaround this error, remove unused iwd files / shorten the name of iwd files / pack multiple iwd files together.

Error "Impure client detected. Invalid .IWD files referenced!"

  • This error means that .iwd files loaded from your local folders (main) are in conflict with .iwd files located at server - some files are not equal. This is protection agains your modified files that may be used for cheating.
  • There is a problem with zpam_maps_v1.iwd file - when you have this file downloaded in main folder and you try to connect older 3.22 server, error "Impure client detected" shows. (Toujane FIX and Brungundy FIX sun file problem) Please remove this file from main folder.


Main changes

  • Clip / Prone-peek bug fixed
  • Double kills fixed
  • Fast-reload shot bug fixed
  • Missing textures fixed
  • Auto demo recording
  • Auto overtime mode for MR12
  • New functions for STRAT mode (bots, path recording)
  • Adjustable mouse vertical sensitivity, acceleration
  • GUI improvements (menu, hud)
  • Ability to change map / pam mode / kick player directly from menu
  • New shotgun
  • MG clip fix
  • New interface for spectators
  • Match info bar
  • Diagonal bug fix (removed - the way it was fixed affect a player movement a lot)
  • Changable FOV (canceled - too big change)

And much more - see full list down below

Gametypes

This pam supports following gametypes:

  • Search and Destroy (sd)
  • Team Deathmatch (tdm)
  • Deathmatch (dm)
  • Headquaters (hq)
  • Capture the Flag (ctf)
  • Hold the Flag (htf)
  • Retrieval (re)
  • Strat (strat)
Retrieval

Retrieval is a SD-based gametype which has been ported from CoD1.

Attackers: Retrieve the objectives and take them to your team goal (Blue Box)
Defenders: Defend the objectives from being taken to their goal

Retrieval may possess alternative teams spawnpoints for most of the maps.
Round length may be increased to 3-4 minutes.
Attacker can drop objectives by holding USE (F) so his teammates could pick up. Defenders cannot carry objectives.
Attackers should take both objectives to the goal (blue box) to win. (or eliminate enemies alike SD)

PAM modes

PAM mode Description
pub Public - custom settings
comp Competitive - strat 6 seconds, auto recording, team names, rup time limit
warmup no readyup, for warmup before match (DM only)
Score modes
Score sub-mode Description
mr3, mr10, mr12, mr15 Max rounds mrxx+1 (SD, RE only)
20rounds first to 21 wins (SD, RE only)
10min, 15min, 30min, 60min, unlim total time limit (TDM, DM, HQ, CTF, HTF only)
Options
Option sub-mode Description
2v2 Scope and shotgun weapon disabled
rifle Bolt action and sniper only, no grenades, no weapon drop
russian Russian side is enabled on russian maps
draw Overtime is disabled
lan Readyup warnings are disabled
custom custom ruleset
na North American region ruleset (see Region rulesets)
sa South American region ruleset (see Region rulesets)



Examples

PAM modes, score modes and options can be mixed together, for example:

PAM mode Description
/rcon pam_mode pub Public mode (custom settings)
/rcon pam_mode comp Competitive mode
/rcon pam_mode comp_mr3 Competitive mode with max round 4
/rcon pam_mode comp_custom Competitive mode for team mix
/rcon pam_mode comp_custom_russian Competitive mode for team mix, russian side on russian maps
/rcon pam_mode comp_2v2 Competitive mode, scope and shotgun disabled
/rcon pam_mode comp_rifle Competitive mode, bolt action and sniper only
/rcon pam_mode comp_rifle_2v2 Competitive mode, bolt action only, sniper disabled
/rcon pam_mode comp_lan Competitive mode on LAN, no readyup time limits
/rcon pam_mode comp_na Competitive mode with North American ruleset
/rcon pam_mode comp_sa Competitive mode with South American ruleset

SD score mode description

20 rounds Max round 3 (MR3) Max round 10 (MR10) Max round 12 (MR12) Max round 15 (MR15)
10 rounds per half
20 rounds max
3 rounds per half
6 rounds max
4 is winning score
10 rounds per half
20 rounds max
11 is winning score
12 rounds per half
24 rounds max
13 is winning score
15 rounds per half
30 rounds max
16 is winning score



List of changes

1. Fixed game bugs

[1.1] Clip fix fix

[1.2] Texture fixes (adding xmodel)









[1.3] Collision box / killtrigger


[1.4] Fast reload bug (when you fire, press R to reload and then you scroll down 2x, you are able to shoot faster) -> fixed
[1.5] Bind to stop actually playing sound -> fixed
[1.6] Toujane bug inder A roof

[1.7] Toujane bucket is not visible from far distance -> fixed

[1.8] Toujane B tank model top grid is not visible from far distance -> fixed

[1.9] Toujane sandbags holes (canceled)

[1.10] Matmata sandbags holes (canceled)

[1.11] Carentan plant B 333fps plant - players are now not able to plant on B bomb tank.
[1.12] Carentan roof jump - added collision to avoid jumping to building roof (canceled)
[1.13] BAR sound bug - when some player plays with BAR weapon, all other players can hearing sounds of changing weapon (happends when player with BAR is switching between BAR and pistol) -> fixed
[1.14] BAR sound bug - when BAR weapon is picked from ground, it makes pickup sound for every player -> fixed

2. Fixed script bugs

2.1 Weapons (complete weapon system rewrited)

[2.1.1] limited weapons (sniper, shotgun) can be picked up by another player and can be saved to next round -> fixed
[2.1.2] if you change weapon for example from mp_44 to kar98 in starttime, you are not able to pickup mp_44 from ground until round ends -> fixed
[2.1.3] if limited weapon is selected, for all other players it is not correctly indicated in menu -> fixed
[2.1.4] weapon is dropped if player change a team in start time (can be exploited if player change team to spectator and back during strattime) -> fixed
[2.1.5] when player kills somebody with grenade while he is using MG - shows MG icon instead of grenade in killfeed-> fixed
[2.1.6] if player is killed while he cooks grenade/smoke, cooked grenade/smoke is throwed and second grenade/smoke is dropped to ground -> fixed

2.2 Timeout

[2.2.1] when timeout is canceled, player can not use quickmessages anymore until round/map ends -> fixed
[2.2.2] in sd, timeout is executed at the end of the round with no ability to walk -> fixed, timeout is now executed always at the start of the new round
[2.2.3] Timeout now can be called in round before halftime / map end

2.3 Other

[2.3.1] in sd, when last player dies, all players in defeated team are in spectator mode, but they can not move -> fixed
removed - now when all players from team are dead, camera is locked to location where last player die
[2.3.2] when max team limit is reached and other player disconnect, other players was unable to select team -> fixed
[2.3.3] fixed bash pam mode (only pistols are allowed, disabled planting)
[2.3.4] a lot of code rewrited, removed unnessesary things (splitscreen, xbox codes, ...)
[2.3.5] added support for 1.0
[2.3.6] Fixed bug when you drop MG and step sound was made when mg peek fix was enabled
[2.3.7] Matchinfo - fixed bug when team names does not match players in teams; happens when pistol bash was called and players swap teams
[2.3.8] Auto-recording - fixed bug with empty team names when bash mode was called
[2.3.9] Auto-recording - server crash when somebody joins a team at the end of the round (only windows servers) -> fixed
[2.3.10] Auto-recording - wont start if main menu is opened, quick messages menu is opened or game is minimized -> fixed
[2.3.11] Auto-spectator - When replaying killcam in spectator, name of spectated player is not removed when the killcam ends -> fixed
[2.3.12] Fixed text PC_PATCH_1_1_SD_OBJECTIVES in SD server info
[2.3.13] Weapon name next to ammo HUD is not visible when enemy player list is enabled -> fixed by showing the weapon name under the ammo

3. Improvements already done

3.1 Ready-up

[3.1.1] added ability to stop killing in readyup mode
[3.1.2] if you change weapon in readyup mode, you will get new grenades after 5sec (to avoid grenade spam)
[3.1.3] ready-up now starts when there is atleast one player (useful when you need to test something on server alone)
[3.1.4] no team limit for teams in ready-up mode (you can select whatever team you want in readyup mode)
[3.1.5] when you are in spectator and you are following some player, now you can see really "Your status" instead of followed player status
[3.1.6] added voice sound when all players are ready in readyup / halftime / timeout
[3.1.7] added info indicating that server is cracked deleted in zPAM3.30

3.2 Weapons

[3.2.1] primary weapon can be dropped if you have 2 main weapons (except limited weapons, like scopes)
[3.2.2] recoded system for saving weapons at the end of the round - now its not exploitable
[3.2.3] improved weapon menu - selected weapon is highlighted, used weapons are grayed out correctly, number of grenades under weapon image shows correctly, + added text who is using limited weapon

3.3 New stuff

[3.3.1] double kills - you are now able to shot thru players
[3.3.2] added demo auto recording functionality
- when match is starting, text "Hold F to start recording a demo" is shown - when player holds F, demo start recording in format "XvX_map_team1_team2__ID.dm_1"
- demo starts recording automatically after ready-up is over + is recorded again every map (in format XvX_map_team1_team2__ID.dm_1)
- auto recording can be turned off via player settings, check [3.3.18]
[3.3.3] added "Kill me" and "Start recording" to quick-messages (removed, check [3.3.18])
[3.3.4] some new cvar forces, like dx9 shadows forced off, duplicate packet forced off, ...
[3.3.5] abillity to spawn bot in strat mode
- you can record and replay path for bots.
[3.3.6] abillity to change FOV (filed-of-view) (canceled)
[3.3.7] add new info to small scoreboard at the end of the round (how long you are playing + rounds to halftime)
[3.3.8] show weapon instead of headshot in killfeed in match pam mode (removed)
[3.3.9] Shotgun rebalance 1 (removed)
[3.3.10] Match info - menu with information about team names, score, scores in previous maps, total played time.
Showable also in game.
Visible always for spectators.

[3.3.11] Match info server cvars - basic information like team names, scores, round can be showed via HLSW for example

[3.3.12] Server settings (Rcon change map)


[3.3.13] Rcon kick menu

[3.3.14] Strat bot support with path recording

Path recording:

[3.3.15] Match info ingame for ingames (merged into 3.3.10)
[3.3.16] Shotgun rebalance 3 (new conditions to avoid long shots and close range hits)
[3.3.17] Scoreboard menu, player's stats. Visible in menu and at the end of the map.




[3.3.18] Quick menu
Added settings - you can disable auto recording, show matchinfo, score, enemy list (these settings are saved to cvar "server16")
You can adjust mouse settings
Added posibility to call bash mode from menu.


[3.3.19] Bash mode - added posibility to call bash mode directly in first readyup. No need to set "pam_mode bash".
[3.3.20] Player's score is restored when he reconnect in middle of game. To purposely reset score, name must be changed.
[3.3.21] Secondary weapon replacement to pistol - if you click the same weapon in the menu you already have selected, your secondary weapon will be replaced by pistol (in start time). This could be useful for example if you have good spawn to rush, but you have two heavy weapons.
[3.3.22] Message "Server lag detected" will be printed to all players if server have performence lags. (it will not detect network lags, just performence lags)
[3.3.23] Auto-spectating mode - if you are in spectator team, you can toggle auto mode. It will automatically switch spectated player according to action in game. For example, if some player start looking at somebody, it will be automaticlly switched to this player.
[3.3.24] Fullscreen image of map with warning is showed when important cvars (like com_maxfps) are not in allowed range. (this is kind of replace of cvar checks when punkbuster is off)

[3.3.25] In readyup, sound "Time to go get movin" is played to last not-ready player (only if it is 3v3 or more).
[3.3.26] Prone peek fix - when you go from prone to crouch position, you are allowed to prone again after a small delay. This should avoid these situations: you are proned, leaned left/right and you peek behind the wall by going to crouch and back to prone as fast as possible. For enemy its difficult to shoot, because character animation is bugged and moving too fast.
[3.3.27] MG clip FIX - if you drop a MG, you will be spawned right behind the MG
[3.3.28] Dead bodies are not spawned near planted bomb
[3.3.29] Score changing via menu - in first readyup, you can change a score of teams (in case wrong pam_mode was set, server crash, etc..)
[3.3.30] New spectating system - new UI, auto-spectator is now better, score stats, player progress stats, etc..
[3.3.31] Round report - at the end of the round info about kills and hits you made are printed
[3.3.32] New damage feedback for assists - when player damaged by you is killed, "assist" text is showed on screen

[3.3.33] Players left - new player names list of alive enemy players above players left counter (can be turned off via menu)
[3.3.34] In readyup, you can throw nades like in strat mode
[3.3.35] New custom settings for map mode in rcon menu - a few of the settings can be changed (for example shotgun rebalance, fast-reload fix) and this change stays applied in next maps
[3.3.36] New menu section in Main -> Options

[3.3.37] List of all changed server cvars is showed in "Server info" menu

[3.3.38] Score in left-top corner can by enabled via settings menu
[3.3.39] For future hit diagnostics, at the end of each round info about hits is saved to cvar pam_damage_debug
[3.3.40] Hitbox rebalance - if you fire from rifle or scope to left arm at +-20* degress, it will be changed to kill to body replaced with [3.3.46]
[3.3.41] In halftime-readyup and between map readyup, when 5min timer expire, warning and red timer is showed. If all players from 1 team are ready, match automatically start even if opponent team is not ready.

[3.3.42] Players left - when last player in team is killed, text "Allies Eliminated" / "Axis Eliminated" is showed
[3.3.43] When you hit your teammate, reddish hit mark is showed

[3.3.44] Cvar system rewrited; any change to server settings is retained even when map changes; new cvar /pam_mode_custom is defined - it tells that changes made to server settings stays between map
[3.3.45] Warnings about wrong server settings (no password, cheats enabled, punkbuster disabled, cvars changes) is changed; its showed in left top corner under the score; if some of the server settings is changed, detailed list of changed cvars is showed; punkbuster warning is removed
[3.3.46] Hand hit box fix - if hands are in front of body and game somehow badly interprets it as hit to the hand, PAM change it to hit to the body; its an extension to already existing fix in 3.22 for left hand - now its applies also for right hand replaced with [3.3.71]
[3.3.47] Torso hitbox fix; lower torso hitbox (pelvis area) is slightly enlarged as workaround for bad hitbox registration between torso_lower and right/left_leg_upper; this change effectively applies only for rifles, because other weapons has the same damage for torso_lower and right/left_leg_upper
[3.3.48] Consistent shotgun - this is the new name for new shotgun; this shotgun fixes close range hits; it replaces rebalanced shotgun
[3.3.49] Ladder weapon bug fix - silent use of ladder is no more possible; its a situation when you double scroll your weapon, hold fire button and use a ladder replaced via 3.3.68
[3.3.50] Sliding bug fix; g_knockback is set to 0; when you are hit, no move energy is applied (knockback); this should fix fast sliding on ground / getting bugged into ground
[3.3.51] Sniper shotgun info - weapons of players with sniper and shotgun are showed next to compas at start and the end of the round
[3.3.52] Colored time - color of round timer changes to orange when 30 seconds are left and red when 15 seconds are left
[3.3.53] Damage feedback (hit cross in center) - slightly changed to better distinguish between hit and kill; if its hit only, cross is more transparent and disappears quicker; if its kill, cross is fully showed and stays longer
[3.3.54] New blood effect to better visualize hit location; can be enabled / disabled via /cg_blood
[3.3.55] RCON menu - new menu for changing map, server settings and player kick; is showed in all menus in new place
[3.3.56] Auto-spectator - better auto-switch algorithm; hit info; player names; auto hide of help text
[3.3.57] Auto-spectator - automatic killcam replay based on interesting actions (multikills, nozoom)
[3.3.58] Match info - team names now can contains special characters like # _ ! < > etc..
[3.3.59] Bash mode text over the screen is showed when bash mode is called.
[3.3.60] Cvar warning all over the screen is removed for cvar developer and polygons
[3.3.61] Objective text showed in scoreboard is removed
[3.3.62] SD voiceover sound "Move in!" removed at the start of the round replaced with 3.3.69
[3.3.63] SD voiceover sound when bomb is planted is shortened - only "Explosives planted" sound is retained
[3.3.64] Strat - up to 9 bot path recording can be saved; up to 9 bot path recordings can be played at once; automatic record stop is now faster
[3.3.65] New iwd file zpam_maps_v1.iwd with maps Toujane FIX v2, Burgundy FIX v1, Dawnville FIX v2, Matmata FIX v2, Carentan FIX v2, Breakout TLS, Chelm, Vallente, wawa_3dAim
[3.3.66] Timeout settings changes:
- timeouts per map: 4 (previously 2)
- timeouts per side: 2 (previously 1)
- timeout length: 2min (previously 5min)
- so total timeout time would be 8min per map (previously 10min)
- overtimes does not reset called timeouts count - it means if you called out all of the timeouts in standard game time, you dont get new timeouts in overtime. (same as previous)
- when timeout time expires, "Time is over" warning message appears - setting one team ready will end the timeout. (previously it automatically resumes the game)
[3.3.67] Time between halfs and maps changes:
- between maps: 5min (as previous)
- between halfs: 2min (previously 5min)
- between halfs at overtime: 1min (previously 5min)
- for LAN mode, there will be no time limits between halfs and maps
[3.3.68] Climbing sound fix
- If you climb ladder or wall, the "weapon switch" sound was made only for 1st person player, it was silent for other players
- Now the sound matches equally, so you hear exactly what other players hear (meaning if you climb ladder or wall, "weapon switch" sound is made for everybody)
- If you want to silently climb ladder or wall, you need to hold weapon down by scrolling down 2x and hold left mouse
- This fix replaces previous [3.3.49] "Ladder weapon fix" in 3.30
replaced with 3.3.70
[3.3.69] SD voiceover sound "Move in!" is now played only if player is not moving (replaces [3.3.62])
[3.3.70] Climbing sound fix (replaces [3.3.68])
- restored original behavior that was affected by [3.3.68] and [3.3.49]
- disabling the weapon switch sound that is played only in 1st point of view
- meaning that everybody hear the same
[3.3.71] New hand hitbox fix (replaces [3.3.46])
[3.3.72] New streamer team for auto-spectator features
- Is completly rewrited, new method for mouse and key detection
- Hotkeys to toggle Auto-spectator, replay kill, toggle XRAY, toggle showing hit values, follow player
- Auto-killcams will be played at the end of the round even if auto-spectator is off
- If the killcam is too long, the round end timer will be extended
- Auto-spectator will predict player positions to improve switching to players in right situations
- XRAY will be turned off by default
- Player's left and right boxes are now not sorted by score, but now by client number (for easier hotkeys)
- Player's left and right boxes now contains info about weapons (similar to CSGO)
- Spectators are automatically set ready-up
- Score progress now indicate who called the timeout with via team color
- Player progress will be colored via team color to better indicate the players count situations
- Added kill count for individual players in current round
- Adjusted the font size of XRAY - now it will dynamically change the size based on distance
- Text who is planting / defusing the bomb
- 2 color modes - blue and red, cyan and purple
[3.3.73] Plant - added timer showing time left to explosion; when bomb is defused, it will show the remaining time till explosion
[3.3.74] In the strat-time period, a new "weapon drop" sound is played when you drop your secondary weapon (helps people easily detect where you drop your weapon)
[3.3.75] Clearing the console after auto-recording started on each map (to avoid the need to scroll down the console)
[3.3.76] Aim-trainer on FIX maps available in readyup (https://youtu.be/XmURNWF3bHs)
[3.3.77] Updating of the scoreboard every round to have it available when replaying demos (scoreboard is by default updated only when is opened by player)
[3.3.78] Added empty name protection - if empty name is used for first time, player is warned and renamed. The second time player is kicked.
[3.3.79] LOD models - forcing tanks, cars, trucks, and artillery flak to be always rendered at high detail (this fixes holes in models at long distances)
[3.3.80] Allowing score change at any time in LAN mode
[3.3.81] Enable readyup auto-resume on LAN
[3.3.82] New demo recording + uploading using CoD2x
[3.3.83] Streamer bird camera
[3.3.84] vMIX support
[3.3.85] New "draw" sub mode to disable overtime
[3.3.86] Match system: Force player nicknames if required by match
[3.3.87] Radar
[3.3.88] Added objective icons (plant labels) in strat
[3.3.89] Fixed double-hit sound via nade, added double-cross hit icon when 2 or more player are hit
[3.3.90] New streamer layout (CoD2x)
[3.3.91] Match system support (CoD2x)
[3.3.92] Competitive settings (limits of max fps, wait command, etc) (CoD2x)
[3.3.93] Added support for sv_fps 40 (introduced in CoD2x)

3.4 Other

[3.4.1] New LOD force - all models are rendered in high details (this fixes ussues that enemy can be spotted behind tank from far distances, or bucket on toujane is not visible from far distance)
(this may be applyed only for toujane)

Canceled - this caused significant FPS drops on some spots
Some models are forced to render in high detail by another method

[3.4.2] New bomb explosion radius + fixed explosion effect

[3.4.3] when bomb explodes and kills someone, kill is assigned to planter
[3.4.4] fixed bug when grenade icon is not visible in scope zoom - it depends on "cg_hudGrenadeIconInScope" - so now pam force value of this cvar to "1"
[3.4.5] in overtime mode (for mr3, mr10, mr12, mr15 modes) - if match ends with draw, teams are automaticly switched over and over untill one team wins
[3.4.6] when team is changed, team is changed immediately (before - team was changed after weapon choose)
[3.4.7] all hud text are animated (small fadein and fadeout translations) and adapted to widescreen ratio
[3.4.8] when you connect to match in progress, there is image of map in background - so player can not see anything and also is spawned outside map, so he can not hear anything (inspiration from COD4)

[3.4.9] Added check if player has downloaded mod (mod needs to be downloaded or bug fixes described above will not work)

[3.4.10] Added check to "fs_game" if pam is installed correctly (if all servers with new pam will be installed in same folder, players will not have to downloading mod again on other servers)replaced with [3.4.15]
[3.4.11] Added new cvar system - all cvars (sv_, g_, scr_) are monitored against change (not all cvars was monitored in old pam) + added warning in readyup if cvars are not equal to league rules
[3.4.12] Removed anoying music at the and of the map
[3.4.13] Removed anoying music from main menu
[3.4.14] Current pam modes replaced with [3.4.16]
[3.4.15] PAM now has to be installed in main folder - this will fix problem with not saved cvar changes you made in game
[3.4.16] New pam mode names - cg was removed, now only pub and comp modes are available with sub modes.
[3.4.17] Added support of HQ, CTF, HTF and RE gametypes
[3.4.18] Added rifle only mode




4. IDEAS

[4.1] player / server options (player settings, all rcon commands, new commands like set/reset score, move player to team, ...) (done as 3.3.13)
[4.2] add more info in shoutcaster mode (weapon, grenades..., like in CS:GO) (+ keybindings for players, map overview) implemented in [3.3.30]
[4.3] new binds for taking weapon class -> like when the bind is pressed, player gets Thompson, MP44, or PPSh based on actual team 
[4.4] increase sv_fps?
[4.5] remove quickmessages (like "Follow me", "Move in!") in match pam mode
[4.6] remove "Explosives planted" voice sound for planter (just for planter, retain for rest of team) to avoid ninja defuse https://www.youtube.com/watch?v=SfRdlWHzUWQ  
[4.7] suggestion to drop smoke instead of nade if sg gets killed before smoke was used
[4.8] get Russians back with modified ppsh
[4.9] Spectator - keep following player from previsous round in new round (in current pam when new round started, spectator is moved to default position even if he was following some player...) implemented in [3.3.30]

5. KNOWN BUGS

[5.0] Diagonal bug

[5.1] Slide bug (when player hits the ground he can not stop moving. It looks like he is "sliding" on the ground)
[5.2] Defusing with F12 (player can defuse outside plant area when screenshot bind and F is pressed at one time)
[5.3] Smoke is not visible if player press F12 or game window is minimized
[5.4] When some player plays with BAR weapon, all other players can hearing sounds of changing weapon on their side (happends when player with BAR is switching between BAR and pistol) fixed, check [1.13]
[5.5] When player is defusing and he use binoculars - its seems like he is not defunsing and zooming with weapon (but weapon is not visible)
[5.6] bind MOUSE1 "+attack;+smoke" -> this bind silences gun
[5.7] toujane bug - you get stuck in "link" if you crouch next to the wall fixed in mp_toujane_fix

[5.8] Carentan MG house at doors. Prone push fixed in mp_carentan_fix


[5.9] Dawnville: Bug in last apartment fixed in mp_dawnville_fix

[5.10] too hight mg sensitivity
[5.11] switching from scope to other player while dead, you keep hearing the "scopeshot"
[5.12] r_picmip can be abused, find a way to make sure picmip 3 cant be used
[5.13] Carentan: make sure people cant jump on the B bombsite from sandbags with 333fps or from boxhouse. fixed, check [1.11]
[5.14] Carentan: complaining about a bug behind the B bomb, the fences are bugged while scoping
[5.15] MG clip bug - if you prone behind MG and press F to take it, enemy see you with a delay
[5.16] You cannot hear sounds of players that are far away from you. In some spots you cannot hear sounds of players just around a corner. This is caused by map portals - every map is split up to portals. Only portals that you can see from your location are rendered by game engine. Unforcenetly players are also not rendered. Thats why you cannot hear your teammate shooting on A bombsite while you are on allies spawn for example.
[5.17] Bash bug - you cannot bust while reload animation (untill weapon chamber is not fully refilled -> bash is blocked)
[5.18] Burgundy low sky box - grenades are removed from game if you throw them above you with jumpfixed in mp_burgundy_fix
[5.19] Matmata jungle texture bug fixed in mp_matmata_fix

[5.20] Tanks - some tanks dont have solid tank wheels - shots go throught them
[5.21] Toujane bug under A roof
Fixed, viz [1.6]
[5.22] Toujane bug in track on B bomb site - you can see enemy behind track boxes with jumping, but enemy cannot see you fixed in mp_toujane_fix
[5.23] Burgundy black tank - you can see enemy under tank wheels when you are far away from tank

About

zPAM is competitive mod for COD2

Resources

Stars

68 stars

Watchers

11 watching

Forks

Releases

Contributors

Languages