Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 7 8 9 [10] 11 12 13 ... 22   Go Down

Author Topic: He-219 'Uhu' v5.17m  (Read 99286 times)

0 Members and 4 Guests are viewing this topic.

Germy66

  • vom K
  • Modder
  • member
  • Offline Offline
  • Posts: 285
Re: He-219 'Uhu' v5.13m
« Reply #108 on: June 01, 2014, 11:54:48 AM »

Thanks :) :) :)
Logged

Korrigan

  • SAS Honourable Member
  • member
  • Offline Offline
  • Posts: 785
Re: He-219 'Uhu' v5.13m
« Reply #109 on: June 01, 2014, 01:03:23 PM »

Merci Gabriel
Logged

crimar

  • member
  • Offline Offline
  • Posts: 295
Re: He-219 'Uhu' v5.13m
« Reply #110 on: June 01, 2014, 01:46:10 PM »

Encore une fois merci, Epervier ! :)
Logged

slipper

  • Modder
  • member
  • Offline Offline
  • Posts: 920
Re: He-219 'Uhu' v5.13m
« Reply #111 on: June 01, 2014, 03:04:08 PM »

Epervier

Not sure if you are interested or not but i have managed to get the AI to use the Schrage Musik canons sometimes when attacking (DBW 1.71). You need to have the SAS Engine Mod v2.6rc installed, link below, too as this sets up the AI doctrine.

https://www.sas1946.com/main/index.php?topic=23327.0

Then you need to open the HE_219.class and add TypeSchrageMusik. my entry is below

Code: [Select]
public abstract class HE_219 extends Scheme2
    implements TypeFighter, TypeBNZFighter, TypeSchrageMusik

next you need to edit HE_219UHU.class, add again at the top of the file, so that you have

Code: [Select]
public class HE_219UHU extends HE_219
    implements TypeSchrageMusik, TypeBNZFighter

Then further down you need to change all the weapon trigger assignments, otherwise the AI fires forward armament when below an enemy plane and upward armament when behind. example below, change this

Code: [Select]
String s = "default";
            Aircraft._WeaponSlot a_lweaponslot[] = new Aircraft._WeaponSlot[byte0];
            a_lweaponslot[0] = new Aircraft._WeaponSlot(1, "MGunMK108k", 200);
            a_lweaponslot[1] = new Aircraft._WeaponSlot(1, "MGunMK108k", 200);
            a_lweaponslot[2] = null;
            a_lweaponslot[3] = null;
            a_lweaponslot[4] = new Aircraft._WeaponSlot(0, "MGunMG15120si", 300);
            a_lweaponslot[5] = new Aircraft._WeaponSlot(0, "MGunMG15120si", 300);
            a_lweaponslot[6] = new Aircraft._WeaponSlot(0, "MGunMG15120si", 300);
            a_lweaponslot[7] = new Aircraft._WeaponSlot(0, "MGunMG15120si", 300);
            a_lweaponslot[8] = null;
            a_lweaponslot[9] = null;


to this

Code: [Select]
String s = "default";
            Aircraft._WeaponSlot a_lweaponslot[] = new Aircraft._WeaponSlot[byte0];
            a_lweaponslot[0] = new Aircraft._WeaponSlot(0, "MGunMK108k", 200);
            a_lweaponslot[1] = new Aircraft._WeaponSlot(0, "MGunMK108k", 200);
            a_lweaponslot[2] = null;
            a_lweaponslot[3] = null;
            a_lweaponslot[4] = new Aircraft._WeaponSlot(1, "MGunMG15120si", 300);
            a_lweaponslot[5] = new Aircraft._WeaponSlot(1, "MGunMG15120si", 300);
            a_lweaponslot[6] = new Aircraft._WeaponSlot(1, "MGunMG15120si", 300);
            a_lweaponslot[7] = new Aircraft._WeaponSlot(1, "MGunMG15120si", 300);
            a_lweaponslot[8] = null;
            a_lweaponslot[9] = null;

you need to do this for all weapon slots. I have only tested this in DBW 1.71 don't know if it works in 4.09. In 4.11 and 4.12 i think it should work however TypeSchrageMusik needs to be TypeJazzPlayer, although i have not tried it.

See how it works for you, sometimes the AI will attack normally other times it will use schrage musik, if it works feel free to add to any further updates.


Also i asked in an earlier post if there may be some chance of getting the level stabiliser implemented please? No worries if not.


cheers

slipper
Logged

max_thehitman

  • SAS~Area51
  • Modder
  • member
  • Offline Offline
  • Posts: 8976
  • Beer...Girls...IL2+Mods!
