From d22de10be2625674f252be29448530220db48228 Mon Sep 17 00:00:00 2001 From: Indrek Ardel Date: Tue, 13 May 2014 12:16:21 +0000 Subject: [PATCH] Promod LIVE V2.20 release --- compile.bat | 2 +- compile_fastfile.bat | 2 +- maps/mp/_destructible.gsc | 18 +++++++++++++----- pb/promod_iwd_md5.cfg | 2 +- promod/scorebot.gsc | 2 +- promod/servercheck.gsc | 6 +++--- promod/setvariables.gsc | 2 +- readme.txt | 21 ++++++++++++--------- server.cfg | 2 +- server_setup.txt | 6 +++--- ui_mp/main.menu | 2 +- 11 files changed, 38 insertions(+), 27 deletions(-) diff --git a/compile.bat b/compile.bat index 181863c..71368aa 100644 --- a/compile.bat +++ b/compile.bat @@ -8,7 +8,7 @@ @echo off -SET mod_name=pml219 +SET mod_name=pml220 SET work_directory=%~dp0 cd %work_directory% diff --git a/compile_fastfile.bat b/compile_fastfile.bat index 609de98..38d3688 100644 --- a/compile_fastfile.bat +++ b/compile_fastfile.bat @@ -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 diff --git a/maps/mp/_destructible.gsc b/maps/mp/_destructible.gsc index 3766072..6352ab5 100644 --- a/maps/mp/_destructible.gsc +++ b/maps/mp/_destructible.gsc @@ -65,6 +65,7 @@ dmg() { numparts = getnumparts(mdl); closest = undefined; + distance = distance(point, self.origin); for(i=0;i 0) + { + self.damageOwner = attacker; + self.damageTaken += damage; } - self.damageOwner = attacker; - self.damageTaken += int(damage); } } @@ -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; diff --git a/pb/promod_iwd_md5.cfg b/pb/promod_iwd_md5.cfg index 11567e5..9ae10d0 100644 --- a/pb/promod_iwd_md5.cfg +++ b/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 diff --git a/promod/scorebot.gsc b/promod/scorebot.gsc index 56528ee..fa5f85c 100644 --- a/promod/scorebot.gsc +++ b/promod/scorebot.gsc @@ -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(;;) { diff --git a/promod/servercheck.gsc b/promod/servercheck.gsc index a6fa2a6..f1a3f46 100644 --- a/promod/servercheck.gsc +++ b/promod/servercheck.gsc @@ -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" ), " " ); @@ -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; diff --git a/promod/setvariables.gsc b/promod/setvariables.gsc index 0cfa8cb..97f7f4e 100644 --- a/promod/setvariables.gsc +++ b/promod/setvariables.gsc @@ -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"; } \ No newline at end of file diff --git a/readme.txt b/readme.txt index 6789002..eb5b372 100644 --- a/readme.txt +++ b/readme.txt @@ -1,6 +1,6 @@ -Promod LIVE V2.19 EU - README +Promod LIVE V2.20 EU - README http://www.codpromod.com -2014-02-28 +2014-05-13 #codpromod @ QuakeNet Maintained by Ingram @@ -8,12 +8,12 @@ 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 @@ -21,6 +21,9 @@ 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: @@ -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"). @@ -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". diff --git a/server.cfg b/server.cfg index 3d01c4f..d90ec2f 100644 --- a/server.cfg +++ b/server.cfg @@ -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" diff --git a/server_setup.txt b/server_setup.txt index 6ff15b9..2fa8913 100644 --- a/server_setup.txt +++ b/server_setup.txt @@ -4,7 +4,7 @@ This is a sample command-line for starting and using Promod LIVE V2 under Windows: - +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 + +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] @@ -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". diff --git a/ui_mp/main.menu b/ui_mp/main.menu index 8aa215c..bb58516 100644 --- a/ui_mp/main.menu +++ b/ui_mp/main.menu @@ -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