Skip to content

Commit

Permalink
Promod LIVE V2.19 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Trivve authored and Ingramz committed Feb 28, 2014
1 parent 8436ce9 commit be0b3ca
Show file tree
Hide file tree
Showing 14 changed files with 192 additions and 1,176 deletions.
2 changes: 1 addition & 1 deletion compile.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

@echo off

SET mod_name=pml218
SET mod_name=pml219
SET work_directory=%~dp0
cd %work_directory%

Expand Down
2 changes: 1 addition & 1 deletion compile_fastfile.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ copy mod.csv ..\..\zone_source /Y
cd ..\..\bin
linker_pc.exe -language english -compress -cleanup mod -verbose

cd ..\mods\pml218
cd ..\mods\pml219
copy ..\..\zone\english\mod.ff

pause
755 changes: 132 additions & 623 deletions maps/mp/_destructible.gsc

Large diffs are not rendered by default.

530 changes: 0 additions & 530 deletions maps/mp/_destructible_types.gsc

This file was deleted.

2 changes: 1 addition & 1 deletion maps/mp/gametypes/_globallogic.gsc
Original file line number Diff line number Diff line change
Expand Up @@ -3130,7 +3130,7 @@ Callback_PlayerDamage( eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, s
self.attackers[ self.attackers.size ] = eAttacker;
self.attackerData[eAttacker.clientid] = false;
}
if ( WeaponInventoryType( sWeapon ) == "primary" )
if ( isDefined(sWeapon) && isSubStr("m1014_mp winchester1200_mp mp5_mp uzi_mp ak74u_mp ak47_mp m14_mp mp44_mp g3_mp g36c_mp m16_mp m4_mp m40a3_mp remington700_mp", sWeapon) )
self.attackerData[eAttacker.clientid] = true;
}

Expand Down
2 changes: 1 addition & 1 deletion mod.csv
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ rawfile,maps/createfx/mp_strike_fx.gsc
rawfile,maps/createfx/mp_vacant_fx.gsc

rawfile,maps/mp/_destructible.gsc
rawfile,maps/mp/_destructible_types.gsc
rawfile,maps/mp/_explosive_barrels.gsc
rawfile,maps/mp/_flashgrenades.gsc
rawfile,maps/mp/_load.gsc
Expand Down Expand Up @@ -120,5 +119,6 @@ rawfile,shock/damage_mp.shock
sound,promod,,all_mp

stringtable,promod/customStatsTable.csv
stringtable,promod/destructible.csv

xmodel,com_floodlight_on
31 changes: 31 additions & 0 deletions promod/destructible.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright (c) 2009-2017 Andreas Göransson <andreas.goransson@gmail.com>
# Copyright (c) 2009-2017 Indrek Ardel <indrek@ardel.eu>
#
# This file is part of Call of Duty 4 Promod.
#
# Call of Duty 4 Promod is licensed under Promod Modder Ethical Public License.
# Terms of license can be found in LICENSE.md document bundled with the project.

0,white_smoke,smoke/car_damage_whitesmoke
1,black_smoke,smoke/car_damage_blacksmoke
2,black_smoke_fire,smoke/car_damage_blacksmoke_fire
3,small_vehicle_explosion,explosions/small_vehicle_explosion
4,car_glass_large,props/car_glass_large
5,car_glass_medium,props/car_glass_med
6,light_front,props/car_glass_headlight
7,light_back,props/car_glass_brakelight

8,tag_glass_left_front
9,tag_glass_right_front
10,tag_glass_left_back
11,tag_glass_right_back
12,tag_glass_front
13,tag_glass_back
14,tag_glass_left_back2
15,tag_glass_right_back2
16,tag_light_left_front
17,tag_light_right_front
18,tag_light_left_back
19,tag_light_right_back
20,tag_mirror_right
21,tag_mirror_left
2 changes: 1 addition & 1 deletion promod/scorebot.gsc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ actionTicker()
setDvar( "__promod_defence_score", game["promod_scorebot_defence_ticker_buffer"], true );
setDvar( "__promod_mode", toLower( getDvar( "promod_mode" ) ), true );
setDvar( "__promod_ticker", getDvar( "__promod_ticker" ), true );
setDvar( "__promod_version", "Promod LIVE V2.18 EU", true );
setDvar( "__promod_version", "Promod LIVE V2.19 EU", true );

