AviaSkins.Forums

Go Back   AviaSkins.Forums > Основные разделы > Группа разработки AviaSkins.com > W.I.P.
Register FAQ Community Calendar Today's Posts Search

Notices

Reply
 
Thread Tools Search this Thread Display Modes
Old 30.10.2025, 01:30   #1321
carsmaster
Пытающийся полететь
 
carsmaster's Avatar
 
Join Date: 21.05.2009
Location: Сталинград
Posts: 2650
Send a message via ICQ to carsmaster Send a message via Skype™ to carsmaster
Default

Quote:
Originally Posted by Molva View Post
Осталась одна ошибка:
Для 4.12 версии надо писать
public void reflectWorldToInstruments(float f)

Пы Сы сейчас глянул,да и для 4.13.4 тоже метод называется
public void reflectWorldToInstruments(float f)

Видимо Дмитрий по своему метод изменил для своей сборки и оттуда и пришло
public void reflectWorldToInstruments(float delta)
__________________
Даёшь защищенный онлайн и Свободный оффлайн.

Теперь я и в телеграмме: https://t.me/il_2_1946

Last edited by carsmaster : 30.10.2025 at 01:36
carsmaster is offline   Reply With Quote
Old 08.11.2025, 18:56   #1322
Molva
Местный
 
Molva's Avatar
 
Join Date: 06.07.2009
Location: г.Гомель
Posts: 2626
Send a message via ICQ to Molva Send a message via Skype™ to Molva
Default





Attached Thumbnails
Click image for larger version

Name:	2025.11.08.3.jpg
Views:	3105
Size:	9414 KB
ID:	76720   Click image for larger version

Name:	2025.11.08.2.jpg
Views:	3110
Size:	6006 KB
ID:	76721   Click image for larger version

Name:	2025.11.08.1.jpg
Views:	3064
Size:	6180 KB
ID:	76722  
Molva is offline   Reply With Quote
Old 15.11.2025, 15:02   #1323
Molva
Местный
 
Molva's Avatar
 
Join Date: 06.07.2009
Location: г.Гомель
Posts: 2626
Send a message via ICQ to Molva Send a message via Skype™ to Molva
Default