Re: He-219 'Uhu' v5.13m
« Reply #112 on: June 01, 2014, 03:13:21 PM »

Thank you Slipper for your generous contribution. It sounds very exciting. I will test it soon to
see if my AI pilots behave like real aces.

I feel very happy to see so many people join forces together as friends to work on improving an airplane mod.

The job gets done much faster and we learn new tricks and tips from each other.
Working together gets the job done in less than 2 weeks!
I feel very proud once again to be part of this IL2+mods community which can work together as friends!
Long Live IL2+mods !
Logged
Everything I like is either illegal, immoral or fattening ! Welcome to SAS1946

slipper

  • Modder
  • member
  • Offline Offline
  • Posts: 920
Re: He-219 'Uhu' v5.13m
« Reply #113 on: June 01, 2014, 04:06:09 PM »

No worries mate, hope it works for everyone brings a new dimension to AI attacks. Let me know if you run into any problems.
Logged

Gumpy

  • Modder
  • member
  • Offline Offline
  • Posts: 1649
Re: He-219 'Uhu' v5.13m
« Reply #114 on: June 01, 2014, 10:51:41 PM »

Thanks to all involved.
Logged

Mission_bug

  • Modder
  • member
  • Offline Offline
  • Posts: 6072
Re: He-219 'Uhu' v5.13m
« Reply #115 on: June 02, 2014, 02:23:10 AM »

Thank you very much to all who have contributed to this excellent update of this wonderfull aircraft. 8)


Wishing you all the very best, Pete. ;D
Logged

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9544
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: He-219 'Uhu' v5.13m
« Reply #116 on: June 02, 2014, 02:46:47 AM »

Not sure if you are interested or not but i have managed to get the AI to use the Schrage Musik canons sometimes when attacking (DBW 1.71). You need to have the SAS Engine Mod v2.6rc installed, link below, too as this sets up the AI doctrine.
AI 409 version does not know how to use correctly the SM ...
It is for this reason that I have not implented this feature!
And my other versions of the game are installed "as the factory" ... no other Mod added.
So I can not not tested this amendment.
Is the MA530 has the equivalent?
I'm going to fix this ... but without testing and without "government guarantee"!


[EDIT]
Sorry but I'm not going to do anything more for the Imperialists!  :-[
I do not have the tools to change the code ... and knowledge to this code that I do not practice!
In 412 code, I see the need to add much more than simple instruction: TypeJazzPlayer

If Imperialist wants to do ... change it to do so! Thank you in advance!


Also i asked in an earlier post if there may be some chance of getting the level stabiliser implemented please? No worries if not.
Bombers have this function automatically.
I do not know how to implement this function on a hunter.
No hunter is equipped with a stabilizer level ...
And I do not see utility ...

You have an older version ... it is not the weapon currently used ... and now I use COD file ! ;)
"MGunMG15120si"   (no sleeve)   ===>       "MGunMG15120s" (with sleeve)

Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

max_thehitman

  • SAS~Area51
  • Modder
  • member
  • Offline Offline
  • Posts: 8976
  • Beer...Girls...IL2+Mods!
Re: He-219 'Uhu' v5.13m
« Reply #117 on: June 02, 2014, 03:48:44 AM »



Great aviation art screenshot Gumpy! I like that image.
I notice you have a new pilot in the cockpit  8) Is that one of Barnsey´s cool Luft-pilots?

Logged
Everything I like is either illegal, immoral or fattening ! Welcome to SAS1946

slipper

  • Modder
  • member
  • Offline Offline
  • Posts: 920
Re: He-219 'Uhu' v5.13m
« Reply #118 on: June 02, 2014, 05:57:04 AM »

Epervier

Yes i think at the moment this only works for 4.10 as you need the SAS Engine Mod v2.6rc installed which contains the AI code, this only works with 4.10 and 4.11. There is a 4.12 version but it does not contain the entry for this particular AI manouever yet.

I still use 4.10 for nightfighting as there are a few important mods that i believe are essential for nightfighting that do not work for 4.12, and not sure if they will ever be updated.

If you like i can upload a copy of the relavant files so those using 4.10 at least can get the AI to use the schrage musik.


regards

slipper
Logged

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9544
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: He-219 'Uhu' v5.13m
« Reply #119 on: June 02, 2014, 06:27:00 AM »

Do not hesitate!
If 410 players report no problems I will add your link in the first post!  ;)
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -
Pages: 1 ... 7 8 9 [10] 11 12 13 ... 22   Go Up
 

Page created in 0.047 seconds with 25 queries.