[wesnoth-commits] [wesnoth/wesnoth] 4fe45b: Patrol Micro AI: add two optional parameters
mattsc
noreply at github.com
Wed Mar 24 15:05:10 UTC 2021
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 4fe45bf22adf80ca4e09624a61d804f72142fb65
https://github.com/wesnoth/wesnoth/commit/4fe45bf22adf80ca4e09624a61d804f72142fb65
Author: mattsc <mattsc000 at gmail.com>
Date: 2021-03-21 (Sun, 21 Mar 2021)
Changed paths:
M data/ai/micro_ais/cas/ca_patrol.lua
M data/ai/micro_ais/mai-defs/patrol.lua
Log Message:
-----------
Patrol Micro AI: add two optional parameters
attack_range: the patrol interrupts its route to attack enemies within this distance, not just enemies that it happens to end up next to
attack_invisible_enemies: include invisible enemies when considering whether there are enemies within attack_range
The default behavior is unchanged.
Commit: af86d00e917577ec4ef16d30c67f7de4749ca246
https://github.com/wesnoth/wesnoth/commit/af86d00e917577ec4ef16d30c67f7de4749ca246
Author: mattsc <mattsc000 at gmail.com>
Date: 2021-03-21 (Sun, 21 Mar 2021)
Changed paths:
M data/campaigns/Legend_of_Wesmere/scenarios/chapter4/16_The_Chief_Must_Die.cfg
Log Message:
-----------
LoW The Chief Must Die: replace Formula AI with Micro AI
Formula AI is not maintained any more and will be removed in the future. This replaces the Patrol FAI use in this scenario with a Patrol Micro AI.
Note that the FAI guard_radius=3 is equivalent to the MAI attack_range=4 as the former is the distance to the hex from which the patrol attacks, while the latter is the distance to the enemy.
Commit: 4562bbae56e711e7a3afb174b6bfdcbacc5fdd83
https://github.com/wesnoth/wesnoth/commit/4562bbae56e711e7a3afb174b6bfdcbacc5fdd83
Author: mattsc <mattsc000 at gmail.com>
Date: 2021-03-21 (Sun, 21 Mar 2021)
Changed paths:
M data/schema/core/actionwml.cfg
M data/tools/emacs_mode/wesnoth-wml-data.el
Log Message:
-----------
Add new Micro AI parameters to schema and emacs_mode
Commit: f462416111de1db182ca75080ecd44167a9fa116
https://github.com/wesnoth/wesnoth/commit/f462416111de1db182ca75080ecd44167a9fa116
Author: mattsc <mattsc000 at gmail.com>
Date: 2021-03-21 (Sun, 21 Mar 2021)
Changed paths:
R data/ai/dev/formula_ai.cfg
R data/ai/dev/formula_ai_poisoning.cfg
Log Message:
-----------
Remove MP dev (debug) AIs
This is part of removing Formula AI uses from mainline. These are just small experimental additions to the default AI that have been superseded by more recent additions to the AI.
Commit: 92d22f18e6dd546a044b0423df697bb4218c108a
https://github.com/wesnoth/wesnoth/commit/92d22f18e6dd546a044b0423df697bb4218c108a
Author: mattsc <mattsc000 at gmail.com>
Date: 2021-03-21 (Sun, 21 Mar 2021)
Changed paths:
M data/ai/micro_ais/scenarios/guardians.cfg
Log Message:
-----------
Remove Home Guardian Formula AI from Guardians test scenario
This is part of removing Formula AI uses from mainline.
Commit: 40867582143cacc8d74814b4ace140f605fdb1df
https://github.com/wesnoth/wesnoth/commit/40867582143cacc8d74814b4ace140f605fdb1df
Author: mattsc <mattsc000 at gmail.com>
Date: 2021-03-21 (Sun, 21 Mar 2021)
Changed paths:
M data/ai/micro_ais/scenarios/lurkers.cfg
Log Message:
-----------
Remove Formula AI lurkers from Lurkers test scenario
This is part of removing Formula AI uses from mainline.
Commit: f1c37f64accbafe8dd52e638d50a8c70172f8abd
https://github.com/wesnoth/wesnoth/commit/f1c37f64accbafe8dd52e638d50a8c70172f8abd
Author: mattsc <mattsc000 at gmail.com>
Date: 2021-03-24 (Wed, 24 Mar 2021)
Changed paths:
R data/ai/dev/formula_ai.cfg
R data/ai/dev/formula_ai_poisoning.cfg
M data/ai/micro_ais/cas/ca_patrol.lua
M data/ai/micro_ais/mai-defs/patrol.lua
M data/ai/micro_ais/scenarios/guardians.cfg
M data/ai/micro_ais/scenarios/lurkers.cfg
M data/campaigns/Legend_of_Wesmere/scenarios/chapter4/16_The_Chief_Must_Die.cfg
M data/schema/core/actionwml.cfg
M data/tools/emacs_mode/wesnoth-wml-data.el
Log Message:
-----------
Merge pull request #5630 from mattsc/remove_fai_uses
Remove Formula AI uses
Compare: https://github.com/wesnoth/wesnoth/compare/124adb308f40...f1c37f64accb
More information about the Commits
mailing list