Для А-6 не просто такие же циферки, а именно точно эти.
/* FW_190A5 - Decompiled by JODE
* Visit
http://jode.sourceforge.net/ */
package com.maddox.il2.objects.air;
import com.maddox.il2.engine.HierMesh;
import com.maddox.il2.objects.weapons.GunEmpty;
import com.maddox.rts.Property;
public class FW_190A5 extends FW_190
{
/*synthetic*/ static Class class$com$maddox$il2$objects$air$FW_190A5;
/*synthetic*/ static Class class$com$maddox$il2$objects$air$CockpitFW_190A5;
public void onAircraftLoaded() {
super.onAircraftLoaded();
if (getGunByHookName("_MGUN01") instanceof GunEmpty) {
hierMesh().chunkVisible("7mmC_D0", false);
hierMesh().chunkVisible("7mmCowl_D0", true);
}
if (getGunByHookName("_CANNON03") instanceof GunEmpty)
hierMesh().chunkVisible("20mmL_D0", false);
if (getGunByHookName("_CANNON04") instanceof GunEmpty)
hierMesh().chunkVisible("20mmR_D0", false);
if (!(getGunByHookName("_ExternalDev05") instanceof GunEmpty)) {
hierMesh().chunkVisible("Flap01_D0", false);
hierMesh().chunkVisible("Flap01Holed_D0", true);
}
if (!(getGunByHookName("_ExternalDev06") instanceof GunEmpty)) {
hierMesh().chunkVisible("Flap04_D0", false);
hierMesh().chunkVisible("Flap04Holed_D0", true);
}
}
public static void moveGear(HierMesh hiermesh, float f) {
hiermesh.chunkSetAngles("GearL2_D0", 0.0F, 77.0F * f, 0.0F);
hiermesh.chunkSetAngles("GearR2_D0", 0.0F, 77.0F * f, 0.0F);
hiermesh.chunkSetAngles("GearL3_D0", 0.0F, 157.0F * f, 0.0F);
hiermesh.chunkSetAngles("GearR3_D0", 0.0F, 157.0F * f, 0.0F);
hiermesh.chunkSetAngles("GearC99_D0", 20.0F * f, 0.0F, 0.0F);
hiermesh.chunkSetAngles("GearC2_D0", 0.0F, 0.0F, 0.0F);
float f_0_ = Math.max(-f * 1500.0F, -94.0F);
hiermesh.chunkSetAngles("GearL5_D0", 0.0F, -f_0_, 0.0F);
hiermesh.chunkSetAngles("GearR5_D0", 0.0F, -f_0_, 0.0F);
}
protected void moveGear(float f) {
moveGear(hierMesh(), f);
}
public void moveSteering(float f) {
if (!(FM.CT.getGear() < 0.98F))
hierMesh().chunkSetAngles("GearC2_D0", 0.0F, -f, 0.0F);
}
/*synthetic*/ static Class class$(String string) {
Class var_class;
try {
var_class = Class.forName(string);
} catch (ClassNotFoundException classnotfoundexception) {
throw new NoClassDefFoundError(classnotfoundexception
.getMessage());
}
return var_class;
}
static {
Class var_class = (class$com$maddox$il2$objects$air$FW_190A5 == null
? (class$com$maddox$il2$objects$air$FW_190A5
= class$("com.maddox.il2.objects.air.FW_190A5"))
: class$com$maddox$il2$objects$air$FW_190A5);
new NetAircraft.SPAWN(var_class);
Property.set(var_class, "iconFar_shortClassName", "FW190");
Property.set(var_class, "meshName",
"3DO/Plane/Fw-190A-5
(Beta)/hier.him");
- высокие стандарты разработки от МГ Property.set(var_class, "PaintScheme", new PaintSchemeFMPar01());
Property.set(var_class, "yearService", 1943.1F);
Property.set(var_class, "yearExpired", 1948.0F);
Property.set(var_class, "FlightModel", "
FlightModels/Fw-190A-5.fmd");
Property.set
(var_class, "cockpitClass",
((Object)
(class$com$maddox$il2$objects$air$CockpitFW_190A5 == null
? (class$com$maddox$il2$objects$air$CockpitFW_190A5
= class$("com.maddox.il2.objects.air.CockpitFW_190A5"))
: class$com$maddox$il2$objects$air$CockpitFW_190A5)));
Property.set(var_class, "LOSElevation", 0.764106F);
weaponTriggersRegister(var_class,
new int[] { 0, 0, 0, 0, 1, 1, 9, 9, 9, 9, 9, 9,
2, 2, 9, 9, 3, 3, 3, 3, 9, 9, 3 });
weaponHooksRegister(var_class,
(new String[]
{ "_MGUN01", "_MGUN02", "_CANNON01", "_CANNON02",
"_CANNON03", "_CANNON04", "_ExternalDev03",
"_ExternalDev04", "_ExternalDev05",
"_ExternalDev06", "_ExternalDev07",
"_ExternalDev08", "_ExternalRock01",
"_ExternalRock02", "_ExternalDev09",
"_ExternalDev10", "_ExternalBomb01",
"_ExternalBomb02", "_ExternalBomb03",
"_ExternalBomb04", "_ExternalDev01",
"_ExternalDev02", "_ExternalBomb05" }));
weaponsRegister(var_class, "default",
(new String[]
{ "MGunMG17si 1000", "MGunMG17si 1000",
"MGunMG15120MGs 250", "MGunMG15120MGs 250",
"MGunMGFFkih 60", "MGunMGFFkih 60", null, null,
null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null }));
weaponsRegister(var_class, "u22tank",
new String[] { null, null, "MGunMG15120MGs 250",
"MGunMG15120MGs 250", null, null,
"PylonETC250", "PylonETC250",
"FuelTankGun_Type_D",
"FuelTankGun_Type_D", null, null, null,
null, null, null, null, null, null,
null, "PylonETC501FW190", null, null });
weaponsRegister(var_class, "u21sc2502tank",
(new String[]
{ null, null, "MGunMG15120MGs 250",
"MGunMG15120MGs 250", null, null, "PylonETC250",
"PylonETC250", "FuelTankGun_Type_D",
"FuelTankGun_Type_D", null, null, null, null, null,
null, null, null, null, null, "PylonETC501FW190",
null, "BombGunSC250" }));
weaponsRegister(var_class, "u3",
new String[] { "MGunMG17si 1000", "MGunMG17si 1000",
"MGunMG15120MGs 250",
"MGunMG15120MGs 250", null, null, null,
null, null, null, null, null, null,
null, null, null, null, null, null,
null, "PylonETC501FW190", null, null });
weaponsRegister(var_class, "u31sc250",
(new String[]
{ "MGunMG17si 1000", "MGunMG17si 1000",
"MGunMG15120MGs 250", "MGunMG15120MGs 250", null,
null, null, null, null, null, null, null, null,
null, "PylonETC71", "PylonETC71", null, null, null,
null, "PylonETC501FW190", null, "BombGunSC250" }));
weaponsRegister(var_class, "u31ab250",
(new String[]
{ "MGunMG17si 1000", "MGunMG17si 1000",
"MGunMG15120MGs 250", "MGunMG15120MGs 250", null,
null, null, null, null, null, null, null, null,
null, "PylonETC71", "PylonETC71", null, null, null,
null, "PylonETC501FW190", null, "BombGunAB250" }));
weaponsRegister(var_class, "u31sc500",
(new String[]
{ "MGunMG17si 1000", "MGunMG17si 1000",
"MGunMG15120MGs 250", "MGunMG15120MGs 250", null,
null, null, null, null, null, null, null, null,
null, "PylonETC71", "PylonETC71", null, null, null,
null, "PylonETC501FW190", null, "BombGunSC500" }));
weaponsRegister(var_class, "u31ab500",
(new String[]
{ "MGunMG17si 1000", "MGunMG17si 1000",
"MGunMG15120MGs 250", "MGunMG15120MGs 250", null,
null, null, null, null, null, null, null, null,
null, "PylonETC71", "PylonETC71", null, null, null,
null, "PylonETC501FW190", null, "BombGunAB500" }));
weaponsRegister(var_class, "u31sc2504sc50",
(new String[]
{ "MGunMG17si 1000", "MGunMG17si 1000",
"MGunMG15120MGs 250", "MGunMG15120MGs 250", null,
null, null, null, null, null, null, null, null,
null, "PylonETC71", "PylonETC71", "BombGunSC50",
"BombGunSC50", "BombGunSC50", "BombGunSC50",
"PylonETC501FW190", null, "BombGunSC250" }));
weaponsRegister(var_class, "u31ab2504sc50",
(new String[]
{ "MGunMG17si 1000", "MGunMG17si 1000",
"MGunMG15120MGs 250", "MGunMG15120MGs 250", null,
null, null, null, null, null, null, null, null,
null, "PylonETC71", "PylonETC71", "BombGunSC50",
"BombGunSC50", "BombGunSC50", "BombGunSC50",
"PylonETC501FW190", null, "BombGunAB250" }));
weaponsRegister(var_class, "u82tank",
new String[] { null, null, "MGunMG15120MGs 250",
"MGunMG15120MGs 250", null, null,
"PylonETC250", "PylonETC250",
"FuelTankGun_Type_D",
"FuelTankGun_Type_D", null, null, null,
null, null, null, null, null, null,
null, "PylonETC501FW190", null, null });
weaponsRegister(var_class, "u81sc5002tank",
(new String[]
{ null, null, "MGunMG15120MGs 250",
"MGunMG15120MGs 250", null, null, "PylonETC250",
"PylonETC250", "FuelTankGun_Type_D",
"FuelTankGun_Type_D", null, null, null, null, null,
null, null, null, null, null, "PylonETC501FW190",
null, "BombGunSC500" }));
weaponsRegister(var_class, "u81ab5002tank",
(new String[]
{ null, null, "MGunMG15120MGs 250",
"MGunMG15120MGs 250", null, null, "PylonETC250",
"PylonETC250", "FuelTankGun_Type_D",
"FuelTankGun_Type_D", null, null, null, null, null,
null, null, null, null, null, "PylonETC501FW190",
null, "BombGunAB500" }));
weaponsRegister(var_class, "u171sc5004sc50",
(new String[]
{ "MGunMG17si 1000", "MGunMG17si 1000",
"MGunMG15120MGs 250", "MGunMG15120MGs 250", null,
null, null, null, null, null, null, null, null,
null, "PylonETC71", "PylonETC71", "BombGunSC50",
"BombGunSC50", "BombGunSC50", "BombGunSC50",
"PylonETC501FW190", null, "BombGunSC500" }));
weaponsRegister(var_class, "r11tank",
(new String[]
{ "MGunMG17si 1000", "MGunMG17si 1000",
"MGunMG15120MGs 250", "MGunMG15120MGs 250",
"MGunMGFFkih 60", "MGunMGFFkih 60", null, null,
null, null, null, null, null, null, null, null,
null, null, null, null, "PylonETC501FW190",
"FuelTankGun_Type_D", null }));
weaponsRegister(var_class, "r11sc500",
(new String[]
{ "MGunMG17si 1000", "MGunMG17si 1000",
"MGunMG15120MGs 250", "MGunMG15120MGs 250",
"MGunMGFFkih 60", "MGunMGFFkih 60", null, null,
null, null, null, null, null, null, null, null,
null, null, null, null, "PylonETC501FW190", null,
"BombGunSC500" }));
weaponsRegister(var_class, "r11ab500",
(new String[]
{ "MGunMG17si 1000", "MGunMG17si 1000",
"MGunMG15120MGs 250", "MGunMG15120MGs 250",
"MGunMGFFkih 60", "MGunMGFFkih 60", null, null,
null, null, null, null, null, null, null, null,
null, null, null, null, "PylonETC501FW190", null,
"BombGunAB500" }));
weaponsRegister(var_class, "r6wfrgr21",
(new String[]
{ "MGunMG17si 1000", "MGunMG17si 1000",
"MGunMG15120MGs 250", "MGunMG15120MGs 250",
"MGunMGFFkih 60", "MGunMGFFkih 60", null, null,
null, null, "PylonRO_WfrGr21", "PylonRO_WfrGr21",
"RocketGunWfrGr21", "RocketGunWfrGr21", null, null,
null, null, null, null, null, null, null }));
weaponsRegister(var_class, "none",
new String[] { null, null, null, null, null, null,
null, null, null, null, null, null,
null, null, null, null, null, null,
null, null, null, null, null });
}
}