wesnoth/data/ai/dev/testing_ai_default.cfg
Iurii Chernyi afb3c3ce78 new candidate action:
...testing_ai_default::default_move_to_targets_phase - copy of default
ai movements and targeting phase, as a candidate action
2009-10-09 00:11:27 +00:00

75 lines
2.6 KiB
INI

#textdomain wesnoth
[ai]
id=testing_ai_default
description=RCA AI
version=10703
[aspect] #that is an aspect
id=aggression #it's id is aggression. Id of an aspect must be one of well-known ids (see AI_Module page in the wiki)
#we can override aspect config here, but it is better to leave default composite_aspect in here, and add [facet]'s instead
[facet]#we add a facet to this aspect
id=base_value #this is an arbitrary facet id. it is not needed, and will be useful later, when [modify_ai] will be available
engine=cpp #this facet
name=standard_aspect #this is the default
value="0.4" #this is the value of this aspect.
# we can put time_of_day or turns restriction there, as well. The rule is 'first facet that is active is used'
[/facet]
#we can put other [facet]'s in there
[/aspect]
[stage]
engine=cpp
name=testing_ai_default::candidate_action_evaluation_loop
# [candidate_action]
# engine=cpp
# name=testing_ai_default::goto_phase
# score=200
# [/candidate_action]
[candidate_action]
engine=cpp
name=testing_ai_default::aspect_recruitment_phase
score=100
[/candidate_action]
[candidate_action]
engine=cpp
name=testing_ai_default::move_leader_to_goals_phase
score=80
[/candidate_action]
[candidate_action]
engine=cpp
name=testing_ai_default::move_leader_to_keep_phase
score=70
[/candidate_action]
[candidate_action]
engine=cpp
name=testing_ai_default::combat_phase
score=40
[/candidate_action]
[candidate_action]
engine=cpp
name=testing_ai_default::get_healing_phase
score=30
[/candidate_action]
[candidate_action]
engine=cpp
name=testing_ai_default::get_villages_phase
score=25
[/candidate_action]
[candidate_action]
engine=cpp
name=testing_ai_default::retreat_phase
score=20
[/candidate_action]
[candidate_action]
engine=cpp
name=testing_ai_default::default_move_to_targets_phase
score=15
[/candidate_action]
# [candidate_action]
# engine=cpp
# name=testing_ai_default::leader_control_phase
# score=0
# [/candidate_action]
[/stage]
#note that there's no fallback stage there - this is a complete ai implemented as an RCA
[/ai]