Forums LFJR » Total Annihilation » TA - alt.games.total-annihil

Sujet: Writing AI Files.
Réponses: 2   Pages: 1   Dernier Message: 2 oct. 2002 11:46 par: Maurie Daly »


Répondre à ce Sujet Répondre à ce Sujet
Rechercher Rechercher

Revenir à la Liste de Sujets Revenir à la Liste de Sujets Sujets: [ Précédent | Suivant ]
Réponses: 2   Pages: 1  
Maurie Daly
Writing AI Files.
Publié: 2 oct. 2002 03:02
  Cliquez pour répondre à ce sujet Répondre

When making an AI profile files , does anyone know how the AI behaves
when a unit it is able to build is not mentioned at all in the AI
file.

Im trying to play some water based maps where there is very little
land and the AI seems to want to build totally useless units like
tanks and kbots that cant go into the water.
Ive gone thru the AI file line by line and I cant see why these sorts
of things are being built, as they arnt mentioned anywhere in the AI
file.

Im using the Banzai Seabattle AI and trying to improve it so it puts
up a better fight.

MD



Anthony
Re: Writing AI Files.
Publié: 2 oct. 2002 03:02
  Cliquez pour répondre à ce sujet Répondre


"Maurie Daly" <mauried@tpg.com.au> wrote in message
news:3d9a446e.6423217@dnews.tpgi.com.au...
> When making an AI profile files , does anyone know how the AI behaves
> when a unit it is able to build is not mentioned at all in the AI
> file.
>
> Im trying to play some water based maps where there is very little
> land and the AI seems to want to build totally useless units like
> tanks and kbots that cant go into the water.
> Ive gone thru the AI file line by line and I cant see why these sorts
> of things are being built, as they arnt mentioned anywhere in the AI
> file.
>
> Im using the Banzai Seabattle AI and trying to improve it so it puts
> up a better fight.
>
> MD
>


When looking at an AI file there are WEIGHTs and LIMITs to each particular
unit. WEIGHT values should be from .05 - 1, with .05 meaning build rarely
and 1 meaning build often. LIMIT is how many of that particular unit can be
built. Basically you will have to go thru and change the WEIGHTs and LIMITs
of the land units to .05 and 0 respectively, and probably increase the water
unit's WEIGHTs and LIMITs..


And for a lot more detailed info check out SHONNER's website
http://shonner.com/ta/main.htm He has a whole section on AIs and has some
AIs he created for download. I have been playing around with his NEWBIE AI
and find it very fun.

Regards,
Anthony





Maurie Daly
Re: Writing AI Files.
Publié: 2 oct. 2002 11:46
  Cliquez pour répondre à ce sujet Répondre

On Tue, 1 Oct 2002 21:36:55 -0000, "Anthony" <twansenne@hotmail.com>
wrote:

>
>"Maurie Daly" <mauried@tpg.com.au> wrote in message
>news:3d9a446e.6423217@dnews.tpgi.com.au...
>> When making an AI profile files , does anyone know how the AI behaves
>> when a unit it is able to build is not mentioned at all in the AI
>> file.
>>
>> Im trying to play some water based maps where there is very little
>> land and the AI seems to want to build totally useless units like
>> tanks and kbots that cant go into the water.
>> Ive gone thru the AI file line by line and I cant see why these sorts
>> of things are being built, as they arnt mentioned anywhere in the AI
>> file.
>>
>> Im using the Banzai Seabattle AI and trying to improve it so it puts
>> up a better fight.
>>
>> MD
>>
>
>
>When looking at an AI file there are WEIGHTs and LIMITs to each particular
>unit. WEIGHT values should be from .05 - 1, with .05 meaning build rarely
>and 1 meaning build often. LIMIT is how many of that particular unit can be
>built. Basically you will have to go thru and change the WEIGHTs and LIMITs
>of the land units to .05 and 0 respectively, and probably increase the water
>unit's WEIGHTs and LIMITs..
>
>
>And for a lot more detailed info check out SHONNER's website
> http://shonner.com/ta/main.htm He has a whole section on AIs and has some
>AIs he created for download. I have been playing around with his NEWBIE AI
>and find it very fun.
>
>Regards,
>Anthony
>
>
Yes , I know about the weights and limits .
What I dont know is what weight and limit is represented by a unit
not being listed in the AI file at all , but available for the AI to
build.
When you have a potential number of 512 units that can be built the AI
files get very big ,and I cant identify by name the units that are
being built that I dont want to be built.

MD

>