mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Re-add observer to UH1Y and AH6X
This fixes config errors for unknown animation sources for both vehicles. The turrets do not have thermal capabilities and this restores the missing co-pilot/observer seat in the UH1Y. Also I can't seem to get the turret on the AH6X to rotate, but if someone knows how please leave a comment or commit the changes. there's currently no overlay for the observer of the AH6X since it can't move I feel it's limited enough without an overlay like the UH1Y.
This commit is contained in:
@@ -105,6 +105,7 @@
|
||||
[FIXED] Fix some items not displaying removal option #1135 @icomrade
|
||||
[FIXED] Study body message saying his/he on female players. @ebaydayz
|
||||
[FIXED] Destroyed objects (i.e. ore veins, ammo crates and wrecked buildables) are now deleted globally after being removed. #1730 @icomrade
|
||||
[FIXED] UH1Y and AH6X unkown animation source RPT errors, and added back observer seats to AH6X and UH1Y without thermal imaging. @icomrade
|
||||
|
||||
[UPDATED] .hpp files updated in dayz_code\Configs\CfgLoot\CfgBuildingPos. @Uro1
|
||||
[UPDATED] .bat files updated in Config-Examples @Raziel23x
|
||||
|
||||
@@ -389,6 +389,7 @@ class CfgVehicles {
|
||||
//class UAZ_Unarmed_Base;
|
||||
//class HMMWV_Base;
|
||||
class AH6_Base_EP1;
|
||||
class AH6X_EP1;
|
||||
class An2_Base_EP1;
|
||||
class TT650_Base;
|
||||
class V3S_Base;
|
||||
|
||||
@@ -48,7 +48,7 @@ class AH6J_EP1_DZE: AH6J_EP1_DZ
|
||||
displayName = "AH6J_DZE";
|
||||
magazines[] = {"60Rnd_CMFlareMagazine"};
|
||||
};
|
||||
class AH6X_DZ: AH6_Base_EP1 {
|
||||
class AH6X_DZ: AH6X_EP1 {
|
||||
displayname = $STR_VEH_NAME_AH6X;
|
||||
displaynameshort = $STR_EP1_DN_AH6X;
|
||||
audible = 6;
|
||||
@@ -75,7 +75,62 @@ class AH6X_DZ: AH6_Base_EP1 {
|
||||
transportMaxMagazines = 30;
|
||||
transportmaxbackpacks = 2;
|
||||
fuelCapacity = 242;
|
||||
class Turrets {};
|
||||
transportSoldier = 0;
|
||||
memoryPointsGetInGunner = "pos_cargo";
|
||||
memoryPointsGetInGunnerDir = "pos_cargo_dir";
|
||||
class NewTurret;
|
||||
class Turrets
|
||||
{
|
||||
class ObserverTurret: NewTurret
|
||||
{
|
||||
ProxyType = CPCargo;
|
||||
proxyIndex = 1;
|
||||
startEngine = 0;
|
||||
hasgunner = 1;
|
||||
body = "FLIR_turret";
|
||||
gun = "FLIR_gun";
|
||||
animationSourceBody = "FLIR_turret";
|
||||
animationSourceGun = "FLIR_gun";
|
||||
gunBeg = "FLIR_end";
|
||||
gunEnd = "FLIR_begin";
|
||||
memoryPointGun = "FLIR_end";
|
||||
turretAxis = "FLIR_turret_axis";
|
||||
gunAxis = "FLIR_gun_axis";
|
||||
commanding = -1;
|
||||
class Viewoptics
|
||||
{
|
||||
initAngleX = 0;
|
||||
minAngleX = -30;
|
||||
maxAngleX = 30;
|
||||
initAngleY = 0;
|
||||
minAngleY = -100;
|
||||
maxAngleY = 100;
|
||||
minFov = 0.01;
|
||||
initFov = 0.50;
|
||||
maxFov = 0.80;
|
||||
visionMode[] = {"Normal","NVG"};
|
||||
thermalMode[] = {};
|
||||
};
|
||||
gunnerAction = "AH6j_Cargo_EP1";
|
||||
gunnerOpticsModel = "\ca\weapons\2Dscope_UAV.p3d";
|
||||
memoryPointGunnerOptics = "gunnerview";
|
||||
//gunnerOpticsModel = "\ca\weapons\optika_SOFLAM";
|
||||
soundServo[] = {"",0.01,1};
|
||||
gunnerForceOptics = 0;
|
||||
gunnerGetInAction = "GetInLow";
|
||||
gunnerGetOutAction = "GetOutLow";
|
||||
gunnerName = "Observer";
|
||||
animationSourceHatch = "";
|
||||
minElev = -90;
|
||||
maxElev = 60;
|
||||
initElev = 0;
|
||||
minTurn = -360;
|
||||
maxTurn = 360;
|
||||
initTurn = 0;
|
||||
weapons[] = {};
|
||||
magazines[] = {};
|
||||
};
|
||||
};
|
||||
class DefaultEventhandlers;
|
||||
class EventHandlers: DefaultEventhandlers
|
||||
{
|
||||
|
||||
@@ -28,22 +28,117 @@ class UH1Y_DZ: UH1_Base {
|
||||
weapons[] = {};
|
||||
magazines[] = {};
|
||||
fuelCapacity = 1333;
|
||||
class Turrets : Turrets {
|
||||
class Turrets: Turrets
|
||||
{
|
||||
class MainTurret: MainTurret
|
||||
{
|
||||
gunnerOpticsModel = "\ca\weapons\optika_SOFLAM";
|
||||
magazines[] = {"2000Rnd_762x51_M134"};
|
||||
};
|
||||
class RightDoorGun: RightDoorGun
|
||||
{
|
||||
gunnerOpticsModel = "\ca\weapons\optika_SOFLAM";
|
||||
visionMode[] = {"Normal","NVG"};
|
||||
magazines[] = {"2000Rnd_762x51_M134"};
|
||||
};
|
||||
class CoPilotObs: CoPilotObs
|
||||
{
|
||||
class OpticsIn
|
||||
{
|
||||
class Wide
|
||||
{
|
||||
opticsDisplayName = "W";
|
||||
initAngleX = 0;
|
||||
minAngleX = -30;
|
||||
maxAngleX = 30;
|
||||
initAngleY = 0;
|
||||
minAngleY = -100;
|
||||
maxAngleY = 100;
|
||||
initFov = 0.466;
|
||||
minFov = 0.466;
|
||||
maxFov = 0.466;
|
||||
visionMode[] = {"Normal","NVG"};
|
||||
thermalMode[] = {};
|
||||
gunnerOpticsModel = "\ca\weapons\optika_SOFLAM";
|
||||
};
|
||||
class Medium: Wide
|
||||
{
|
||||
opticsDisplayName = "M";
|
||||
initFov = 0.093;
|
||||
minFov = 0.093;
|
||||
maxFov = 0.093;
|
||||
gunnerOpticsModel = "\ca\weapons\optika_SOFLAM";
|
||||
};
|
||||
class Narrow: Wide
|
||||
{
|
||||
opticsDisplayName = "N";
|
||||
gunnerOpticsModel = "\ca\weapons\optika_SOFLAM";
|
||||
initFov = 0.029;
|
||||
minFov = 0.029;
|
||||
maxFov = 0.029;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
/*class Turrets : Turrets {
|
||||
class MainTurret : MainTurret {
|
||||
magazines[] = {"2000Rnd_762x51_M134"};
|
||||
};
|
||||
class RightDoorGun : RightDoorGun {
|
||||
magazines[] = {"2000Rnd_762x51_M134"};
|
||||
};
|
||||
};
|
||||
};*/
|
||||
};
|
||||
class UH1Y_DZE: UH1Y_DZ {
|
||||
class Turrets : Turrets {
|
||||
class MainTurret : MainTurret {
|
||||
class MainTurret: MainTurret
|
||||
{
|
||||
gunnerOpticsModel = "\ca\weapons\optika_SOFLAM";
|
||||
magazines[] = {};
|
||||
};
|
||||
class RightDoorGun : RightDoorGun {
|
||||
class RightDoorGun: RightDoorGun
|
||||
{
|
||||
gunnerOpticsModel = "\ca\weapons\optika_SOFLAM";
|
||||
visionMode[] = {"Normal","NVG"};
|
||||
magazines[] = {};
|
||||
};
|
||||
class CoPilotObs: CoPilotObs
|
||||
{
|
||||
class OpticsIn
|
||||
{
|
||||
class Wide
|
||||
{
|
||||
opticsDisplayName = "W";
|
||||
initAngleX = 0;
|
||||
minAngleX = -30;
|
||||
maxAngleX = 30;
|
||||
initAngleY = 0;
|
||||
minAngleY = -100;
|
||||
maxAngleY = 100;
|
||||
initFov = 0.466;
|
||||
minFov = 0.466;
|
||||
maxFov = 0.466;
|
||||
visionMode[] = {"Normal","NVG"};
|
||||
thermalMode[] = {};
|
||||
gunnerOpticsModel = "\ca\weapons\optika_SOFLAM";
|
||||
};
|
||||
class Medium: Wide
|
||||
{
|
||||
opticsDisplayName = "M";
|
||||
initFov = 0.093;
|
||||
minFov = 0.093;
|
||||
maxFov = 0.093;
|
||||
gunnerOpticsModel = "\ca\weapons\optika_SOFLAM";
|
||||
};
|
||||
class Narrow: Wide
|
||||
{
|
||||
opticsDisplayName = "N";
|
||||
gunnerOpticsModel = "\ca\weapons\optika_SOFLAM";
|
||||
initFov = 0.029;
|
||||
minFov = 0.029;
|
||||
maxFov = 0.029;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user