LoW::7: fixed a recruitment pattern bug.

This commit is contained in:
Fabian Müller 2008-12-20 22:20:53 +00:00
parent b436965d60
commit c613531c4a

View File

@ -49,12 +49,10 @@
{GOLD 250 300 400}
[ai]
#TODO finetune the ai
#time_of_day=dusk,dawn,morning,afternoon,first_watch,second_watch
passive_leader=yes
villages_per_scout=20
aggression=0.0
caution=0.5
caution=0.75
grouping=defensive
[/ai]
[/side]
@ -75,12 +73,9 @@
[/unit]
controller=ai
[ai]
#TODO finetune the ai
#time_of_day=dusk,dawn,morning,afternoon,first_watch,second_watch
#passive_leader=yes
villages_per_scout=20
aggression=0.0
caution=0.5
caution=0.75
grouping=defensive
[/ai]
{GOLD 280 300 400}
@ -90,6 +85,8 @@
#enemies
[side]
side=4
team_name=orcs
no_leader=yes
[unit]
type=Orcish Warlord
@ -100,22 +97,25 @@
x=41
y=13
[/unit]
side=4
{RECRUIT_ORC}
{GOLD 550 700 850}
team_name=orcs
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_pattern=scout,fighter,fighter,archer,mixed fighter
aggression=0.75
caution=0.0
attack_depth=5
grouping=defensive
[/ai]
[ai]
time_of_day=dusk,first_watch,second_watch
aggression=0.75
caution=0.0
attack_depth=5
grouping=no
grouping=offensive
[/ai]
{INCOME 4 8 12}
[/side]
@ -151,7 +151,9 @@
{INCOME 4 8 12}
[/side]
[side]
side=6
no_leader=yes
team_name=orcs
[unit]
type=Great Troll
id=Truugl
@ -160,7 +162,6 @@
x=19
y=8
[/unit]
side=6
#ifdef EASY
recruit=Troll Whelp
#endif
@ -173,10 +174,10 @@
{GOLD 350 520 580}
{INCOME 4 8 12}
team_name=orcs
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_ignore_bad_combat=yes
#ifdef EASY
recruitment_pattern=fighter
#else
@ -184,14 +185,23 @@
#endif
[/ai]
[ai]
recruitment_ignore_bad_movement=yes
recruitment_ignore_bad_combat=yes
#ifdef EASY
recruitment_pattern=fighter
#else
recruitment_pattern=fighter, mixed fighter, fighter, mixed fighter, fighter
#endif
time_of_day=dusk,first_watch,second_watch
aggression=0.75
caution=0.0
attack_depth=5
grouping=no
grouping=offensive
[/ai]
[/side]
[side]
side=7
team_name=orcs
no_leader=yes
[unit]
type=Orcish Warlord
@ -203,9 +213,6 @@
y=42
[/unit]
side=7
team_name=orcs
{RECRUIT_ORC}
{GOLD 400 550 600}
{INCOME 4 8 12}
@ -220,7 +227,7 @@
aggression=0.75
caution=0.0
attack_depth=5
grouping=no
grouping=offensive
[/ai]
[/side]
@ -280,9 +287,9 @@
[event]
name=start
#TODO the translation "_" is wrong at that position
{SET_LABEL 33 2 (_ "River Telfar")}
#TODO - That locations should be translated.
#Set locations known to the ai_controller
#{AI_LOCATION ID NAME RANGE X Y}
{AI_LOCATION kkalenz "Keep of Kalenz" 1 3 11}
@ -332,6 +339,11 @@
[/message]
[message]
id=Kalenz
[option]
message= _ "These are hardened orc and Troll veterans. Men, prepare for a long, hard fight..."
[/option]
[option]
message= _ "I see the orcish army is big but consists mostly of inexperienced fighters. This should not take too long...."
### but gave orcs some more troops..
@ -389,11 +401,23 @@
{INCOME 4 8 12}
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
#ifdef EASY
recruitment_pattern=fighter
#else
recruitment_pattern=fighter, mixed fighter, fighter, mixed fighter, fighter
#endif
recruitment_ignore_bad_movement=yes
recruitment_ignore_bad_combat=yes
[/ai]
[ai]
time_of_day=dusk,first_watch,second_watch
recruitment_ignore_bad_combat=yes
recruitment_ignore_bad_movement=yes
#ifdef EASY
recruitment_pattern=fighter
#else
recruitment_pattern=fighter, mixed fighter, fighter, mixed fighter, fighter
#endif
aggression=0.75
caution=0.0
attack_depth=1
@ -424,14 +448,11 @@
[/modify_side]
[/command]
[/option]
[option]
message= _ "These are hardened orc and Troll veterans. Men, prepare for a long, hard fight..."
[/option]
[/message]
[/event]
#ask the player if he wants to controll the ai
{ASK_AI}
# {ASK_AI}
###AI_CONTROLLER FRIEND_TEAM FRIEND_SIDES ENEMY_TEAM ENEMY_SIDES
{AI_CONTROLLER kalenz 1,2,3 orcs 4,5,6,7}