AviaSkins.Forums

Вернуться   AviaSkins.Forums > Основные разделы > Моды для Ил-2

Важная информация

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 05.05.2008, 20:39   #26
Novichok8
Местный
 
Регистрация: 24.12.2007
Адрес: Россия(СССР)
Сообщений: 987
Отправить сообщение для Novichok8 с помощью ICQ Отправить сообщение для Novichok8 с помощью Skype™
По умолчанию

// 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 осталась помогите исправить.
Novichok8 вне форума   Ответить с цитированием
 


Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
 

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Текущее время: 03:12. Часовой пояс GMT +3.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd. Перевод: zCarot
Рейтинг@Mail.ru