Archived Support Forum: View Post
Index | Ladder
Banshee posted a message about Re: Air Defence in reply to Re: Air Defence

> > > I was wondering how to make the computer make a better air defence. This coding has changed in YR and has something to do with the AIForcePredictionFudge. Ive changed the AAbuildratio and AAbuildLimit but these seem to have no effect. Thanks for any help.

> > It might be AALimit and AARatio instead of AABuildLimit and AABuildRatio. Also, the comp may have reached the base size of the human player with its other buildings. Also, does it consider AA to be part of base defenses and defensive structures? If so, it may be competing with lasers and obelisks or comp towers.

> > BaseSizeAdd=3 ; computer base size can be no larger than the largest human opponent, plus this quantity

- This should help, but it`s not enough.

-----------------------------------------------------------
> > DefenseRatio=.4 ; ratio of base that should be defensive structures
> > DefenseLimit=40 ; maximum number of defensive buildings to build
> > AARatio=.14 ; ratio of base that should be anti-aircraft defense
> > AALimit=10 ; maximum number of anti-aircraft buildings to build
------------------------------------------------------------

These settings only work on red alert.

> > p.s. don't you hate it when the computer makes 100 towers and doesn't follow the adjacency rules? and doesn't even cap the stinking towers!

> I`ll try that BaseSizeAdd option. Those other ones dont seem to have really any effect. Would you know what the AIForcePredictionFudge is for by chance? It has numbers to it for base defence. I dont know if I should increase or decrease those numbers for the AI. Thanks for your reply.

I suggest that you add clones of defensive buildings exclusive for AI. Give them the original AA defense as pre-requisite and set tech-level to -1 and also add IsBaseDefense=yes.

More AI tutorials can be found here.


SubjectNameDate
Re: Air DefenceStinger05:40 07-07-2002

 
© 1999-2023 Van de Sande Productions