Skip to content

Commit

Permalink
zPAM3.20
Browse files Browse the repository at this point in the history
zPAM 3.20

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 7 seconds for cg and cg_mr12 pam modes
Diagonal fix was removed

Known bugs:
when quick messages menu is opened, auto-recording will not start
you cannot take screenshot of scoreboard via F12
  • Loading branch information
eyza-cod2 committed May 5, 2021
1 parent a365aa9 commit b216eb4
Show file tree
Hide file tree
Showing 170 changed files with 15,698 additions and 9,576 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
.gitignore
.atom
.gitignore
gsc_help.txt
gsc_changes.txt
zpam_changes.txt
what_to_test.txt
source_compiled
/zpam310_beta6.iwd
.gitattributes
/zpam320.iwd
408 changes: 344 additions & 64 deletions README.md

Large diffs are not rendered by default.

Binary file added images/auto_readyup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/enemylist_setcolor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/ftp.jpg
Binary file not shown.
Binary file removed images/gameservers_cmd.png
Binary file not shown.
Binary file removed images/gameservers_mods.png
Binary file not shown.
Binary file added images/hitbox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/matchinfo.jpg
Binary file not shown.
Binary file added images/matchinfo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/quickmenu.jpg
Binary file not shown.
Binary file added images/quickmenu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/rcon_kick.jpg
Binary file not shown.
Binary file added images/rcon_kick.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/rcon_map.jpg
Binary file not shown.
Binary file added images/rcon_map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/round_report.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/scoreboard_columns.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/serverinfo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/shotgun_graph_classic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/shotgun_graph_rebalanced.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/shotgun_graph_rebalanced_tj.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/shotgun_spread.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/spectator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/spectator_killcam.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
123 changes: 1 addition & 122 deletions source/default_mp.cfg
Original file line number Diff line number Diff line change
@@ -1,131 +1,10 @@
// Hello Dave, Would you like to play a game?
// I'm not Dave, I'm EYZA bitch.

unbindall

// Movement
bind w "+forward"
bind s "+back"
bind a "+moveleft"
bind d "+moveright"

// Lean
bind q "+leanleft"
bind e "+leanright"

// Weapon Controls
bind SHIFT "+melee_breath"
bind MOUSE1 "+attack"
bind MOUSE2 "toggleads"

// Weapon Slots
bind 1 "weapnext"
bind 2 "weapnext"

// Inventory
bind MOUSE3 "+frag"
bind g "+frag"
bind 4 "+smoke"
bind b "+binoculars"

// Interaction
bind f "+activate"
bind r "+reload"
bind TAB "+scores"

// Stance
bind SPACE "+gostand"
bind CTRL "goprone"
bind c "gocrouch"

// Mouse movement cvars
set sensitivity "5"
set cl_freelook "1"
set ui_mousePitch "0"
set m_pitch "0.022"
set m_filter "0"
set cl_mouseAccel "0"

// Menus
bind PAUSE "toggle cl_paused"
bind ESCAPE "togglemenu"
bind ~ "toggleconsole"
bind ` "toggleconsole"

// MULTIPLAYER CONTROLS
bind t "chatmodepublic"
bind v "mp_QuickMessage"
bind y "chatmodeteam"
bind z "+talk"
bind x "openscriptmenu ingame changeweapon"

// CLIENT ENVIRONMENT COMMANDS
bind F1 "vote yes"
bind F2 "vote no"
bind F4 "+scores"
bind F12 "screenshotJPEG"

// UI DEFAULTS
set ui_mapname random
set g_gametype random
set cg_headiconminscreenradius 0.015

// SHARED GAMETYPE DEFAULTS
set scr_allow_springfield 1
set scr_allow_enfieldsniper 1
set scr_allow_nagantsniper 1
set scr_allow_kar98ksniper 1
set scr_allow_m1carbine 1
set scr_allow_m1garand 1
set scr_allow_thompson 1
set scr_allow_bar 1
set scr_allow_enfield 1
set scr_allow_sten 1
set scr_allow_bren 1
set scr_allow_nagant 1
set scr_allow_svt40 1
set scr_allow_pps42 1
set scr_allow_ppsh 1
set scr_allow_kar98k 1
set scr_allow_g43 1
set scr_allow_mp40 1
set scr_allow_mp44 1
set scr_allow_greasegun 1
set scr_allow_shotgun 1
set scr_allow_fraggrenades 1
set scr_allow_smokegrenades 1

set scr_friendlyfire 0
set scr_drawfriend 1
set scr_forcerespawn 1
set scr_killcam 1
set scr_spectatefree 0
set scr_spectateenemy 0
set scr_teambalance 0

// SEARCH AND DESTROY
dvar_float scr_sd_timelimit 0 0 1440
dvar_int scr_sd_half_round 0 0 99999
dvar_int scr_sd_half_score 0 0 99999
dvar_int scr_sd_end_round 20 0 99999
dvar_int scr_sd_end_score 0 0 99999
dvar_float scr_sd_strat_time 0 0 10
dvar_float scr_sd_roundlength 4 0 10
dvar_float scr_sd_end_time 0 0 10
dvar_bool scr_sd_count_draws 1
dvar_bool scr_sd_bombtimer_show 1
dvar_float scr_sd_bombtimer 60 0 60
dvar_float scr_sd_planttime 5 0 10
dvar_float scr_sd_defusetime 10 0 10
dvar_int scr_sd_plant_points 0 0 10
dvar_int scr_sd_defuse_points 0 0 10

// Match info server vars
sets _match_team1 "-"
sets _match_team2 "-"
sets _match_score "-"
sets _match_round "-"

sets _zpam "3.1 BETA 6"

exec pam_pub.cfg
sets _zpam "3.20"
21 changes: 1 addition & 20 deletions source/maps/mp/_bug_fix.gsc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include maps\mp\gametypes\_callbacksetup;
#include maps\mp\gametypes\global\_global;

// Called in echa map inicialization
// Spawning xmodels to fix a bugs
Expand Down Expand Up @@ -263,25 +263,6 @@ carentan()

window1_collision = spawn("trigger_radius", window1.origin, 0, 8 , 50);
window1_collision setcontents(1);

//TODO
/*
// A walls
precacheModel("xmodel/prop_door_wood");
wall = spawn("script_model",(-934,1885,-8));
wall.angles = (0,312,0);
wall setmodel("xmodel/prop_door_wood");
wall maps\mp\gametypes\__developer::moving_obj("");*/


/*
// spawn(<classname>, <origin>, <flags>, <radius>, <height>)
jump = spawn("trigger_radius", (651, 557, 190), 0, 8, 30);
jump setcontents(1);
jump = spawn("trigger_radius", (651, 500, 190), 0, 8, 30);
jump setcontents(1);
*/
}


Expand Down
3 changes: 3 additions & 0 deletions source/maps/mp/_load.gsc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
main()
{
if (!isdefined(level._effect))
level._effect = [];

thread maps\mp\_minefields::minefields();
thread maps\mp\_shutter::main();

Expand Down
10 changes: 10 additions & 0 deletions source/maps/mp/_utility.gsc
Original file line number Diff line number Diff line change
Expand Up @@ -316,3 +316,13 @@ abs (num)

return num;
}

deletePlacedEntity(entity)
{
entities = getentarray(entity, "classname");
for(i = 0; i < entities.size; i++)
{
//println("DELETED: ", entities[i].classname);
entities[i] delete();
}
}
Loading

0 comments on commit b216eb4

Please sign in to comment.