|
![]() |
#26 |
Местный
|
![]()
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) fieldsfirst ansi // Source File Name: YAK_9UT.java package com.maddox.il2.objects.air; import com.maddox.il2.engine.HierMesh; import com.maddox.il2.fm.*; import com.maddox.rts.Property; // Referenced classes of package com.maddox.il2.objects.air: // YAK, PaintSchemeFMPar04, TypeBNZFighter, NetAircraft, // Aircraft public class YAK_9UT extends YAK implements TypeBNZFighter { /*synthetic*/ static Class class$com$maddox$il2$objects$air$YAK_9UT; /*synthetic*/ static Class class$com$maddox$il2$objects$air$CockpitYAK_9U; public static void moveGear(HierMesh hiermesh, float f) { float f_0_ = Math.max(-f * 1500.0F, -80.0F); hiermesh.chunkSetAngles("GearC3_D0", 0.0F, f_0_, 0.0F); hiermesh.chunkSetAngles("GearC4_D0", 0.0F, f_0_, 0.0F); hiermesh.chunkSetAngles("GearC2_D0", 0.0F, 80.0F * f, 0.0F); f_0_ = Math.max(-f * 1500.0F, -60.0F); hiermesh.chunkSetAngles("GearL4_D0", 0.0F, f_0_, 0.0F); hiermesh.chunkSetAngles("GearR4_D0", 0.0F, f_0_, 0.0F); hiermesh.chunkSetAngles("GearL2_D0", 0.0F, 82.5F * f, 0.0F); hiermesh.chunkSetAngles("GearR2_D0", 0.0F, 82.5F * f, 0.0F); hiermesh.chunkSetAngles("GearL3_D0", 0.0F, -85.0F * f, 0.0F); hiermesh.chunkSetAngles("GearR3_D0", 0.0F, -85.0F * f, 0.0F); } protected void moveGear(float f) { moveGear(hierMesh(), f); } public void moveSteering(float f) { /* empty */ } public void update(float f) { hierMesh().chunkSetAngles("OilRad_D0", 0.0F, (FM.EI.engines[0].getControlRadiator() * 15.0F), 0.0F); hierMesh().chunkSetAngles("Water_luk", 0.0F, (FM.EI.engines[0].getControlRadiator() * 12.0F), 0.0F); super.update(f); } /*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 _mthclass$(String s) { return Class.forName(s); ClassNotFoundException classnotfoundexception; classnotfoundexception; throw new NoClassDefFoundError(classnotfoundexception.getMes sage()); } static { Class class1 = com.maddox.il2.objects.air.YAK_9UT.class; new NetAircraft.SPAWN(class1); Property.set(class1, "iconFar_shortClassName", "Yak"); Property.set(class1, "meshName", "3DO/Plane/Yak-9UT(Multi1)/hier.him"); Property.set(class1, "PaintScheme", new PaintSchemeFMPar04()); Property.set(class1, "yearService", 1945F); Property.set(class1, "yearExpired", 1952.8F); Property.set(class1, "FlightModel", "FlightModels/Yak-9UT.fmd"); Property.set(class1, "cockpitClass", com.maddox.il2.objects.air.CockpitYAK_9U.class); Property.set(class1, "LOSElevation", 0.6432F); Aircraft.weaponTriggersRegister(class1, new int[] { 0, 0, 1 }); Aircraft.weaponHooksRegister(class1, new String[] { "_MGUN01", "_MGUN02", "_CANNON01" }); Aircraft.weaponsRegister(class1, "default", new String[] { "MGunShVAKsi 120", "MGunShVAKsi 120", "MGunSh37ki 30" }); Aircraft.weaponsRegister(class1, "none", new String[] { null, null, null }); } } где тут ошибка? делал как описывали части заменял 1 осталась помогите исправить. |
![]() |
![]() |
Здесь присутствуют: 1 (пользователей: 0 , гостей: 1) | |
|
|