A newbie AI "Tawastian1.0"

Upload your latest creations here.
Please note that by posting comments to posts in this forum you forfeit your personal copyright on whatever you post. AI Scripters reserves the right to re-use objective comments in script reviews without requiring the posting author's permission. Credit, where appropriate will be given in such cases.
talu
Forumer
Posts: 6
Joined: Mon Oct 10, 2005 2:39 am

Post by talu »

Hello all,

I'd appreciate your comments about my AI "Tawastian".

I've mainly playtested it with Vikings and Britons; there is some
logic for Aztecs and Goths, too.

If there is room in the unofficial Tournament, I'd like to participate...
maybe with the following settings, if it is OK:
If my enemy is Aztec, Tawastian wants to be Aztec, too; against all
others it can be either Viking or Briton.
Or if this is not OK, it can play Viking in all games. Or Aztecs.

It has played with some moderate success against many older AIs, and
has even had some unanticipated successes against some entries from
some recent tournaments.

--talu
from Tawastia

talu
Forumer
Posts: 6
Joined: Mon Oct 10, 2005 2:39 am

Post by talu »

new attempt with the ZIP file
Attachments
Tawastian1.0.zip
(58.9 KiB) Downloaded 278 times

User avatar
Vader
Waheguru
Posts: 1133
Joined: Sat May 22, 2004 4:50 am
Contact:

Post by Vader »

If my enemy is Aztec, Tawastian wants to be Aztec, too; against all
others it can be either Viking or Briton.
Or if this is not OK, it can play Viking in all games. Or Aztecs.
This is not possible ;) ... you just can to choose two different civs for the AI. It will count as two different entries then. So it will play two times in a round. But you have to decide before the tourney start ;)

welcome at aiscripters btw :)

- i'll test your ai

P.S.: the first minutes are looking very promising :)

http://forums.aiscripters.com/viewtopic.php?t=44
(here are the gerneral tournament rules)
"Is it what the teacher teaches or what the student learns?"

Mabuse
Waheguru
Posts: 3238
Joined: Thu Nov 06, 2003 3:28 pm

Post by Mabuse »

nice - you have possibilities:

1.) enter this AI as Aztec

2.) enter this Ai as Viking

3.) enter two Ai, one play Viking, the other Aztec

4.) enter one AI - Game1 of each Round play as Viking, Game 2 of each Round play as Aztec (or exchange Game numbers)

5.) enter one AI, all even (2,4,6,8 ..) RoundNumber it play Aztec, all uneven Round-Number (1,3,5,7, ..) it play Viking (or another Sheme that divide Viks/Aztec upon the Rounds)

tell me what you chose and i will enter your AI - you have some time left, until your decision i will not download this AI.

HF and welcome !
take seat, shut up, script - have fun

Mabuse
Waheguru
Posts: 3238
Joined: Thu Nov 06, 2003 3:28 pm

Post by Mabuse »

btw, i assume it is non-cheating (cc-commands of any kind are not allowed n this TOurnament) :)

but all entries will be checked anyway
take seat, shut up, script - have fun

User avatar
Vader
Waheguru
Posts: 1133
Joined: Sat May 22, 2004 4:50 am
Contact:

Post by Vader »

i think i better write you the comment after the tourney starts ;)
(not because of personal reasons so that you cannot improve your ai - just because other people might get the chances to use the possible weakness(es) i would tell you)
But it's not bad at all!
"Is it what the teacher teaches or what the student learns?"

talu
Forumer
Posts: 6
Joined: Mon Oct 10, 2005 2:39 am

Post by talu »

Mabuse @ Oct 31 2005, 02:07 PM wrote: btw, i assume it is non-cheating (cc-commands of any kind are not allowed n this TOurnament)  :)

but all entries will be checked anyway
Mabuse:
Tawastian only uses "(cc-" type for player 0 (I've defconsted it to PLAYER-GAIA, though),
like in (cc-players-unit-type-count PLAYER-GAIA c-tree > 5)

There is one (cc-add-resource ...) when building housing:
because I wanted some eye-candy ie. Mongols to build only yurts instead of houses, likewise franks and brits only pavilions etc. so i did
#load-if-defined MONGOL-CIV
;; yurt is 100 wood, compensate by adding 70 wood
(defconst dark-house 713) (defconst dark-house-fix 70)
....
(can-build dark-house) => (build dark-house)(cc-add-resource dark-house-fix)
...

In the 1.0 version "dark-house-fix" is ZERO though for all civilisations and
all civs build just the normal house.

Is this is OK (meaning, i need not change these items) ?
I can squeeze some time to fix them if needed?


4.) enter one AI - Game1 of each Round play as Viking, Game 2 of each Round play as Aztec (or exchange Game numbers)

I like this: the games would be more interesting if Tawastian alternates
civilizations (Viking/Aztec) during every round. So it is OK to run Aztec in game 1
and Viking in game 2. But also maybe the person who runs the given round can
freely choose which civ to play first.
Vader @ Oct 31 2005, 02:11 PM wrote: i think i better write you the comment after the tourney starts
(not because of personal reasons so that you cannot improve your ai - just because other people might get the chances to use the possible weakness(es) i would tell you)
But it's not bad at all!
Vader:
I know there are a lot of weaknesses ;) but i had to let T. take his first steps in the
wide world even if he give me nothing but embarrassement... unless you
think "Tawastian: you are too bad to play in world cyber game" :P: as VNS_Halen says
to him whenever they meet :head:

User avatar
Vader
Waheguru
Posts: 1133
Joined: Sat May 22, 2004 4:50 am
Contact:

Post by Vader »

haha ... VNS_Harlen is a bad guy :D (just meant the ai because of what it is chatting - not accusinge the strategy or whatsoever)

I'm not the one to tell you that your ai is soo bad and has so many bugs - as i have my own problems with my own ai :) ... i just thought i might tell you one or the other thing - nothing that cannot be solved easily. (i suppose your ai is better than mine anyway ;) )
In fact i like what i saw ... it seemed to try to react on the opponent's strategy and that's surely more than my VaderAI can do ...
"Is it what the teacher teaches or what the student learns?"

Mabuse
Waheguru
Posts: 3238
Joined: Thu Nov 06, 2003 3:28 pm

Post by Mabuse »

oh, yes of course checking gaia items is ok :) - i forgot to mention

concerning your "yurt-cheats" i have to tell you that i will cut them out, if you don`t use em with Viking/Aztec it won`t matter anywy.

btw, yurts need also longer to build and have fewer hits, so it will be the weaker nevertheless with them

however funny idea - hope it don`t impact the selected CIV though
take seat, shut up, script - have fun

talu
Forumer
Posts: 6
Joined: Mon Oct 10, 2005 2:39 am

Post by talu »

oh, yes of course checking gaia items is ok  - i forgot to mention  concerning your "yurt-cheats" i have to tell you that i will cut them out, if you don`t use em with Viking/Aztec it won`t matter anywy.  btw, yurts need also longer to build and have fewer hits, so it will be the weaker nevertheless with them  however funny idea - hope it don`t impact the selected CIV though

About yurts... I also wanted to prove I can win the standard AI even with this handicap.

I've just sent you an email with Tawastian 1.0.1, it has the following changes:
- "cc-add-resource" commented out in house-building rules
- took away some superfluous "(chat-local-to-self" -stuff to make T. a bit less noisy
Other than this, it is the same one as posted earlier today.

Post Reply