Skip to content

Commit

Permalink
Remove several deprecated recruitment-related aspects
Browse files Browse the repository at this point in the history
- number_of_possible_recruits_to_force_recruit
- recruitment_ignore_bad_combat
- recruitment_ignore_bad_movement
  • Loading branch information
CelticMinstrel authored and mattsc committed Mar 22, 2016
1 parent ca8cb3b commit 7c9e24a
Show file tree
Hide file tree
Showing 69 changed files with 0 additions and 307 deletions.
2 changes: 0 additions & 2 deletions data/ai/micro_ais/scenarios/The_Elves_Besieged.cfg
Expand Up @@ -76,8 +76,6 @@
#against elves, and just do it
#define EBESIEGED_RECRUITMENT
[ai]
recruitment_ignore_bad_movement=yes
recruitment_ignore_bad_combat=yes
simple_targeting=yes
[/ai]
#enddef
Expand Down
3 changes: 0 additions & 3 deletions data/ai/utils/default_config.cfg
Expand Up @@ -61,12 +61,9 @@
{DEFAULT_ASPECT_EMPTY leader_goal}
{DEFAULT_ASPECT_VALUE leader_ignores_keep no}
{DEFAULT_ASPECT_VALUE leader_value 3.0}
{DEFAULT_ASPECT_VALUE number_of_possible_recruits_to_force_recruit 3.1}
{DEFAULT_ASPECT_VALUE passive_leader no}
{DEFAULT_ASPECT_VALUE passive_leader_shares_keep no}
{DEFAULT_ASPECT_VALUE recruitment_diversity 2.0}
{DEFAULT_ASPECT_VALUE recruitment_ignore_bad_combat no}
{DEFAULT_ASPECT_VALUE recruitment_ignore_bad_movement no}
[aspect]
id=recruitment_instructions
engine=cpp
Expand Down
Expand Up @@ -68,7 +68,6 @@
facing=se

[ai]
recruitment_ignore_bad_combat=yes
villages_per_scout=6
aggression=0.5
caution=0.25
Expand Down
3 changes: 0 additions & 3 deletions data/campaigns/Dead_Water/scenarios/10_The_Flaming_Sword.cfg
Expand Up @@ -127,9 +127,6 @@
side=2
[ai]
recruitment_pattern=fighter,fighter,archer,scout,scout,scout # The scouts are to get more ghost variants.
# Ignoring these two makes for a more interesting variety of enemies:
recruitment_ignore_bad_combat=yes
recruitment_ignore_bad_movement=yes
scout_village_targeting=5
[goal]
name=protect_location
Expand Down
Expand Up @@ -80,7 +80,6 @@
team_name=orcs
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_pattern=scout,fighter,fighter,archer,mixed fighter
[/ai]
[ai]
Expand Down Expand Up @@ -115,7 +114,6 @@
team_name=orcs
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_pattern=scout,fighter,fighter,archer,mixed fighter
[/ai]
[ai]
Expand Down Expand Up @@ -150,7 +148,6 @@
team_name=orcs
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_pattern=scout,fighter,fighter,archer,mixed fighter
[/ai]
[ai]
Expand Down
Expand Up @@ -60,7 +60,6 @@
[ai]
village_value=0.2
villages_per_scout=10
number_of_possible_recruits_to_force_recruit=1
[goal]
name=target
[criteria]
Expand Down
Expand Up @@ -97,7 +97,6 @@
[ai]
aggression=-0.2
grouping=defensive
recruitment_ignore_bad_combat=yes
recruitment_pattern=fighter,fighter,fighter,archer,scout
[/ai]
[/side]
Expand Down
1 change: 0 additions & 1 deletion data/campaigns/Eastern_Invasion/scenarios/11_Captured.cfg
Expand Up @@ -50,7 +50,6 @@
[ai]
passive_leader=yes
grouping=no
recruitment_ignore_bad_combat=yes
aggression=0.4
[aspect]
id=attacks
Expand Down
3 changes: 0 additions & 3 deletions data/campaigns/Eastern_Invasion/scenarios/12_Evacuation.cfg
Expand Up @@ -49,7 +49,6 @@
user_team_name=_"Evil"
[ai]
recruitment_pattern=fighter,scout,fighter,scout
recruitment_ignore_bad_combat=yes
[/ai]
{FLAG_VARIANT6 ragged}
[/side]
Expand All @@ -72,7 +71,6 @@
user_team_name=_"Evil"
[ai]
recruitment_pattern=fighter,scout
recruitment_ignore_bad_combat=yes
[/ai]
[/side]

