Author Topic: Suicidal Bomber AI  (Read 1083 times)

0 Members and 1 Guest are viewing this topic.

Among my many modifications to bombs, the most noticable is now that they do shield damage, and lots of it. This is primarily a gameplay adaptation, so that bombers (which are pilotable by players), are now the best method for taking out warships with fast-recharging shields. Since beam cannons don't penetrate shields in the mod I'm developing, some heavily shielded Shivan destroyers can rely on their shields to soak up most of the damage from GTVA beam weapons. The new bombs can easily wipe the shields on a Shivan destroyer in a single shot, and still put a nice crater in the hull.

Shockwave sizes have gone down significantly, but if you still manage to end up inside the blast of a bomb, the high shield and hull damage will insta-kill you. The AI, however, does not realize this. Bombers still tend to fly toward their targets, and if they survive, usually end up killing themselves on their first short-range bombing.

I doubt there is an easy way of telling the AI "You'll kill yourself if you're too close to this explosion" - but is it possible to set a minimum range for the weapon that the AI will pay attention to?

Or...is it possible to use arm distance and arm radius together? I already use arm radius, so that blowing up incoming bombs does not result in insta-kills.
:divedivedive: <--- This needs to be a smiley.
Developer of the Singularity campaign/mod (WIP)
I call dibs on developing a Capella Barbecue Theory campaign.

  

Offline Fury

  • The Curmudgeon
  • 213
Set damage type and shockwave damage type to your bombs. Then create armor type for fighters and bombers shields. Finally edit the armor type to receive only little (or none) damage from bombs.
http://www.hard-light.net/wiki/index.php/Armor.tbl

You can also use BP: WiH's bp2-wep.tbm and bp2-amr.tbm as an example how to do damage types and armor types. But to answer to your question, you can set minimum distance.
http://www.hard-light.net/wiki/index.php/Weapons.tbl#.2BWeapon_Min_Range: