wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Warcraft III Modding > Hosted Projects > AMAI
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 12-02-2008, 11:19 AM   #1
Leartes
User
 
Join Date: Dec 2008
Posts: 2

Leartes has little to show at this moment (0)

Default fast tests and some more questions

Hi,

i m quiet new to playing wc3 melee and since i m always interested in pitting some bots against eachother i immediatly created an ai using the worldeditor. (it actually is quiet ok, crushes the standart ai most of the time - at least on the test map echo isles) But now i found your nice tool and want to use it for an even better version.

General Questions:
1. ) I use patch 1.22, how can i pit amai vs usual or my own worldeditor created ai ? And how can i pit my amai version against other amai versions ?

2.) Can i use the worldeditors ai test system ? It is much nicer than setting up tests than usual lan-games since i can set the speed to 4 times as fast or faster if i want to check on lategamebehavior.

3.) Can i force a strategy change at a specific tech level ? Like i build a standart tier 1 and as soon as tier 2 is completed the ai chooses what way to go. Else i have to build for every tier 1 / 2 strategy also the higher tiers which shouldnt be used anyway.

4.) I dont need it right now, but out of curiosity: How do i add additional races to amai so that can create my own naga race for example and give it some strategies to pit it against the other races. (for early balance tests eg)

And finally i have bug report, it happend during a game of amai 2.54b Orc(RomuLus) vs Human (Xenon) on BootyBay.
The orc went blademaster first and started to harrass the humans goldworker while the human went out to get his fastexe. Now the human didnt do anything except calling one militia at a time to attack the blademaster (the main army was on the way to the creepspot of the exe) and the blader killed killed more than 10 worker before the human walked back.
In my opinion the human should have either cancel his attempt to fast expand and tp home or creep the mine and tp afterwards. During creeping he should call more militia / run away with attacked workers. Also a really early arcane tower close to the mine would have helped. (he build an arcane tower but on the boarder of his city, dont know if you can adjust the building placement) Anyway after creeping he really had to tp ...

Well thats it for now, hope your still active and read (and answer) this,

Leartes

EDIT:
One additional question, is it possible for a certain profile to start with a specific strategy ? And can i force a profil to only use some strategies ? Like when you want the players to have really strong characteristics . For example you create two orc profiles, one will concentrate on brute force and build lots of Grunts early. Maybe try to rush or creep alot and later add raider, kodos, katas maybe spirit walker (depending on what is needed) but doesnt like to build many ranged units. And another orc profil tends to fasttech more likely and doesnt pick an aggressiv tier 1 strategy. So you have several possible strategies for a single profil but you dont pick any that dont fit the character at all.
This way the two profiles can pick strategies that fit best to them in terms of styl and aggression etc.

Last edited by Leartes : 12-02-2008 at 02:02 PM.
Leartes is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 12-03-2008, 02:21 PM   #2
Strategy Master
Great Sage
 
Strategy Master's Avatar


Project Leader: AMAI
 
Join Date: Jun 2003
Posts: 711

Submissions (1)

Strategy Master has a spectacular aura about (77)Strategy Master has a spectacular aura about (77)Strategy Master has a spectacular aura about (77)

Default

Quote:
Hi, i m quiet new to playing wc3 melee and since i m always interested in pitting some bots against eachother i immediatly created an ai using the worldeditor. (it actually is quiet ok, crushes the standart ai most of the time - at least on the test map echo isles) But now i found your nice tool and want to use it for an even better version. General Questions: 1. ) I use patch 1.22, how can i pit amai vs usual or my own worldeditor created ai ? And how can i pit my amai version against other amai versions ? 2.) Can i use the worldeditors ai test system ? It is much nicer than setting up tests than usual lan-games since i can set the speed to 4 times as fast or faster if i want to check on lategamebehavior. 3.) Can i force a strategy change at a specific tech level ? Like i build a standart tier 1 and as soon as tier 2 is completed the ai chooses what way to go. Else i have to build for every tier 1 / 2 strategy also the higher tiers which shouldnt be used anyway. 4.) I dont need it right now, but out of curiosity: How do i add additional races to amai so that can create my own naga race for example and give it some strategies to pit it against the other races. (for early balance tests eg) And finally i have bug report, it happend during a game of amai 2.54b Orc(RomuLus) vs Human (Xenon) on BootyBay. The orc went blademaster first and started to harrass the humans goldworker while the human went out to get his fastexe. Now the human didnt do anything except calling one militia at a time to attack the blademaster (the main army was on the way to the creepspot of the exe) and the blader killed killed more than 10 worker before the human walked back. In my opinion the human should have either cancel his attempt to fast expand and tp home or creep the mine and tp afterwards. During creeping he should call more militia / run away with attacked workers. Also a really early arcane tower close to the mine would have helped. (he build an arcane tower but on the boarder of his city, dont know if you can adjust the building placement) Anyway after creeping he really had to tp ... Well thats it for now, hope your still active and read (and answer) this, Leartes EDIT: One additional question, is it possible for a certain profile to start with a specific strategy ? And can i force a profil to only use some strategies ? Like when you want the players to have really strong characteristics . For example you create two orc profiles, one will concentrate on brute force and build lots of Grunts early. Maybe try to rush or creep alot and later add raider, kodos, katas maybe spirit walker (depending on what is needed) but doesnt like to build many ranged units. And another orc profil tends to fasttech more likely and doesnt pick an aggressiv tier 1 strategy. So you have several possible strategies for a single profil but you dont pick any that dont fit the character at all. This way the two profiles can pick strategies that fit best to them in terms of styl and aggression etc.

1,2) First import elf.ai, human.ai, orc.ai, undead.ai, common.ai from TFT AMAI (available in DE or PE editions) into your map with warcrafts map editor and change there directory so they are in the "Scripts/" directory and not the "war3mapimported/" directory. Now i assume the test AI feature you set one computer to be your custom AI, while any others you leave on standard ai. I havn't ever tested this myself but it should work. Pitting AMAI against other AMAI versions though is very difficult and likely impossible at present and would require heavy modification of the core of AMAI to get working.

3) You cannot force strategies to be re-evaluated as impossible by AMAI but you can force the strategy to particular one using "set strategy = 4" but you will need to work out which number corresponds to which strategy. If orcs have 3 different strategies then they will be numbered from 0-2 etc. The only way to know the numbers is if you have compiled (not optimized) scripts with the DE edition. Then at the top of each elf.ai, human.ai etc is a list of strategies numbers like follows.

Quote:
constant integer STRAT_AoWMix = 0
constant integer STRAT_DryadChim = 1
constant integer STRAT_Talon = 2
constant integer STRAT_DotC = 3
constant integer STRAT_Druids = 4
constant integer STRAT_Hippo = 5
constant integer STRAT_MGDryads = 6
constant integer STRAT_Ballista = 7
constant integer STRAT_Archer = 8
constant integer STRAT_MassHuntress = 9
constant integer STRAT_MassHD = 10
constant integer STRAT_NormalElf = 11
constant integer STRAT_DynamicTest = 12
constant integer STRAT_NEAntiTower = 13
constant integer STRAT_HippoChim = 14
constant integer STRAT_AoLMix = 15

4) Is very difficult advanced stuff (unless you are replacing a current race with naga) to implement but you need to add them to the TXT/races.txt of the DE edition. Fill that in then copy one of the other races folder paste and name that NAGA or whatever you called it in the races.txt. In the standardunits.txt all the units of naga to be used need to be filled in so AMAI can use naga units. Now you can choose NAGA in the strategy editor and work from there on strategies and settings. You will have to manually add the complied script to your map and then use triggers to use the AI as obviously you can't choose NAGA at the game menu.

The bug reports are noted.

You cannot start a specific profile with specific strategies. Well again not without coding it in directly into AMAI's core code which would not be quick to do.
__________________
Strategy Master is offline   Reply With Quote
Old 12-04-2008, 12:35 PM   #3
Leartes
User
 
Join Date: Dec 2008
Posts: 2

Leartes has little to show at this moment (0)

Default

Thanks for now,

i guess amai is little to complex for what i have in mind :-(

I really like the improved behavior but at he moment i would like to have a way to create personality for an ai oponent and try to get the strongest ai possible. Just created some more strat using the normal ai editor though it lacks the random aspect so replayability decreases...

Thanks for your time, will definitly keep looking at the forum for new releases etc.
Leartes is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 12:45 AM.


Affiliates
The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2019, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services