Apply Patch #2238 by iwontbecreative, convert tutorial to new AI config.

bugs in the patch fixed.
This commit is contained in:
Iurii Chernyi 2011-01-04 16:32:44 +00:00
parent 6647df3a05
commit 15afc059b1
2 changed files with 22 additions and 13 deletions

View file

@ -91,18 +91,22 @@ border_size=1
no_leader=yes
side=2
controller=ai
{ai/aliases/stable_singleplayer.cfg}
[ai]
passive_leader=no
caution=0
aggression=5
[target]
id=student
{AI_SIMPLE_ALWAYS_ASPECT caution 0}
{AI_SIMPLE_ALWAYS_ASPECT aggression 1}
[goal]
[criteria]
id=student
[/criteria]
value=10
[/target]
[target]
id=Delfador
[/goal]
[goal]
[criteria]
id=Delfador
[/criteria]
value=.1
[/target]
[/goal]
[/ai]
[/side]

View file

@ -309,11 +309,16 @@
canrecruit=yes
recruit=Orcish Grunt,Wolf Rider,Orcish Archer
gold=0
{ai/aliases/stable_singleplayer.cfg}
[ai]
turns=1-6
# When we unleash you, you *will* attack.
aggression=1.0
passive_leader=no
[aspect]
id=aggression
[facet]
# When we unleash you, you *will* attack.
value=1.0
turns=1-6
[/facet]
[/aspect]
[/ai]
[/side]