вопрос в следующем.
описываю вооружение в классе. все работает. картинки в предыдущем посте.
Code:
	com.maddox.il2.objects.air.Aircraft.weaponTriggersRegister(class1, new int[] {
            10, 10, 9, 9, 9, 3, 3, 3, 3, 3, 3
        });
        com.maddox.il2.objects.air.Aircraft.weaponHooksRegister(class1, new java.lang.String[] {
            "_MGUN01", "_MGUN02", "_ExternalDev01", "_ExternalDev02", "_ExternalDev03", 
	    "_BombSpawn01", "_BombSpawn02", "_BombSpawn03", "_BombSpawn04", "_BombSpawn05", "_BombSpawn06"
        });
        try
        {
            	java.util.ArrayList arraylist = new ArrayList();
            	com.maddox.rts.Property.set(class1, "weaponsList", arraylist);
            	com.maddox.util.HashMapInt hashmapint = new HashMapInt();
            	com.maddox.rts.Property.set(class1, "weaponsMap", hashmapint);
            	byte byte0 = 11;
            	java.lang.String s = "default";
            	com.maddox.il2.objects.air.Aircraft._WeaponSlot a_lweaponslot[] = new com.maddox.il2.objects.air.Aircraft._WeaponSlot[byte0];
            	a_lweaponslot[0] = new Aircraft._WeaponSlot(10, "MGunDA762t", 1196);
		a_lweaponslot[1] = new Aircraft._WeaponSlot(11, "MGunDA762t", 1196);
		a_lweaponslot[2] = null;
		a_lweaponslot[3] = null;
		a_lweaponslot[4] = null;
		a_lweaponslot[5] = null;
		a_lweaponslot[6] = null;
		a_lweaponslot[7] = null;
		a_lweaponslot[8] = null;
		a_lweaponslot[9] = null;
		a_lweaponslot[10] = null;
                arraylist.add(s);
            	hashmapint.put(com.maddox.rts.Finger.Int(s), a_lweaponslot);

		s = "10xPara";
            	a_lweaponslot = new com.maddox.il2.objects.air.Aircraft._WeaponSlot[byte0];
            	a_lweaponslot[0] = new Aircraft._WeaponSlot(10, "MGunDA762t", 1196);
            	a_lweaponslot[1] = new Aircraft._WeaponSlot(11, "MGunDA762t", 1196);
            	a_lweaponslot[2] = new Aircraft._WeaponSlot(9, "PylonG37DK", 1);    
            	a_lweaponslot[3] = null;                                            
            	a_lweaponslot[4] = null;                                            
            	a_lweaponslot[5] = new Aircraft._WeaponSlot(3, "BombGunPara", 10);  
            	a_lweaponslot[6] = null;                                            
            	a_lweaponslot[7] = null;                                            
            	a_lweaponslot[8] = null;                                            
            	a_lweaponslot[9] = null;                                            
            	a_lweaponslot[10] = null;                                           
                arraylist.add(s);
            	hashmapint.put(com.maddox.rts.Finger.Int(s), a_lweaponslot);
            
            	s = "4xFAB250";
            	a_lweaponslot = new com.maddox.il2.objects.air.Aircraft._WeaponSlot[byte0];
                a_lweaponslot[0] = new Aircraft._WeaponSlot(10, "MGunDA762t", 1196);
            	a_lweaponslot[1] = new Aircraft._WeaponSlot(10, "MGunDA762t", 1196);
                a_lweaponslot[2] = null;
		a_lweaponslot[3] = new Aircraft._WeaponSlot(9, "PylonG37_der", 1);
		a_lweaponslot[4] = null;
		a_lweaponslot[5] = null;
		a_lweaponslot[6] = new Aircraft._WeaponSlot(3, "BombGunFAB250", 1);
		a_lweaponslot[7] = new Aircraft._WeaponSlot(3, "BombGunFAB250", 1);
		a_lweaponslot[8] = new Aircraft._WeaponSlot(3, "BombGunFAB250", 1);
		a_lweaponslot[9] = new Aircraft._WeaponSlot(3, "BombGunFAB250", 1);
		a_lweaponslot[10] = null;
                arraylist.add(s);
            	hashmapint.put(com.maddox.rts.Finger.Int(s), a_lweaponslot);

		s = "1xTorp";
            	a_lweaponslot = new com.maddox.il2.objects.air.Aircraft._WeaponSlot[byte0];
            	a_lweaponslot[0] = new Aircraft._WeaponSlot(10, "MGunDA762t", 1196);
            	a_lweaponslot[1] = new Aircraft._WeaponSlot(10, "MGunDA762t", 1196);
                a_lweaponslot[2] = null;
		a_lweaponslot[3] = null;
		a_lweaponslot[4] = new Aircraft._WeaponSlot(9, "PylonG37_T18", 1);
		a_lweaponslot[5] = null;
		a_lweaponslot[6] = null;
		a_lweaponslot[7] = null;
		a_lweaponslot[8] = null;
		a_lweaponslot[9] = null;
		a_lweaponslot[10] = new Aircraft._WeaponSlot(3, "BombGun4536", 1);
                arraylist.add(s);
            	hashmapint.put(com.maddox.rts.Finger.Int(s), a_lweaponslot);

		s = "none";
            	a_lweaponslot = new com.maddox.il2.objects.air.Aircraft._WeaponSlot[byte0];
            	a_lweaponslot[0] = null;
		a_lweaponslot[1] = null;
		a_lweaponslot[2] = null;
		a_lweaponslot[3] = null;
		a_lweaponslot[4] = null;
		a_lweaponslot[5] = null;
		a_lweaponslot[6] = null;
		a_lweaponslot[7] = null;
		a_lweaponslot[8] = null;
		a_lweaponslot[9] = null;
		a_lweaponslot[10] = null;
                arraylist.add(s);
            	hashmapint.put(com.maddox.rts.Finger.Int(s), a_lweaponslot);
        }
        catch(java.lang.Exception exception) { }
    }
описываю вооружение в COD. не работает ничего.
Code:
        Aircraft.weaponTriggersRegister(class1, new int[] {
            10, 10, 9, 9, 9, 3, 3, 3, 3, 3, 3
        });
        Aircraft.weaponHooksRegister(class1, new String[] {
            "_MGUN01", "_MGUN02", "_ExternalDev01", "_ExternalDev02", "_ExternalDev03", "_BombSpawn01", "_BombSpawn02", "_BombSpawn03", 
	    "_BombSpawn04", "_BombSpawn05", "_BombSpawn06"
        });

	Aircraft.weaponsRegister(class1, "default", new String[] {
        "MGunDA762t 1196", "MGunDA762t 1196", null, null, null, null, null, null, null, null, null
	});

	Aircraft.weaponsRegister(class1, "10xPara", new String[] {
        "MGunDA762t 1196", "MGunDA762t 1196", "PylonG37DK 1", null,  null, "BombGunPara 10", null, null, null, null, null     
        });
	
	Aircraft.weaponsRegister(class1, "4xFAB250", new String[] {
        "MGunDA762t 1196", "MGunDA762t 1196", null, "PylonG37_der 1", null, null, "BombGunFAB250 1", "BombGunFAB250 1", "BombGunFAB250 1", "BombGunFAB250 1", null
        });
	
        Aircraft.weaponsRegister(class1, "1xTorp", new String[] {
	"MGunDA762t 1196", "MGunDA762t 1196", null, null, "PylonG37_T18 1", null, null, null, null, null, "BombGun4536 1"
	});

        Aircraft.weaponsRegister(class1, "none", new String[] {	
        null, null, null, null, null, null, null, null, null, null, null
        });
    }