for(;;)
{
Expand Down
6 changes: 3 additions & 3 deletions promod/servercheck.gsc
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ errorMessage()
if ( (antilag && dedicated == "dedicated LAN server") || (!antilag && dedicated == "dedicated internet server" && !game["PROMOD_PB_OFF"]))
iprintlnbold("^1Server Violation^7: Modified Connection");

if( isDefined( game["PROMOD_MATCH_MODE"] ) && game["PROMOD_MATCH_MODE"] == "match" || toLower( getDvar( "fs_game" ) ) == "mods/pml218" )
if( isDefined( game["PROMOD_MATCH_MODE"] ) && game["PROMOD_MATCH_MODE"] == "match" || toLower( getDvar( "fs_game" ) ) == "mods/pml219" )
{
if( toLower(getDvar("fs_game")) != "mods/pml218" )
if( toLower(getDvar("fs_game")) != "mods/pml219" )
iprintlnbold("^1Server Violation^7: Invalid fs_game value");

iwdnames = strToK( getDvar( "sv_iwdnames" ), " " );
Expand Down Expand Up @@ -109,7 +109,7 @@ errorMessage()
iprintlnbold("^1Server Violation^7: Modified Custom IWD File While In Match Mode");
break;

case "pml218":
case "pml219":
if( iwdsums[i] != "1491770436" )
iprintlnbold("^1Server Violation^7: Modified Promod IWD Detected");
iwd_loaded = true;
Expand Down
2 changes: 1 addition & 1 deletion promod/setvariables.gsc
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ main()
game["axis_timeout_called"] = 0;

game["promod_first_readyup_done"] = 0;
game["PROMOD_VERSION"] = "Promod ^1LIVE ^7V2.18 EU";
game["PROMOD_VERSION"] = "Promod ^1LIVE ^7V2.19 EU";
}
24 changes: 15 additions & 9 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,26 +1,32 @@
Promod LIVE V2.18 EU - README
Promod LIVE V2.19 EU - README
http://www.codpromod.com
2014-02-12 <promod [at] codpromod.com>
2014-02-28 <promod [at] codpromod.com>
#codpromod @ QuakeNet

Maintained by Ingram

Sponsored by FragNet
http://www.fragnet.net

Zip-package (promodlive218_eu.zip) contains:
Zip-package (promodlive219_eu.zip) contains:

LICENSE
pml218\mod.ff
pml218\pml218.iwd
pml218\z_c_r.iwd
pml219\mod.ff
pml219\pml219.iwd
pml219\z_c_r.iwd
pb\stock_iwd_md5.cfg
pb\promod_iwd_md5.cfg
pb\pbsvuser.cfg
readme.txt
server_setup.txt
server.cfg

LIVE V2.19:
- Fixed a server crash related to damage inflicted via exploding barrels
- Re-implemented vehicle handling. This fixes two known issues:
1) Cars would keep burning and not explode after a while
2) Throwing a grenade to one of the headlights would explode the car

LIVE V2.18:
- Fixed the exploit where players could hide behind floodlights (solution found by Gunner)
- Removed the flashbang blinding effect during kniferound
Expand Down Expand Up @@ -143,7 +149,7 @@ Q: What about the hardcore, and support for all gametypes, how do I use them?
A: For a complete list of "promod_modes", see below.

Q: I want to run my own custom Promod-server with skins etc, how?
A: In order to run your own custom Promod-server you'll need to change the fs_game to anything besides "mods/pml218" as well as not using match-modes. You will now be able to modify the Promod IWDs and add additional iwd-files.
A: In order to run your own custom Promod-server you'll need to change the fs_game to anything besides "mods/pml219" as well as not using match-modes. You will now be able to modify the Promod IWDs and add additional iwd-files.

Q: Can I use this mod as a movie mod?
A: Yes, you can! Commands (which are important for movie-making) are only forced on the clients once connected. Demos needs to be loaded using devmap before starting a demo ("devmap mp_crash;disconnect").
Expand Down Expand Up @@ -337,8 +343,8 @@ For example map "mp_dahman_b3" contains a file called "mp_dahman_b3.iwd" and the

