Jump to content

Open Club  ·  12 members

Sign in to follow this  
VonBeerhofen

More visible AI changes in EAWPRO

Recommended Posts

It has always bothered me that several twin engined planes performing in a bomber role were sitting ducks, so some pretty observable changes were made to this behaviour. They will now be more evasive and may actually even start fighting back, after all they're heavily armed and why not use this feature for a more challenging fight.

Ofcourse their main objective is to bomb the target and they're still pretty successfull at that, even when under heavy attack. Their behaviour was enhanced without compromising the original routines, in other words they will still do as was programmed but with an additional chance to do something new. In most situations they will try to regroup but it may not always be possible when for instance these planes are under constant attack or suffer from target fixation, which is not abnormal in the game.

Planes with extra (dorsal/tail/turret) gunners may try to bring down the enemy or at least try and slow them down so the rest of the group can make it out of the battle area safely, even when they have no primary weapons or these ran out of bullets. I programmed a distinct difference between Axis and Allied aircraft, in that the Axis planes tend to be more agressive, which I think is in line with reality and since I think there are more Allied pilots still flying it also serves as a purpose to make it a bit tougher for them, but it will also not be easy when you fly the other side.

These changes will be in the next release of EAWPRO!

VonBeerhofen

Share this post


Link to post
Share on other sites

Sounds like something good VB..Sounds like a good change to the game

Share this post


Link to post
Share on other sites

VB

  Seems you could set your AI wing men to attack bombers and then the bombers will be fighting back after their bomb runs and you could sit back and watch the show ???

Share this post


Link to post
Share on other sites

Hey Russ,

secondary groups are not under human control, they just do as programmed, but you can give commands to your primary group and specifically your wingman and go on autopilot and watch the game in battle view mode. As long as you stay alive you can control views and switch to specific planes or groups. The viewselection by the game is quite complex and at some points during the battle, for instance when an objective is accomplished, focus might be more on planes leaving the battle area.

However the fight could still rage and when still alive you can force the view back to the battle from within or outside your cockpit view. I can watch the game for hours that way as it's almost like watching a movie and very entertaining. Mind you I have no autocombat switch yet when on autopilot and there's no radiocalls anymore in external viewmode, so you won't get any warnings your plane is under attack, so just keep an eye on that or land somewhere safe first.

VonBeerhofen

Share this post


Link to post
Share on other sites

Thanks Vb just what I wanted to accomplish watch the battle and see how it all unfolds naturally from a safe distance and when you release your work I can see the changes

Share this post


Link to post
Share on other sites

As I recall, during the Battle of Britain, the Brit fighters being able to cause the German bombers to break formation and scatter was considered (at the time) something of a success, as the bomber force could not re-group in time to deliver a concentrated blow on the target. The number of German bombers being shot down was a very useful bonus.  The bombers being scattered, and out of formation, they usually jettisoned their bombs (usually to no purpose), and thus relieved of the weight, tried to rally for the trip home.

I think that we players of flight sims overlook the broader aspect of things.  For example, the sacrifice of the US Navy Torpedo squadrons during the Battle of Midway that drove down the Japanese fighter planes, and so paved the way for the Navy Bomber squadrons--without fighter opposition-- to devastate the Japanese Carrier force.  

In short, some bomber missions might be considered a 'Success" if the target was hard-hit, and even if no bombers returned.  I don't think there is any sort of accounting for this sort of semi-suicide scenario.   In fact, and please excuse my ignorance, I'm unaware of any "Victory Conditions" in any scenario in the EAW world.  Aside for the individual pilot coming home, that is.  Granted, this changes in a Career Mode/scenario.  

The ability of the German bombers to defend themselves should be realistically portrayed.  Not an expert, but the German bombers had too few large caliber guns to accomplish this end, and the guns were not always properly emplaced for their intended purpose.  Witness the American bomber effort, with far better armed bombers, and the losses they suffered until fighter escort became available.

I applaud any and all efforts to make the EAW game more realistic.  Thanks, VBH!

Share this post


Link to post
Share on other sites

Hi RiBob,

Thx for your comment, which touches a number of problems relating to addons. EAWPRO is a specific scenario and changes will take the theatre into account. The battle with the Japanese is an entirely different scenario and requires a different game engine with different AI behaviour. For instance EAW has no provisions for kamikaze planes but EAWPRO can mimic this behaviour.