Expand All @@ -95,7 +93,6 @@
user_team_name=_"Evil"
[ai]
recruitment_pattern=fighter,archer,fighter,mixed fighter
recruitment_ignore_bad_combat=yes
[/ai]
{FLAG_VARIANT6 ragged}
[/side]
Expand Down
Expand Up @@ -168,8 +168,6 @@
#against elves, and just do it
#define EBESIEGED_RECRUITMENT
[ai]
recruitment_ignore_bad_movement=yes
recruitment_ignore_bad_combat=yes
simple_targeting=yes
[/ai]
#enddef
Expand Down
Expand Up @@ -63,8 +63,6 @@
[ai]
grouping=no
simple_targeting=yes
recruitment_ignore_bad_combat=yes
recruitment_ignore_bad_movement=yes
aggression=1.0
caution=-5.0
{ATTACK_DEPTH 1 3 5}
Expand Down
Expand Up @@ -226,7 +226,6 @@ This is the story of Kalenz, Landar, and of the Elves in the first days of the h
[ai]
{AI_NO_SCOUTS}
{AI_SCALE_ATTACK_DEPTH_BY_DIFFICULTY}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_ignore_bad_movement yes}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern "fighter,fighter,archer,fighter,fighter,mixed fighter,scout"}
{AI_SIMPLE_ALWAYS_ASPECT aggression 0.75}
{AI_SIMPLE_ALWAYS_ASPECT caution 0}
Expand Down Expand Up @@ -255,7 +254,6 @@ This is the story of Kalenz, Landar, and of the Elves in the first days of the h
{ai/aliases/stable_singleplayer.cfg}
[ai]
{AI_NO_SCOUTS}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_ignore_bad_movement yes}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern "fighter,mixed fighter,archer,mixed fighter"}
{AI_SIMPLE_ALWAYS_ASPECT grouping no}
{AI_SCALE_ATTACK_DEPTH_BY_DIFFICULTY}
Expand Down Expand Up @@ -303,7 +301,6 @@ This is the story of Kalenz, Landar, and of the Elves in the first days of the h
[ai]
{AI_NO_SCOUTS}
{AI_SCALE_ATTACK_DEPTH_BY_DIFFICULTY}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_ignore_bad_movement yes}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern "scout"}
{AI_SIMPLE_ALWAYS_ASPECT aggression 0.75}
{AI_SIMPLE_ALWAYS_ASPECT village_value 0}
Expand Down Expand Up @@ -341,7 +338,6 @@ This is the story of Kalenz, Landar, and of the Elves in the first days of the h
[ai]
{AI_NO_SCOUTS}
{AI_SCALE_ATTACK_DEPTH_BY_DIFFICULTY}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_ignore_bad_movement yes}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern "fighter,scout,fighter,fighter,archer,scout,mixed fighter"}
{AI_SIMPLE_ALWAYS_ASPECT aggression 0.75}
{AI_SIMPLE_ALWAYS_ASPECT caution 0}
Expand Down
Expand Up @@ -122,7 +122,6 @@ Chapter Two"
#endif
{ai/aliases/stable_singleplayer.cfg}
[ai]
{AI_SIMPLE_ALWAYS_ASPECT recruitment_ignore_bad_movement yes}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern "scout, scout, healer"}
{AI_SIMPLE_ALWAYS_ASPECT aggression 0.75}
[/ai]
Expand All @@ -149,7 +148,6 @@ Chapter Two"
#endif
{ai/aliases/stable_singleplayer.cfg}
[ai]
{AI_SIMPLE_ALWAYS_ASPECT recruitment_ignore_bad_movement yes}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern "scout, scout, healer"}
[/ai]
[/side]
Expand Down
Expand Up @@ -122,7 +122,6 @@
{ai/aliases/stable_singleplayer.cfg}
[ai]
{AI_NO_SCOUTS}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_ignore_bad_movement yes}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern "scout, scout, healer"}
{AI_SIMPLE_ALWAYS_ASPECT aggression 0.75}
[goal]
Expand Down
Expand Up @@ -130,7 +130,6 @@