NOTES FOR SERVER-ADMINS AND SERVER-HOSTING COMPANIES

The dvar fs_game "mods/pml218" is forced for match-servers and do not rename any files or modify contents of them.
However custom servers with skins etc. must use something else than "mods/pml218" for example "mods/pml218_custom", it's not restricted and you are free to add additional iwd files or modify existing ones.
The dvar fs_game "mods/pml219" is forced for match-servers and do not rename any files or modify contents of them.
However custom servers with skins etc. must use something else than "mods/pml219" for example "mods/pml219_custom", it's not restricted and you are free to add additional iwd files or modify existing ones.

Included with Promod are two PunkBuster MD5 configs, "stock_iwd_md5.cfg" and "promod_iwd_md5.cfg" which you can put in the pb-folder on your server, it contains checksums for the stock IWD-files as well as Promod-IWD for use with PunkBuster MD5 facility to prevent custom skins and other forms of cheating and abusing and can be loaded in-game by typing "\rcon pb_sv_load stock_iwd_md5.cfg" and "\rcon pb_sv_load promod_iwd_md5.cfg".

Expand Down
2 changes: 1 addition & 1 deletion server.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sets _Email ""
sets _Website ""
sets _Location ""
sets _Irc ""
sets sv_hostname "Another Promod ^1LIVE ^7V2.18 ^7Server is Born"
sets sv_hostname "Another Promod ^1LIVE ^7V2.19 ^7Server is Born"

// welcome message, message of the day (motd)
seta scr_motd "Please visit us at www.codpromod.com, also visit our IRC channel #codpromod @ QuakeNet"
Expand Down
6 changes: 3 additions & 3 deletions server_setup.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

This is a sample command-line for starting and using Promod LIVE V2 under Windows:

<path to iw3mp.exe> +set dedicated 2 +set net_ip localhost +set net_port 28960 +set sv_punkbuster 1 +set fs_game mods/pml218 +exec server.cfg +set rcon_password password +map_rotate
<path to iw3mp.exe> +set dedicated 2 +set net_ip localhost +set net_port 28960 +set sv_punkbuster 1 +set fs_game mods/pml219 +exec server.cfg +set rcon_password password +map_rotate

dedicated [0-2] (listen, LAN, internet)
net_ip [xxx.xxx.xxx.xxx]
Expand All @@ -13,8 +13,8 @@ net_port [1-65535] (standard is 28960)
Make sure you put the server config (server.cfg) in the main-folder or specify correct path to it.
Please note that we also define the rcon password to the server here to prevent someone from downloading your config from server and thus view ("hack") your rcon password.

The dvar fs_game "mods/pml218" is forced for match-servers and do not rename any files or modify contents of them.
However custom servers with skins etc. must use something else than "mods/pml218" for example "mods/pml218_custom", it's not restricted and you are free to add additional iwd files or modify existing ones.
The dvar fs_game "mods/pml219" is forced for match-servers and do not rename any files or modify contents of them.
However custom servers with skins etc. must use something else than "mods/pml219" for example "mods/pml219_custom", it's not restricted and you are free to add additional iwd files or modify existing ones.

Included with Promod is two PunkBuster MD5 configs, "stock_iwd_md5.cfg" and "promod_iwd_md5.cfg" which you can put in the pb-folder on your server, it contains checksums for the stock IWD-files as well as Promod-IWD for use with PunkBuster MD5 facility to prevent custom skins and other forms of cheating and abusing and can be loaded in-game by typing "\rcon pb_sv_load stock_iwd_md5.cfg" and "\rcon pb_sv_load promod_iwd_md5.cfg".

Expand Down
2 changes: 1 addition & 1 deletion ui_mp/main.menu
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
}
itemDef
{
text "Current Promod Version: LIVE V2.18 EU"
text "Current Promod Version: LIVE V2.19 EU"
style 0
textscale 0.25
textstyle 3
Expand Down

0 comments on commit be0b3ca

Please sign in to comment.