From 663170ae328c6230ab2a0c22e9aea23849e661b5 Mon Sep 17 00:00:00 2001 From: ebayShopper Date: Sat, 1 Apr 2017 13:47:54 -0400 Subject: [PATCH] Remove upgrade option from dayz police car Also added setvariable.txt exceptions for missing police car hitpoints Fixes #1929 --- CHANGE LOG 1.0.6.2.txt | 1 + SQF/dayz_code/Configs/CfgVehicles/Car/CAR_SEDAN.hpp | 6 ++++++ Server Files/Battleye/setvariable.txt | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGE LOG 1.0.6.2.txt b/CHANGE LOG 1.0.6.2.txt index fa3c7abe3..b2b1a4ef5 100644 --- a/CHANGE LOG 1.0.6.2.txt +++ b/CHANGE LOG 1.0.6.2.txt @@ -24,6 +24,7 @@ [FIXED] Unable to sell classic 'ItemBloodbag' at traders. @oiad [FIXED] The player building a shed, tent or other unlocked storage was unable to use its gear until relog when DZE_GodModeBase=true; @oiad [FIXED] Death message killer inaccurate when player is caused to bleed by one unit and then killed by a different unit shortly after. @oiad +[FIXED] The DayZ police car can no longer be upgraded to car_sedan_DZE1. #1929 @F507DMT [NOTE] Fixes below are included in the mission file and server pbo as part of server package 1.0.6.1A (March 10th 2017) [FIXED] Fixed food and drink going down 10x faster from melee and other "working" actions. diff --git a/SQF/dayz_code/Configs/CfgVehicles/Car/CAR_SEDAN.hpp b/SQF/dayz_code/Configs/CfgVehicles/Car/CAR_SEDAN.hpp index b12026227..ce715e24b 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Car/CAR_SEDAN.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Car/CAR_SEDAN.hpp @@ -13,6 +13,12 @@ class car_sedan : SkodaBase { }; }; +class policecar: car_sedan { + class Upgrades { + ItemORP[] = {}; + }; +}; + // Performance 1 class car_sedan_DZE1: car_sedan { original = "car_sedan"; diff --git a/Server Files/Battleye/setvariable.txt b/Server Files/Battleye/setvariable.txt index 06376c9f7..59c0ca7a6 100644 --- a/Server Files/Battleye/setvariable.txt +++ b/Server Files/Battleye/setvariable.txt @@ -3,7 +3,7 @@ 5 ^USEC_!=USEC_(BloodQty|infected|injured|inPain|isCardiac|isDead|lowBlood|Sepsis) 5 ^NORRN_ !=NORRN_(LoadVcl|unconscious|unit_dragged) 5 ^bis_ !=bis_greeted(by(evil|languages|people|times)|languages|people|times) !=BIS_noCoreConversations -5 ^hit_ !=hit_(Pelvis|aimpoint|lelbow|relbow|RightFoot|LeftFoot|neck|pilot|hands|svetlo|vez|zbran) !=hit_(hands|legs) !=hit_arms !="hit_(elektronika|engine|fueltank|glass[0-9]+|karoserie|(mala|velka) vrtule|motor|munice|netrup|palivo)" !="hit_(pravy (predni|zadni) tlumic|[lp] svetlo|sklo predni [lp]|svetlo l|wheel_[12]_[1-4]_steering|wheel_[12]_damper)" !=hit_telo !="hit_\?" !="hit_(light_nav_(right|top|left|back)|light_1_(1_dir|1_pos|2_dir|2_pos)|LandLeft|LandRight)" !="hit_(NEmotor|NEtelo|pas_L|pas_P)" +5 ^hit_ !=hit_(Pelvis|aimpoint|lelbow|relbow|RightFoot|LeftFoot|neck|pilot|hands|svetlo|vez|zbran) !=hit_(hands|legs) !=hit_arms !="hit_(elektronika|engine|fueltank|glass[0-9]+|karoserie|(mala|velka) vrtule|motor|munice|netrup|palivo)" !="hit_(pravy (predni|zadni) tlumic|[lp] svetlo|sklo predni [lp]|svetlo l|wheel_[12]_[1-4]_steering|wheel_[12]_damper)" !=hit_telo !="hit_\?" !="hit_(light_nav_(right|top|left|back)|light_1_(1_dir|1_pos|2_dir|2_pos)|LandLeft|LandRight)" !="hit_(NEmotor|NEtelo|pas_L|pas_P)" !="hit_door_(fl|rl|fr|rr)" 1=hit_(Pelvis|aimpoint|lelbow|relbow|RightFoot|LeftFoot|neck|pilot) // Bleeding Limbs (optional) 1=hit_(hands|legs) // Breaking Limbs (optional) 1 USEC_