It's not appropiately used when fighting the Germans over Europe though, as to my knowledge the German suicide squads never really became active. Perhaps Pacific Tide III may see the changes in AI behaviour some day, your comment seems very appropiate for that scenario.

A lot can be accomplished now with these new AI routines and tweaks are easily done. Certain bombers already release their bombs when attacked but others don't. Planes which can carry bombs are not necessarily bombers and will behave differently and so can planes which got seperated from the main group. But there's a new option available now which can be assigned to any planetype in EAW and with that your described behaviour can be turned on or off at will depending on the scenario. Even B17's can be made to drop their bombs before reaching the target but it's not the setting used in the EAWPRO scenario.

VonBeerhofen

Share this post


Link to post
Share on other sites
On 5/6/2019 at 7:25 AM, VonBeerhofen said:

Pi RiBob,

Thx for your comment, which touches a number of problems relating to addons. EAWPRO is a specific scenario and changes will take the theatre into account. The battle with the Japanese is an entirely different scenario and requires a different game engine with different AI behaviour. For instance EAW has no provisions for kamikaze planes but EAWPRO can mimic this behaviour.

It's not appropiately used when fighting the Germans over Europe though, as to my knowledge the German suicide squads never really became active. Perhaps Pacific Tide III may see the changes in AI behaviour some day, your comment seems very appropiate for that scenario.

A lot can be accomplished now with these new AI routines and tweaks are easily done. Certain bombers already release their bombs when attacked but others don't. Planes which can carry bombs are not necessarily bombers and will behave differently and so can planes which got seperated from the main group. But there's a new option available now which can be assigned to any planetype in EAW and with that your described behaviour can be turned on or off at will depending on the scenario. Even B17's can be made to drop their bombs before reaching the target but it's not the setting used in the EAWPRO scenario.

VonBeerhofen

IIRC, one of the FUNDAMENTAL considerations of the Pilots of bombing aircraft was to maintain Formation.  Doing so increased bombing effectiveness, and also enhanced the mutual support of the bombers' guns.

Aircraft that were hit by enemy fire, in sufficient amount, would jettison their bomb loads in order to remain with the formation.   Presumably, this historically-correct action might be modeled in relevant flight scenarios, if possible. 

I have no idea if it is possible (From your comments, I suspect so, but might be mistaken) but even some sort of common-sense jettisoning of bombs by damaged bombers would be a (realistic) step forward. 

I understand that absolute adherence to reality is not always the best way to design a flight sim.  Maybe sometimes it is.  YMMV.

As always, submitted for your consideration, and with all good intent.

RIBob  

 

Edited by RIBob

Share this post


Link to post
Share on other sites

Hi RiBob,

I think it's all taken care off and as close to realism as I can make it for now, untill I can spend more time on this.

In bombing missions as primary planes under human control they used to start fighting as soon as they spot the enemy but regroup when the command is given by the human pilot. The Attack Groundtargets command doesn't help in this when these planes are under attack, something which these new routunes now also fix.

It was as I suspected and with a minor addaptation to the new routines, bombers will no longer engage, irrespective of what mission they fly wether it's a human controlled group or not. However in human controlled missions all tactical commands remain operational, i.e. commands to attack, and they may well follow those orders. When damaged they will release their bombs to lighten the plane and try to maintain sufficient lift.

Obviously bombers are not meant to fly an escort with other bombers but they still can and will stay in close formation unless ordered otherwise. I think the fun of it is that new strategies have to be develloped in order to accomplish the mission and keep the group alive. The AI will follow the leader and as such human pilots need to keep an eye on attacking aircraft and fly evasive when necessary, after all most of the bombers don't have human controlled guns and their strength lies in staying in formation. In short, bombers now behave as bombers should when they have no real fighting capability.

When bombers are on their own, after for instance the initial attack on ground objects or having been crippled and slowly loosing connection, the human player can try to slow down too to maintain a coherent group and perhaps save the crippled plane from getting destroyed. As far as I can tell from these few missions it's a whole new ball game.

Bombers can seek the protection of the escorts in human flown missions but that may lead em straight into the turmoil as the escorts will be fighting enemy AI and there's no telling when they'll head back to base. All in all there's no telling how the AI routines will handly this new stuff but I think I kept all original behaviour intact except where I felt this behaviour wasn't appropiate and they will only kick in when everything else fails.