Code:
default,10 MGunDA762t 1196,10 MGunDA762t 1196, , , , , , , , ,
10xPara,10 MGunDA762t 1196,10 MGunDA762t 1196,9 PylonG37DK 1, , ,3 BombGunPara 10, , , , , 
4xFAB250,10 MGunDA762t 1196,10 MGunDA762t 1196, ,9 PylonG37_der 1, , ,3 BombGunFAB250 1,3 BombGunFAB250 1,3 BombGunFAB250 1,3 BombGunFAB250 1,
1xTorp,10 MGunDA762t 1196,10 MGunDA762t 1196, , ,9 PylonG37_T18 1, , , , , ,3 BombGun4536 1
none, , , , , , , , , , ,
что я делаю не так?
Molva is offline   Reply With Quote
Old 15.11.2025, 18:45   #1324
fdelre
Местный
 
Join Date: 13.01.2009
Posts: 210
Default

If you use cod you don't need to add anything after the Aircraft.weaponHooksRegister line

Если вы используете код, вам не нужно ничего добавлять после Aircraft.weaponHooksRegister line
fdelre is offline   Reply With Quote
Old 15.11.2025, 20:34   #1325
Molva
Местный
 
Molva's Avatar
 
Join Date: 06.07.2009
Location: г.Гомель
Posts: 2626
Send a message via ICQ to Molva Send a message via Skype™ to Molva
Default

Спасибо за ответ. Но, увы, не помогло.
Molva is offline   Reply With Quote
Old 15.11.2025, 21:06   #1326
Dimas1999
Местный
 
Dimas1999's Avatar
 
Join Date: 18.11.2015
Posts: 1874
Default

После строки none есть пустая строка?
Dimas1999 is offline   Reply With Quote
Old 15.11.2025, 22:04   #1327
Molva
Местный
 
Molva's Avatar
 
Join Date: 06.07.2009
Location: г.Гомель
Posts: 2626
Send a message via ICQ to Molva Send a message via Skype™ to Molva
Default

Нет.
Molva is offline   Reply With Quote
Old 15.11.2025, 22:19   #1328
Dimas1999
Местный
 
Dimas1999's Avatar
 
Join Date: 18.11.2015
Posts: 1874
Default

Пустая строка в конце нужна. Так же нужен один пробел после запятой в конце, где к хуку не ничего не подвешивается.

Code:
...
none, , , , , , , , , , ,/здесь тоже пробел/
/пустая строка/
Примерно, так.
Code:
default,10 MGunDA762t 1196,10 MGunDA762t 1196, , , , , , , , , 
10xPara,10 MGunDA762t 1196,10 MGunDA762t 1196,9 PylonG37DK 1, , ,3 BombGunPara 10, , , , , 
4xFAB250,10 MGunDA762t 1196,10 MGunDA762t 1196, ,9 PylonG37_der 1, , ,3 BombGunFAB250 1,3 BombGunFAB250 1,3 BombGunFAB250 1,3 BombGunFAB250 1, 
1xTorp,10 MGunDA762t 1196,10 MGunDA762t 1196, , ,9 PylonG37_T18 1, , , , , ,3 BombGun4536 1
none, , , , , , , , , , ,
Dimas1999 is offline   Reply With Quote
Old 15.11.2025, 23:14   #1329
Molva
Местный
 
Molva's Avatar
 
Join Date: 06.07.2009
Location: г.Гомель
Posts: 2626
Send a message via ICQ to Molva Send a message via Skype™ to Molva
Default

Спасибо. Заработало.
Molva is offline   Reply With Quote
Old 16.11.2025, 09:49   #1330
Molva
Местный
 
Molva's Avatar
 
Join Date: 06.07.2009
Location: г.Гомель
Posts: 2626
Send a message via ICQ to Molva Send a message via Skype™ to Molva
Default

Гроховский Г-37 WIP V161125
Добавлено вооружение.
https://disk.yandex.ru/d/9HyVIi6x_ZSvwA
Molva is offline   Reply With Quote
Old 16.11.2025, 10:58   #1331
andrey65
Модератор
 
andrey65's Avatar
 
Join Date: 05.11.2007
Location: Кемеровская область
Posts: 7821
Default

