Thread Tools
Old August 12, 2003, 13:58   #1
Atahualpa
Spanish CiversCivilization III PBEMPtWDG2 Latin Lovers
Emperor
 
Atahualpa's Avatar
 
Local Time: 08:16
Local Date: November 2, 2010
Join Date: Mar 1999
Location: voice of reason
Posts: 4,092
Intercepting enemy bombers?
I've got a lot of ships guarding my coast. They are all within operational range of fighters that are based in my cities. Yet I get turn by turn attacked by enemy bombers and no fighter ever cared to intercept.

I thought they would intercept if a bomber tries to attack a target within the operational range of it.
The chance for intercepting is 50%. Is this chance calculated for every fighter I have or not?

As I thought be it would have been this:

Code:
Enemy->Bomber->AttackSquare(x,y)
Forall (My->Fighters f)
{
    if (!UsedUpList.isPresent(f) && f.canReach(x,y) && f.isOnAirSuperioty())
    {
        if (f.chanceToIntercept > randomNumber)
        {
            f.intercept();
            UsedUpList.add(f);
        }
    }
}
Correct or not?
Any other solution would be stupid anyway

Also I am wondering if the AI can see my submarines with his battleships. I had two subs placed next to his shore and then suddenly came two battleship and killed the two subs
How could that possibly be?

TIA,
ata
Atahualpa is offline  
 

Bookmarks

Thread Tools

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 On

Forum Jump


All times are GMT -4. The time now is 03:16.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team