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:
icomrade
2016-08-26 15:21:03 -04:00
parent ae329db599
commit 95310b9000
4 changed files with 158 additions and 6 deletions

View File

@@ -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
{