Skip to content

Commit

Permalink
Promod LIVE V2.20 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Ingramz authored and Trivve committed May 13, 2014
1 parent be0b3ca commit d22de10
Show file tree
Hide file tree
Showing 11 changed files with 38 additions and 27 deletions.
2 changes: 1 addition & 1 deletion compile.bat
Expand Up @@ -8,7 +8,7 @@

@echo off

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

Expand Down
2 changes: 1 addition & 1 deletion compile_fastfile.bat
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\pml219
cd ..\mods\pml220
copy ..\..\zone\english\mod.ff

pause
18 changes: 13 additions & 5 deletions maps/mp/_destructible.gsc
Expand Up @@ -65,6 +65,7 @@ dmg()
{
numparts = getnumparts(mdl);
closest = undefined;
distance = distance(point, self.origin);
for(i=0;i<numparts;i++)
{
part = getpartname(mdl, i);
Expand All @@ -74,14 +75,21 @@ dmg()

if(!isdefined(closest) || dist < closest)
closest = dist;

if((isSubStr(part, "tag_hood") || isSubStr(part, "tag_trunk") || isSubStr(part, "tag_door_") || isSubStr(part, "tag_bumper_")) && dist < distance)
distance = dist;
}
if(!isdefined(closest))
closest = distance(point, self.origin);
closest = distance;

damage = int(11 * damage - 5.6 * distance + 4 * closest);
}

damage = 11 * damage - 5.6 * distance(point, self.origin) + 4 * closest;
if(damage > 0)
{
self.damageOwner = attacker;
self.damageTaken += damage;
}
self.damageOwner = attacker;
self.damageTaken += int(damage);
}
}

Expand Down Expand Up @@ -184,7 +192,7 @@ explosion()

self playsound("car_explode");
playfxontag(level.destructible_effects["small_vehicle_explosion"], self, "tag_death_fx");
origin = self gettagorigin("tag_death_fx")+(0, 0, 80);
origin = self.origin+(0, 0, 80);
rng = 250;
if(getsubstr(self.destructible_type, 0, 19) == "vehicle_80s_sedan1_")
rng = 375;
Expand Down
2 changes: 1 addition & 1 deletion pb/promod_iwd_md5.cfg
@@ -1 +1 @@
pb_sv_md5tool a "" v pml218.iwd SZ276308 AT0 LEN2048 DA521500161DE4CA327F648779011C0A
pb_sv_md5tool a "" v pml220.iwd SZ276308 AT0 LEN2048 21D42AD2AA596B92C6AFB0B25C1BC9AB
2 changes: 1 addition & 1 deletion promod/scorebot.gsc
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.19 EU", true );
setDvar( "__promod_version", "Promod LIVE V2.20 EU", true );

for(;;)
{
Expand Down
6 changes: 3 additions & 3 deletions promod/servercheck.gsc
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/pml219" )
if( isDefined( game["PROMOD_MATCH_MODE"] ) && game["PROMOD_MATCH_MODE"] == "match" || toLower( getDvar( "fs_game" ) ) == "mods/pml220" )
{
if( toLower(getDvar("fs_game")) != "mods/pml219" )
if( toLower(getDvar("fs_game")) != "mods/pml220" )
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 "pml219":
case "pml220":
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
Expand Up @@ -32,5 +32,5 @@ main()
game["axis_timeout_called"] = 0;

game["promod_first_readyup_done"] = 0;
game["PROMOD_VERSION"] = "Promod ^1LIVE ^7V2.19 EU";
game["PROMOD_VERSION"] = "Promod ^1LIVE ^7V2.20 EU";
}
21 changes: 12 additions & 9 deletions readme.txt
@@ -1,26 +1,29 @@
Promod LIVE V2.19 EU - README
Promod LIVE V2.20 EU - README
http://www.codpromod.com
2014-02-28 <promod [at] codpromod.com>
2014-05-13 <promod [at] codpromod.com>
#codpromod @ QuakeNet

Maintained by Ingram

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

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

LICENSE
pml219\mod.ff
pml219\pml219.iwd
pml219\z_c_r.iwd
pml220\mod.ff
pml220\pml220.iwd
pml220\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.20:
- Fixed issues with vehicle damage source being different compared to previous releases

LIVE V2.19:
- Fixed a server crash related to damage inflicted via exploding barrels
- Re-implemented vehicle handling. This fixes two known issues:
Expand Down Expand Up @@ -149,7 +152,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/pml219" 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/pml220" 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 @@ -343,8 +346,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/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.
The dvar fs_game "mods/pml220" 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/pml220" for example "mods/pml220_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
Expand Up @@ -7,7 +7,7 @@ sets _Email ""
sets _Website ""
sets _Location ""
sets _Irc ""
sets sv_hostname "Another Promod ^1LIVE ^7V2.19 ^7Server is Born"
sets sv_hostname "Another Promod ^1LIVE ^7V2.20 ^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
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/pml219 +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/pml220 +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/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.
The dvar fs_game "mods/pml220" 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/pml220" for example "mods/pml220_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
Expand Up @@ -141,7 +141,7 @@
}
itemDef
{
text "Current Promod Version: LIVE V2.19 EU"
text "Current Promod Version: LIVE V2.20 EU"
style 0
textscale 0.25
textstyle 3
Expand Down

0 comments on commit d22de10

Please sign in to comment.