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