Поставил, вылет на 20%.
Лог прилагаю. У меня БАТ 4.3 на базе 4.12
Attached Files
File Type: rar sturmo.rar (61 KB, 76 views)
andrey65 is online now   Reply With Quote
Old 16.11.2025, 11:25   #1332
andrey65
Модератор
 
andrey65's Avatar
 
Join Date: 05.11.2007
Location: Кемеровская область
Posts: 7821
Default

Поставил точно так же в Базовый модуль Дгенпака 4.1 на базе 4.15.1 - все отлично. Бомбоприцел работает с места второго пилота.
Прицел стрелка немного странный вроде, но все работает.
Причина понятна - мод для версий выше 4.12
Attached Thumbnails
Click image for larger version

Name:	2025.11.16 08-21-49.jpg
Views:	128
Size:	4454 KB
ID:	76731  
andrey65 is online now   Reply With Quote
Old 16.11.2025, 11:46   #1333
Molva
Местный
 
Molva's Avatar
 
Join Date: 06.07.2009
Location: г.Гомель
Posts: 2626
Send a message via ICQ to Molva Send a message via Skype™ to Molva
Default

Quote:
Originally Posted by andrey65 View Post
Прицел стрелка немного странный вроде, но все работает.
Текстуры делать некому, поэтому все странно выглядит.
Molva is offline   Reply With Quote
Old 28.12.2025, 14:56   #1334
Molva
Местный
 
Molva's Avatar
 
Join Date: 06.07.2009
Location: г.Гомель
Posts: 2626
Send a message via ICQ to Molva Send a message via Skype™ to Molva
Default

Гроховский Г-37 WIP V281225.
Добавлено вооружение (FAB100), ожили стрелки в кабине (у второго пилота не работают - нет класса), добавлена статическая модель.



https://disk.yandex.ru/d/WoWbuc3-LGugLw
Attached Thumbnails
Click image for larger version

Name:	2025.12.28.jpg
Views:	1648
Size:	4910 KB
ID:	76804  
Molva is offline   Reply With Quote
Old 28.12.2025, 16:37   #1335
andrey65
Модератор
 
andrey65's Avatar
 
Join Date: 05.11.2007
Location: Кемеровская область
Posts: 7821
Default

Все отлично работает. Проверял в Дгене 4.1
andrey65 is online now   Reply With Quote
Old 28.02.2026, 12:58   #1336
Molva
Местный
 
Molva's Avatar
 
Join Date: 06.07.2009
Location: г.Гомель
Posts: 2626
Send a message via ICQ to Molva Send a message via Skype™ to Molva
Default

SPAD 12 WIP





Attached Thumbnails
Click image for larger version

Name:	2026.02.28_3.jpg
Views:	357
Size:	8086 KB
ID:	76969   Click image for larger version

Name:	2026.02.28_1.jpg
Views:	347
Size:	6501 KB
ID:	76970   Click image for larger version

Name:	2026.02.28_2.jpg
Views:	333
Size:	7575 KB
ID:	76971  
Molva is offline   Reply With Quote
Old 01.03.2026, 14:14   #1337
Molva
Местный
 
Molva's Avatar
 
Join Date: 06.07.2009
Location: г.Гомель
Posts: 2626
Send a message via ICQ to Molva Send a message via Skype™ to Molva
Default

SPAD 11 WIP

Attached Thumbnails
Click image for larger version

Name:	2025.09.07.jpg
Views:	307
Size:	5807 KB
ID:	76984  
Molva is offline   Reply With Quote
Old 01.03.2026, 17:47   #1338
злой
гость
 
злой's Avatar
 
Join Date: 27.09.2014
Location: Россия
Posts: 5202
Default

ПРЕКРАСНЫЕ САМОЛЕТЫ!
__________________

Не шалю, никого не трогаю, починяю примус.
Скины на заказ, не рисую.
злой is offline   Reply With Quote
Old 01.03.2026, 20:13   #1339
carsmaster
Пытающийся полететь
 
carsmaster's Avatar
 
Join Date: 21.05.2009
Location: Сталинград
Posts: 2650
Send a message via ICQ to carsmaster Send a message via Skype™ to carsmaster
Default

Согласен, замечательная работа.
__________________
Даёшь защищенный онлайн и Свободный оффлайн.

Теперь я и в телеграмме: https://t.me/il_2_1946
carsmaster is offline   Reply With Quote
Old 30.03.2026, 03:47   #1340
злой
гость
 
злой's Avatar
 
Join Date: 27.09.2014
Location: Россия
Posts: 5202
Default

Как всегда отличная модель у Олега. Увы СПАД-12 скачать нельзя.
__________________

Не шалю, никого не трогаю, починяю примус.
Скины на заказ, не рисую.
злой is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 11 (0 members and 11 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +3. The time now is 18:40.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Рейтинг@Mail.ru