Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgVehicles/Car/Gaz_Vodnik.hpp
A Man d9b9874532 Change scope and type of configs from name to numbers
This got discussed earlier. Since epoch got merged with DayZ Mod we have a different name for the scope and type of configs.  A proper config should use numbers for those entries. This is the same how arma configs are written.  The basicDefines.hpp has all the needed information stored.

Also, this removes the weight entries from the magazines since we have them in a separate folder, so admins can edit them.
2020-05-29 02:04:06 +02:00

202 lines
4.7 KiB
C++

class GAZ_Vodnik_HMG;
class GAZ_Vodnik_HMG_DZ : GAZ_Vodnik_HMG {
scope = 2;
displayname = $STR_VEH_NAME_VODNIK_BPPU;
vehicleClass = "DayZ Epoch Vehicles";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
class Turrets;
class NewTurret;
commanderCanSee = 2+16+32;
gunnerCanSee = 2+16+32;
driverCanSee = 2+16+32;
transportMaxWeapons = 15;
transportMaxMagazines = 70;
transportmaxbackpacks = 4;
enableGPS = 0;
supplyRadius = 1.8;
crewVulnerable = 1;
};
class GAZ_Vodnik_HMG_DZE : GAZ_Vodnik_HMG_DZ {
class Turrets: Turrets {
class MainTurret: NewTurret
{
outGunnerMayFire = 1;
minElev = -8;
maxElev = 40;
minTurn = -180;
maxTurn = 180;
initTurn = 0;
gunBeg = "muzzle_1";
gunEnd = "chamber_1";
memoryPointGun = "machinegun";
weapons[] = {"2A42","PKTBC","SmokeLauncher"};
magazines[] = {"SmokeLauncherMag","SmokeLauncherMag","SmokeLauncherMag"};
gunnerOutOpticsShowCursor = 0;
gunnerOpticsShowCursor = 0;
gunnerAction = "GAZ_Gunner";
gunnerInAction = "GAZ_Gunner";
primaryGunner = 1;
forceHideGunner = 1;
gunnerOpticsModel = "\ca\weapons\2Dscope_BMPgun";
gunnerForceOptics = 1;
discreteDistance[] = {100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800};
discreteDistanceInitIndex = 5;
gunnerGetInAction = "GetInLow";
gunnerGetOutAction = "GetOutLow";
turretInfoType = "RscWeaponRangeZeroing";
class ViewOptics
{
initAngleX = 5;
minAngleX = -30;
maxAngleX = 30;
initAngleY = 0;
minAngleY = 0;
maxAngleY = 0;
initFov = 0.2;
maxFov = 0.2;
minFov = 0.057999998;
};
soundServo[] = {"\ca\wheeled\Data\Sound\servo4",0.0056234132,1.0,15};
startEngine = 1;
class HitPoints
{
class HitTurret
{
armor = 0.8;
material = -1;
name = "vez";
visual = "vez";
passThrough = 0.5;
};
class HitGun
{
armor = 0.4;
material = -1;
name = "zbran";
visual = "zbran";
passThrough = 0.1;
};
};
};
};
};
class GAZ_Vodnik;
class GAZ_Vodnik_DZ : GAZ_Vodnik {
scope = 2;
displayname = $STR_VEH_NAME_VODNIK_PKT;
vehicleClass = "DayZ Epoch Vehicles";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
class Turrets;
class MainTurret;
class BackTurret;
transportMaxWeapons = 15;
transportMaxMagazines = 70;
transportmaxbackpacks = 4;
enableGPS = 0;
supplyRadius = 1.8;
crewVulnerable = 1;
};
class GAZ_Vodnik_DZE : GAZ_Vodnik_DZ
{
class Turrets: Turrets
{
class MainTurret: MainTurret
{
minElev = -25;
maxElev = 60;
minTurn = -90;
maxTurn = 90;
gunnerName = "$STR_POSITION_FRONTGUNNER";
weapons[] = {"PKTBC"};
magazines[] = {};
soundServo[] = {};
viewGunnerInExternal = 1;
castGunnerShadow = 1;
gunnerForceOptics = 0;
gunnerOpticsModel = "\ca\weapons\optika_empty";
LODTurnedOut = 1000;
LODTurnedIn = 1000;
forceHideGunner = 0;
primaryGunner = 0;
discreteDistance[] = {100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500};
discreteDistanceInitIndex = 2;
initElev = 0;
stabilizedInAxes = "StabilizedInAxesNone";
primaryObserver = 1;
turretInfoType = "RscWeaponZeroing";
class ViewOptics
{
initAngleX = 0;
minAngleX = -30;
maxAngleX = 30;
initAngleY = 0;
minAngleY = -100;
maxAngleY = 100;
initFov = 0.7;
minFov = 0.25;
maxFov = 1.1;
};
class ViewGunner
{
initAngleX = 5;
minAngleX = -65;
maxAngleX = 85;
initAngleY = 0;
minAngleY = -150;
maxAngleY = 150;
initFov = 0.7;
minFov = 0.25;
maxFov = 1.1;
};
startEngine = 0;
};
class BackTurret: MainTurret
{
body = "turret_2";
gun = "gun_2";
weapons[] = {"PKTBC_2"};
animationSourceBody = "turret_2";
animationSourceGun = "gun_2";
selectionFireAnim = "zasleh2";
proxyIndex = 2;
gunnerName = "$STR_POSITION_REARGUNNER";
forceHideGunner = 0;
commanding = 2;
primaryGunner = 1;
primaryObserver = 0;
minTurn = 90;
maxTurn = 270;
initTurn = 180;
stabilizedInAxes = "StabilizedInAxesNone";
gunBeg = "muzzle_2";
gunEnd = "chamber_2";
memoryPointGun = "machinegun2";
memoryPointGunnerOptics = "gunnerview2";
startEngine = 0;
};
};
};
class GAZ_Vodnik_MedEvac;
class GAZ_Vodnik_MedEvac_DZE : GAZ_Vodnik_MedEvac {
crewVulnerable = 1;
displayname = "$STR_DN_GAZ_VODNIK_MEDEVAC";
vehicleClass = "DayZ Epoch Vehicles";
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
transportMaxWeapons = 15;
transportMaxMagazines = 70;
transportmaxbackpacks = 4;
attendant = 0;
enableGPS = 0;
supplyRadius = 1.8;
};