wesnoth/data/ai/dev/testing_ai_default_test_targeting.cfg
2009-11-23 14:39:03 +00:00

87 lines
3.0 KiB
INI

#textdomain wesnoth
#this AI is for testing of experimental changes to targeting phase
[ai]
id=testing_ai_default_test_targeting
description=RCA AI (experimental targeting)
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
max_score=200
score=200
[/candidate_action]
[candidate_action]
engine=cpp
name=testing_ai_default::aspect_recruitment_phase
max_score=100
score=100
[/candidate_action]
[candidate_action]
engine=cpp
name=testing_ai_default::move_leader_to_goals_phase
max_score=80
score=80
[/candidate_action]
[candidate_action]
engine=cpp
name=testing_ai_default::move_leader_to_keep_phase
max_score=70
score=70
[/candidate_action]
[candidate_action]
engine=cpp
name=testing_ai_default::combat_phase
max_score=40
score=40
[/candidate_action]
[candidate_action]
engine=cpp
name=testing_ai_default::get_healing_phase
max_score=30
score=30
[/candidate_action]
[candidate_action]
engine=cpp
name=testing_ai_default::get_villages_phase
max_score=25
score=25
[/candidate_action]
[candidate_action]
engine=cpp
name=testing_ai_default::retreat_phase
max_score=20
score=20
[/candidate_action]
[candidate_action]
engine=cpp
name=testing_ai_default::testing_move_to_targets_phase
max_score=15
score=15
[/candidate_action]
# [candidate_action]
# engine=cpp
# name=testing_ai_default::leader_control_phase
# max_score=0
# score=0
# [/candidate_action]
[/stage]
#note that there's no fallback stage there - this is a complete ai implemented as an RCA
[/ai]