Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] Re: flying AI (PR#1162)
Home

[Freeciv-Dev] Re: flying AI (PR#1162)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Raahul Kumar <raahul_da_man@xxxxxxxxx>
Cc: Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: flying AI (PR#1162)
From: Petr Baudis <pasky@xxxxxxxxxxx>
Date: Sat, 29 Dec 2001 12:27:12 +0100

Dear diary, on Sat, Dec 29, 2001 at 11:07:12AM CET, I got a letter, where
Raahul Kumar <raahul_da_man@xxxxxxxxx> told me, that...
> Desire is used to calculate the desirability of building a unit. It considers
> units not yet available, using the trade weighting, shield weighting to
> decide the cost of acquiring the techs needed to produce the unit. It also
> takes into account the amount of shields needed to build the unit.
Ack after a short glance ;).

> The total attack power of a unit, and its total defense power are also taken
> into consideration. (Someone better define attack power and defense power at
> some point). This may unfortunately lead to units like mech infantry, with
> equal attack and defence power being weighted ahead of units like howitzers,
> with awesome attack power, but crap defense. This is bad because normally
> units good at offense do not have to defend, and units good at attacking are
> not normally defenders.
We use bcost_prime for preventing this, it looks. No time for digging in the
code now ;(.

-- 

                                Petr "Pasky" Baudis

UN*X programmer, UN*X administrator, hobbies = IPv6, IRC, FreeCiv, (e)links
.
Firewall in a way is like the doorkeeper of a local pub. If you don't have your
I.D. on you, or if for some reason you do not qualify to enter, the doorkeeper
will not permit you to enter. In some extreme cases these doorkeepers will not
let you out, or at least give you a hard time before they finally let you out.
.
Public PGP key, geekcode and stuff: http://pasky.ji.cz/~pasky/


[Prev in Thread] Current Thread [Next in Thread]