[DLL] Executing the air interception code

whoward69

DLL Minion
Joined
May 30, 2011
Messages
8,727
Location
Near Portsmouth, UK
Has anyone tried to execute the air interception (combat) code directly? Specifically I want interception to occur when a unit is moved directly into an enemy AA zone.
 
Without a hostile defender in the plot and a DOMAIN_AIR attacker, the answer seems to be "Yes once ... just before the game crashes" :(

And I so wanted to be able to animate shooting at the paratroopers :eek:

attachment.php
 

Attachments

  • ParaAntiAir.jpg
    ParaAntiAir.jpg
    121.6 KB · Views: 495
Without a hostile defender in the plot and a DOMAIN_AIR attacker, the answer seems to be "Yes once ... just before the game crashes" :(

And I so wanted to be able to animate shooting at the paratroopers :eek:

To answer your PM (a bit late, sorry, I've been away for 2 weeks), I would I've loved to see that :(

I'm thinking of a possible hack involving a temporary and invisible (scaled down ?) aircraft unit triggering the interception, but I don't know if it's worth it...
 
Does it crash without combat animations?

Nope. I've managed to get it so Paratroopers take damage from hostile AA in the drop-zone, can attack after landing provided they wern't at the maximum air-drop range, and also they can airlift from any hex if they are adjacent to a helicopter that hasn't moved yet (the air-drop then uses up the helios move) - expand the first spoiler here http://forums.civfanatics.com/showpost.php?p=12334513&postcount=22

All are options so you can switch them on/off individually (so attack after landing with no AA damage and no helio lift is a possible combination)
 
Back
Top Bottom