From 34c2c7163e4ba843e80f0c5c52e362788faa1258 Mon Sep 17 00:00:00 2001 From: AirwavesMan Date: Sun, 15 Nov 2020 11:28:20 +0100 Subject: [PATCH] Add Armored Bus Model made by @Helion4 --- .../CfgServerTrader/Category/Vehicles.hpp | 1 + .../CfgServerTraderZSC/Category/Vehicles.hpp | 1 + .../Configs/CfgVehicles/Car/Ikarus.hpp | 30 +++++++++++++++++++ SQF/dayz_code/stringtable.xml | 4 +++ 4 files changed, 36 insertions(+) diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/Vehicles.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/Vehicles.hpp index 82939478a..894a184e8 100644 --- a/SQF/dayz_code/Configs/CfgServerTrader/Category/Vehicles.hpp +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/Vehicles.hpp @@ -163,6 +163,7 @@ class Category_45 { class Ikarus_DZE {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};}; class Ikarus_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};}; class Ikarus_White_DZE {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};}; + class Ikarus_Armored_DZE {type = "trade_any_vehicle";buy[] = {-2,"ItemGoldBar10oz"};sell[] = {5,"ItemGoldBar10oz"};}; class S1203_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {6,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};}; class S1203_ambulance_EP1_DZE {type = "trade_any_vehicle";buy[] = {6,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};}; class Tractor_DZE {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};}; diff --git a/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Vehicles.hpp b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Vehicles.hpp index deeb2f78d..615d92c6b 100644 --- a/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Vehicles.hpp +++ b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Vehicles.hpp @@ -163,6 +163,7 @@ class Category_45 { class Ikarus_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; class Ikarus_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; class Ikarus_White_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class Ikarus_Armored_DZE {type = "trade_any_vehicle";buy[] = {-2000,"worth"};sell[] = {5000,"worth"};}; class S1203_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {600,"worth"};sell[] = {300,"worth"};}; class S1203_ambulance_EP1_DZE {type = "trade_any_vehicle";buy[] = {600,"worth"};sell[] = {300,"worth"};}; class Tractor_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; diff --git a/SQF/dayz_code/Configs/CfgVehicles/Car/Ikarus.hpp b/SQF/dayz_code/Configs/CfgVehicles/Car/Ikarus.hpp index 5af566032..4a2d5854d 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Car/Ikarus.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Car/Ikarus.hpp @@ -225,4 +225,34 @@ class Ikarus_White_DZE: Ikarus_DZE { class HitLMWheel: HitLFWheel{}; class HitRMWheel: HitLFWheel{}; }; +}; + +class Ikarus_Armored_DZE: Ikarus_White_DZE +{ + model = "z\addons\dayz_epoch_v\vehicles\citybus\dze_citybus"; + displayName = $STR_VEH_NAME_IKARUS_ARMORED; + maxSpeed = 85; + turnCoef = 1.2; + armor = 100; + transportMaxWeapons = 25; + transportMaxMagazines = 120; + transportmaxbackpacks = 10; + hiddenselections[] = {"camo1"}; + hiddenselectionstextures[]= + { + "z\addons\dayz_epoch_v\vehicles\citybus\data\citybus_ext_co.paa" + }; + class Damage + { + tex[]={}; + mat[]= + { + "z\addons\dayz_epoch_v\vehicles\citybus\data\bus_city_ext.rvmat", + "z\addons\dayz_epoch_v\vehicles\citybus\data\bus_city_ext.rvmat", + "z\addons\dayz_epoch_v\vehicles\citybus\data\bus_city_ext_destruct.rvmat", + "z\addons\dayz_epoch_v\vehicles\citybus\data\bus_city_int.rvmat", + "z\addons\dayz_epoch_v\vehicles\citybus\data\bus_city_int.rvmat", + "z\addons\dayz_epoch_v\vehicles\citybus\data\bus_city_int_destruct.rvmat" + }; + }; }; \ No newline at end of file diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml index 2cee0d158..9e04f64dc 100644 --- a/SQF/dayz_code/stringtable.xml +++ b/SQF/dayz_code/stringtable.xml @@ -8943,6 +8943,10 @@ Bus (Weiß) Автобус (белый) + + Armored Bus + Gepanzerter Bus + Kamaz open (Woodland) Камаз открытый (Лесной камуфляж)