Dynamic scripting is an unsupervised online learning
technique for commercial computer games. In dynamic
scripting, the rules used in a script that controls an
opponent are extracted from an adaptive rule-base that
contains only manually designed rules. The probability
that a rule is selected for a script is influenced by a
weight value that is associated with each rule. The rule-
base adapts by changing the weight values to reflect
the success or failure rate of the corresponding rules in
scripts. Successful rules are rewarded with a weight
increase, whereas rules that lead to failure are punished
with a weight decrease.
This patch includes all relevant lua files for dynamic
scripting to work (rulebase.lua, rulebase_weighst.lua,
dynamic_scripting.lua). The text in
rulebase_weighst.lua.txt can be used to reset the
values in rulebase_weighst.lua to their initial values
(untrained). Readme.txt is a VERY small guide how to
use dynamic scripting.
Dynamic Scripting for Wargus