The routines were written for easy addaptations and tweaks when necessary but there's a tonne of new possibillities which simply can not all be tested but I'll be keeping an eye on how it behaves during the Launchpad's online sessions and tweak things further when necessary. 

VonBeerhofen

Share this post


Link to post
Share on other sites

I've build a new plane filter for EAWPRO and it's working great. The filter allows a better use of the current PLANES.DAT switches which control AI behaviour and I now have additional strike-fighters, attack-bombers,  fighter-bombers, and invaders which can easily be set by the players, that is if they understand how to edit the PLANES.DAT file with or without Jelly's tools. Needless to say that with these changes the PLANES.DAT has become more version specific but remains backwards compattible. The older versions of this file will merely activate this new behaviour when any of the switches are set, which I believe will only result in more interesting and definately different mission types in which bombers play a more intelligent role and stick to what bombers usually do, focus on delivering their payload. Once that's done they become more free to make it harder on the players to kill them but their objective from then on is to try and leave the battle area asap.
 
There's now also a possibillity for an automatic night-fighter version selection, which is obviously selected when it's dark and I may filter out the Quad planes to always stay in formation, irrespective of what mission type they're used in. I found it a challenge to fly these planes in an escort mission and try to stay with the other bombers to have more defensive fire power. The group just followed me where ever I went, so I filled up a gap in the bomber formation. With that I performed the exact same role as the bombers themselves. The only snag is that I can't tell my own B17's to attack, disperse or break away yet but they did listen to the formation orders to loosen or tighten formation. It'll need a lot more flying to find out what else is possible.
 
As I wrote before it's a whole new ballgame and the full effect of this still have to be discovered, so I'll be doing a lot of flying to see if things can be further improved. It's all working the way I imagined it would and I may still add some extra features, like the night-fighters and commands which aren't in yet. I just don't want to do too many checks on all planes which could compromise framerates. In my experiments I also found that it's possible to program conflicting behaviour where my new AI behaviour is overridden by another routine elsewhere, telling the plane to do something else. Both commands are executed in the same loop which led to nervous behaviour, much more throttling up or down and/or planes seemingly changing their minds.
 
For now I didn't incorporate this behaviour and the attack switch is also temporarily disabled. Although it worked great it seemed to cause an intermittent CTD late in the mission, so I'll see what's been causing that and hopefully fix it. I liked what it was doing and I want it. It mainly caused a small chance for planes under fire to turn against their agressors and go into full fighter mode (even B17's but it can be made optional). Basically it's the same behaviour as what happened when you flew bombers in the original game, but this will now only happen to an individual plane under fire and not the whole group, so that's usually the planes in the rear which get hit first and fall back. They attract attention from the enemy and kind of fight to the death making them eligible for a heroic posthumous medal giving the rest of the group a better chance to get away after fullfilling their objective.
 
It's not all there yet but the basis for it is programmed and tested to work. Bombers are less easy to shoot down and will break up into two formations when attacked when the proper switches are set in the PLANES.DAT and each group will be more or less evasive depending on the situation they're in. Still a long way to go but it's getting there. The number of missions I already flew is staggering and the game is running from dawn till late at night, selecting all kinds of missions and planes, due to a lack of beta testers who know what to look out for or what to test. There's no quick and easy way to make this work good, you have to fly, try and observe. It was fun to see the Stuka try and attack B17's or even P38's, hell they even killed a few of em. P38's would pull up steep and the Stuka would try and follow but usually got into a near stall situation because it's way too slow and heavy. Hey you do what you can right? Even if you happen to fly a postal plane into the battle area with a pilot who's only got a handgun to defend itself, lol.

I realise that what I've done may not be to everyone's liking but I like it a lot and I need new approaches to keep the Launchpad squadron happy and flying, which is my main objective and I think it will incite them to fly the bombers more often, if they don't then I will as I'm always happy to be the target. They'll be testing things further and occasionally give some feedback. A release of this just has to wait untill a few other issues are fixed, like the new pilotmap lead plane's colors for which a new palette will have to be created. I'm sorry for this delay but there's a lot of work involved.

VonBeerhofen

Share this post


Link to post
Share on other sites

After an intense week of testing and finding out what's possible here's a few pictures of the fun I had:

Bombing mission, the Heinkels are under heavy fire and I have an enemy plane padlocked
Interdiction1.jpg

Interdiction mission, While I went down to destroy the train my group dropped bombs from high altitude causing the secondary explosions in the background, close but no cigar!

Interdiction2.jpg

Escort mission, my B24's coplemented B17's en route to the target and I tried to stay in formation with them while under heavy enemy fire.

Interdiction3.jpg

In all missions fighters were fighting fiercely in the battle area, in total around 100 planes were smoothly doing their job on my ancient WinME Pentium IV with an old 32MB gForce2 and 256MB memory, haven't had this much fun in while, it was a blast! I tried all the altered planes as well, mainly twins, and they obeyed every command and in bombing missions focused on their task, unless they got hit and dropped their loads to attack the enemy. In one mission my group got through the enemy fighterscreen, destroyed the target and I regrouped as the enemy was landing. I flew back and told my group to start attacking while I strafed the airfield. One enemy plane was still eager to fight and I had to deal with him myself, but I got shot down trying to eliminate enemy gun positions on and around the airfield. My group was reluctant to leave after I made an emergency landing between the smoking planes, captured but still alive!

Interdiction4.jpg

VonBeerhofen

Share this post


Link to post
Share on other sites

Looks pretty good VB...Rock on!!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Similar Content

    • By MarkEAW
      Okay here's the first release of it.
      I forgot to mention in the readme that its hooked for direct input and has a virtual joystick.
      That will allow you to configure the game flight controls to keyboard and cam to mouse.
      (I don't think the virtual Joystick if selected in game will work) Its best to stay with keyboard until you get a physical joystick.
       
      EAWPRO DXWnd Profile
      https://www.mediafire.com/file/sia0o8hby2r44tm/EAWPRO10_(Basic)-DXWnd.zip/file
       
      For this Wrapper Program
      http://sourceforge.net/projects/dxwnd/
       
    • By VonBeerhofen
      Thx to Erik and Stratos a special EAWPRO club was erected where further devellopment of my work can take place without unnecessary interruptions. Anyone is welcome to read it's contents which remains uncensored, but discussions are limited to members only and admittance to the club is exclusively under my control. Ofcourse crticism about EAWPRO can still be posted in the General EAW forum and when possible will be taken to heart. I'm sorry that there is no other way to present my work but it will not hamper further devellopment in any way.
      You can find the club through the forum's main page or by selecting CLUBS in the top from any page in the CA forum or by clicking the picture below:
       
    • By VonBeerhofen
      8 hours to unravel it's R/S secrets and 8 more to tweak the model into a light fleet/escort cariier. From here the model can be turned into any carrier class or split up into a multipart model. As a single 3DZ it can be a moving interdiction target (not landable) as well as a static target in harbours or alongside the coast. This is just a start as the model will be turned into a 100% model and It's texture will be upgraded soon.
      VonBeerhofen

      This picture shows the R/S check of a beached carrier with a few additions already :) The model will be added to PTIV as the new EAWPRO exe has freed a slot for an extra ship.

    • By VonBeerhofen
      The Reichenberg was the first and last plane I created in 2010, but with some recently acquired knowledge I felt the model should benefit from it, hence II. The initial model had it's cockpit more integrated into the fuselage but pictures show it was more of a small cubicle on top of the body. The old version also only used 6 sides and now 10. It may be further improved someday but for now this is where it stands. Weapons wil be added later too.
      As usual a rock solid R/S, new skin, semi 3D pilot (as in the Ohka) and dashboard (not visible yet in this picture but it's already there).
      VBH

    • By VonBeerhofen
      Derived from my Reichenberg and still carrying some of it's details but with a fully working Rendering Sequence. There is a pilot inside too but I couldn't use the Reichenberg's tranparency file but he's in there. The skin is largely from the Reichenberg with a white overlay and all colors removed from the plane and a quick Nippon dot replacing the German insignia. Later a proper skin with proper shading will be added but first the model needs to be tweaked so all V1 details are properly adapted to get the model as it should be. Notice that the model has 8 sides, like my Reichenberg, giving it a rounder shape then the stock V1. Couldn't squeeze more out of it due to the model's small size which limits the circumference of a circle polygon. However large planes can use this technique too and may be able to use 10 or 12 sides.
      VonBeerhofen



×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..