{ai/aliases/stable_singleplayer.cfg}
[ai]
{AI_SIMPLE_ALWAYS_ASPECT recruitment_ignore_bad_movement yes}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern "fighter,fighter,mixed fighter"}
[/ai]
[/side]
Expand Down Expand Up @@ -162,7 +161,6 @@
{ai/aliases/stable_singleplayer.cfg}
[ai]
{AI_NO_SCOUTS}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_ignore_bad_movement yes}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern "fighter, archer, scout, fighter, fighter, archer, mixed fighter"}
{AI_SIMPLE_ALWAYS_ASPECT grouping offensive}
{AI_SIMPLE_ALWAYS_ASPECT aggression 0.75}
Expand Down Expand Up @@ -194,7 +192,6 @@
{ai/aliases/stable_singleplayer.cfg}
[ai]
{AI_NO_SCOUTS}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_ignore_bad_movement yes}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern "scout,fighter,fighter,archer,mixed fighter"}
[/ai]
[/side]
Expand Down Expand Up @@ -224,7 +221,6 @@
{ai/aliases/stable_singleplayer.cfg}
[ai]
{AI_NO_SCOUTS}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_ignore_bad_movement yes}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern "fighter"}
[/ai]
[/side]
Expand Down
Expand Up @@ -266,7 +266,6 @@
{ai/aliases/stable_singleplayer.cfg}
[ai]
{AI_NO_SCOUTS}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_ignore_bad_movement yes}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern "scout,fighter,fighter,archer,mixed fighter"}
{AI_SIMPLE_NIGHT_ASPECT aggression 0.75}
{AI_SIMPLE_NIGHT_ASPECT caution 0.0}
Expand Down Expand Up @@ -295,8 +294,6 @@
{ai/aliases/stable_singleplayer.cfg}
[ai]
{AI_NO_SCOUTS}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_ignore_bad_movement yes}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_ignore_bad_combat yes}
#ifdef EASY
{AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern "fighter"}
#else
Expand Down
Expand Up @@ -143,8 +143,6 @@ Chapter Three"
#endif
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_ignore_bad_combat=yes
#ifdef EASY
recruitment_pattern=scout, scout, healer, scout
#else
Expand Down Expand Up @@ -176,8 +174,6 @@ Chapter Three"
#endif
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_ignore_bad_combat=yes
#ifdef EASY
recruitment_pattern=scout, scout, healer, scout
#else
Expand Down
Expand Up @@ -129,7 +129,6 @@
#endif
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
#ifdef EASY
recruitment_pattern=fighter
#else
Expand All @@ -155,7 +154,6 @@
user_team_name= _ "Creatures"
recruit=Gryphon
[ai]
recruitment_ignore_bad_movement=yes
recruitment_pattern=scout
grouping=offensive
aggression=0.75
Expand Down
Expand Up @@ -145,7 +145,6 @@ Chapter Four"

[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_pattern=scout,fighter,fighter,archer,mixed fighter
{ATTACK_DEPTH 4 5 6}
[/ai]
Expand Down
Expand Up @@ -114,7 +114,6 @@
#endif
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_pattern=scout,fighter,fighter,archer,mixed fighter
[goal]
name=protect_unit
Expand Down Expand Up @@ -152,7 +151,6 @@
#endif
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_pattern=scout,fighter,fighter,archer,mixed fighter
[goal]
name=protect_unit
Expand Down Expand Up @@ -188,7 +186,6 @@
#endif
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_pattern=scout,fighter,fighter,archer,mixed fighter
[goal]
name=protect_unit
Expand Down Expand Up @@ -226,7 +223,6 @@
#endif
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_pattern=scout,fighter,fighter,archer,mixed fighter
[goal]
name=protect_unit
Expand Down
Expand Up @@ -124,7 +124,6 @@

[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_pattern=scout,fighter,fighter,archer,mixed fighter
[/ai]
[ai]
Expand Down Expand Up @@ -162,7 +161,6 @@
#endif
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_pattern=fighter,fighter,mixed fighter,archer,scout,fighter
aggression=0.75
[/ai]
Expand Down Expand Up @@ -197,7 +195,6 @@
#endif
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
recruitment_pattern=scout,fighter,fighter,archer,mixed fighter
[/ai]
[ai]
Expand Down
Expand Up @@ -137,7 +137,6 @@ Chapter Five"
#endif

[ai]
recruitment_ignore_bad_movement=yes
#ifdef EASY
recruitment_pattern=scout,scout,healer,scout
#else
Expand Down Expand Up @@ -169,7 +168,6 @@ Chapter Five"
#endif

[ai]
recruitment_ignore_bad_movement=yes
#ifdef EASY
recruitment_pattern=scout, healer, scout
#else
Expand Down
Expand Up @@ -257,7 +257,6 @@
{GOLD 200 320 350}
[ai]
# {HIGH_PRIORITY_TARGETS}
recruitment_ignore_bad_movement=yes
#ifndef HARD
recruitment_pattern=archer,fighter
#else
Expand Down Expand Up @@ -296,7 +295,6 @@
{GOLD 300 400 500}
[ai]
{HIGH_PRIORITY_TARGETS}
recruitment_ignore_bad_movement=yes
#ifndef HARD
recruitment_pattern=archer, fighter
#else
Expand Down Expand Up @@ -331,7 +329,6 @@
{GOLD 200 250 300}
[ai]
{HIGH_PRIORITY_TARGETS}
recruitment_ignore_bad_movement=yes
#ifndef HARD
recruitment_pattern=archer, fighter
#else
Expand Down
Expand Up @@ -204,7 +204,6 @@
[ai]
passive_leader=yes
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
#ifndef HARD
recruitment_pattern=archer, fighter
#else
Expand Down Expand Up @@ -245,7 +244,6 @@
{GOLD 180 220 260}
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
#ifndef HARD
recruitment_pattern=archer, fighter
#else
Expand Down
Expand Up @@ -92,7 +92,6 @@
user_team_name= _ "Enemies"
[ai]
{NO_SCOUTS}
recruitment_ignore_bad_movement=yes
#ifdef EASY
recruitment_pattern=fighter, archer, fighter
#else
Expand Down

0 comments on commit 7c9e24a

Please sign in to comment.