From 8fbe2e0f64c16ada5f950a5f6f194e7a6a1afde1 Mon Sep 17 00:00:00 2001 From: "[VB]AWOL" Date: Mon, 4 Nov 2013 18:01:19 -0600 Subject: [PATCH] more vehicles --- .../Configs/CfgVehicles/LAND/Kamaz.hpp | 28 +++++++++++ .../Configs/CfgVehicles/LAND/Ural.hpp | 48 +++++++++++++++++++ SQF/dayz_code/Configs/cfgVehicles.hpp | 22 +++------ 3 files changed, 82 insertions(+), 16 deletions(-) create mode 100644 SQF/dayz_code/Configs/CfgVehicles/LAND/Kamaz.hpp create mode 100644 SQF/dayz_code/Configs/CfgVehicles/LAND/Ural.hpp diff --git a/SQF/dayz_code/Configs/CfgVehicles/LAND/Kamaz.hpp b/SQF/dayz_code/Configs/CfgVehicles/LAND/Kamaz.hpp new file mode 100644 index 000000000..17ed375e5 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgVehicles/LAND/Kamaz.hpp @@ -0,0 +1,28 @@ +class Kamaz_Base; +class KamazOpen_DZE : Kamaz_Base +{ + // maxSpeed = 80; + // terrainCoef = 2; + + // truck + //transportMaxMagazines = 200; + //transportMaxWeapons = 50; + //transportMaxBackpacks = 8; + + scope = 2; + displayName = "Utility Truck (Open)"; + model = "\ca\wheeled2\Kamaz\Kamaz_Open"; + picture = "\Ca\wheeled2\data\ui\Picture_kamaz_open_CA.paa"; + Icon = "\Ca\wheeled2\data\ui\Icon_kamaz_open_CA.paa"; + castCargoShadow = 1; + + crew = ""; + typicalCargo[] = {}; + class TransportMagazines{}; + class TransportWeapons{}; + + class Library + { + libTextDesc = "The Kamaz is a Russian-made 6x6 cargo truck developed in 1973 and still manufactured today. These trucks are very reliable, with powerful V8 engines.
This one serves for transportation with an open body."; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/LAND/Ural.hpp b/SQF/dayz_code/Configs/CfgVehicles/LAND/Ural.hpp new file mode 100644 index 000000000..dbb4ef330 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgVehicles/LAND/Ural.hpp @@ -0,0 +1,48 @@ +class Ural_Base; +class UralCivil_DZE : Ural_Base +{ + //maxSpeed = 80; + //transportMaxMagazines = 200; + //transportMaxWeapons = 50; + //transportMaxBackpacks = 8; + //terrainCoef = 2.5; + scope = 2; + side = 3; + faction = "CIV"; + displayName = "Ural (Civil)"; + vehicleClass = "Car"; + crew = ""; + typicalCargo[] = {}; + class TransportMagazines{}; + class TransportWeapons{}; + model = "\ca\wheeled\ural"; + picture = "\Ca\wheeled\data\ico\ural_civil1_CA.paa"; + rarityUrban = 0.3; + accuracy = 0.22; + hiddenSelectionsTextures[] = { + "\ca\wheeled\data\ural_kabina_civ1_co.paa", + "\ca\wheeled\data\ural_plachta_civ1_co.paa" + }; +}; +class UralOpen_Base; +class UralCivil2_DZE : UralOpen_Base +{ + // maxSpeed = 80; + displayName = "Ural (Civil 2)"; + model = "\ca\wheeled\Ural_Open"; + accuracy = 0.22; + scope = 2; + side = 3; + faction = "CIV"; + vehicleClass = "Car"; + crew = ""; + typicalCargo[] = {}; + class TransportMagazines{}; + class TransportWeapons{}; + picture = "\Ca\wheeled\data\ico\ural_civil1_CA.paa"; + rarityUrban = 0.22; + hiddenSelectionsTextures[] = { + "\ca\wheeled\data\ural_kabina_civ2_co.paa", + "\ca\wheeled\data\ural_korba_civ2_co.paa" + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/cfgVehicles.hpp b/SQF/dayz_code/Configs/cfgVehicles.hpp index cea2170e4..b67672381 100644 --- a/SQF/dayz_code/Configs/cfgVehicles.hpp +++ b/SQF/dayz_code/Configs/cfgVehicles.hpp @@ -438,6 +438,11 @@ class CfgVehicles { #include "CfgVehicles\LAND\ArmoredSUV.hpp" #include "CfgVehicles\LAND\Pickup_PK.hpp" #include "CfgVehicles\LAND\Offroad_DSHKM.hpp" + + #include "CfgVehicles\LAND\V3S.hpp" + #include "CfgVehicles\LAND\Ural.hpp" + #include "CfgVehicles\LAND\Kamaz.hpp" + #include "CfgVehicles\LAND\Volha.hpp" // SEA // #include "CfgVehicles\SEA\RHIB.hpp" @@ -505,18 +510,7 @@ class CfgVehicles { side = 0; typicalcargo[] = {}; }; - class V3S_Base; - class V3S_Civ: V3S_Base { - crew = ""; - faction = "CIV"; - rarityurban = 0.3; - scope = 2; - side = 3; - typicalcargo[] = {}; - class Library { - libtextdesc = "The V3S is a Czech-made military 6x6 cargo truck capable of carrying cargo up to 5 tons, or up to 3 tons in rough terrain.
This one is a harmless civilian vehicle."; - }; - }; + class SkodaBase; class car_hatchback: SkodaBase { armorcrash0[] = {"Ca\sounds\Vehicles\Crash\crash_vehicle_01", 0.707946, 1, 200}; @@ -1507,10 +1501,6 @@ class CfgVehicles { transportFuel = 0; fuelCapacity = 10000; }; - - // Vehicle Upgrades - #include "CfgVehicles\LAND\Volha.hpp" - //class NonStrategic; class BuiltItems: NonStrategic{};