mattsc
f57485a8c0
Add conditional inclusion of AI macros to AI cfgs in data/ai
...
In normal MP and SP games, these macros are defined previously and
including them here produces unnecessary overhead. However, they are
not defined when an AI MP game is started from the commandline with the
-m and --ai-config options.
2015-01-11 08:47:33 -08:00
Ignacio R. Morelle
277402966a
Remove inclusions of data/core/macros from data/ai
...
These files do not seem to be preprocessed separately from the rest,
resulting in data/core/macros being included twice for no obvious gain.
2015-01-10 13:15:57 -03:00
Kevin_Xi
cb482a38fc
Register the new stage and update build files
2014-08-23 01:12:51 +08:00
mattsc
c0ee2c8e87
Add wmllint spelling exceptions for files in data/ai/
2013-11-02 20:20:10 -07:00
mattsc
46bf12a523
Old AIs in ai/dev/: change descriptions displayed in MP selection menu
...
These are the AIs that are only visible in debug mode. They were very
ambiguous and two of them were even exactly the same.
2013-10-31 15:32:21 -07:00
mattsc
9b553b86b5
Fix the old 'Default AI with poisoning formula' development AI
...
None of the RCA AI CAs were included, which means this was effectively
an idle AI.
2013-10-31 14:46:53 -07:00
mattsc
fd29559daa
Fix some indenting in AI recruiting functions
2013-10-26 19:13:35 -07:00
flix
545c9b2057
Hang in new recruitment CA.
...
- Alter macro {AI_CA_RECRUITMENT} to point to the new CA
- Create a new AI cfg file for a stronger AI
- Create a new AI cfg (dev) file for choosing the old recruitment CA in debug mode.
- Alter macro {AI_NO_RECRUITMENT}
2013-09-25 15:32:20 +02:00
Espreon
3f20785d02
Split all of the AI-related strings (except for the AI controller's) into a new 'wesnoth-ai' textdomain. Includes a pot-update for 'wesnoth' as a side effect.
2013-05-22 22:19:43 -04:00
Matthias Schoeck
8f366482a5
Development AIs: Add missing translation marks
...
As found by wmllint
2013-03-04 20:54:45 +00:00
Alexander van Gessel
f4ab3722dc
Apply patch #3570 by mattsc
2012-11-26 23:50:17 +01:00
Riss Aline
104a28654d
Adding new files concerning new AI...
...
...(ai/akihara/recruitment.?pp) and new scenario for the ai_arena_small.
2012-07-13 08:38:01 +00:00
Iurii Chernyi
bbb65ad04e
added experimental recruitment AI...
...
...to the list of ais available in debug mode (launch wesnoth with -d)
2010-11-25 16:28:16 +00:00
Eric S. Raymond
e7d337a676
Reindent mainline.
2010-09-23 13:04:56 +00:00
Iurii Chernyi
5a4e32bb55
add a workaround to convert old usages of 'fallback to default ai'...
...
...to 'fallback to rca ai'
2010-04-29 21:24:50 +00:00
Iurii Chernyi
a260c13fb6
remove lua AI example from the list of MP AIs,
...
...as now it can be tested from within test scenario
2010-02-21 12:26:20 +00:00
Iurii Chernyi
f9b0fdb1f5
Lua AI: redesign, simplified usage, added lua_ai test scenario
2010-02-21 12:24:31 +00:00
Iurii Chernyi
b873f11333
extracted lua ai code into external .lua files
2010-02-17 19:34:35 +00:00
Iurii Chernyi
3815827e90
Allow to write AIs ([stage] components) in Lua.
...
Special thanks to silene for helping with this. Patch #1432
2010-02-15 21:06:42 +00:00
Iurii Chernyi
be416538bb
tweaks and cleanups of available ai configs
2009-12-24 22:40:33 +00:00
Eric S. Raymond
0aa99781cf
Reindent mainline.
2009-11-23 14:39:03 +00:00
Iurii Chernyi
58a415ec83
important speed optimization of candidate action evaluation loop...
...
...ending candidate action evaluation loop if current score is
greater-or-equal than the upper bound of score for remaining candidate
actions
2009-11-11 12:12:10 +00:00
Iurii Chernyi
71a84f6823
forked candidate action:
...
...testing_ai_default::default_move_to_targets_phase into
testing_ai_default::testing_move_to_targets_phase - set up everything
for experiments on ai movement and targeting phase
2009-10-09 00:53:04 +00:00
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
Iurii Chernyi
7d2d62cb33
added macros to use new formula_ai recruitment (experimental!).
...
The simplest way is to include
{AI_SIMPLE_FORMULA_AI_EXPERIMENTAL_RECRUITMENT} in [side][ai]
2009-09-05 22:10:09 +00:00
Iurii Chernyi
afcb29c338
reworked AI macros, added support for moving leader to goal...
...
...as a candidate action, fixed some bugs, changed modify_ai syntax to
make it more resilient to bugs and to allow reuse of subtags
2009-09-03 23:23:37 +00:00
Iurii Chernyi
3e3aa950a8
removed fai recruitment from testing_ai_default
2009-09-02 17:56:12 +00:00
Iurii Chernyi
70e0ce4400
new candidate action - testing_ai_default::aspect_recruitment_phase.
...
Reworked RCA AI to use formula_ai recruitment
2009-08-23 10:44:35 +00:00
Iurii Chernyi
21e097d181
externalized scores of candidate actions in RCA ai
2009-08-23 00:41:13 +00:00
Bartek Waresiak
f572929016
Disable Formula AI from AIs list,
...
...make it availale for now only in debug mode
2009-08-16 11:58:32 +00:00
Iurii Chernyi
6a55681bb3
Added a new developer ai configuration
2009-08-15 19:59:52 +00:00
Bartek Waresiak
c47641dd25
Changed description of Formula AI from /ai/dev/, small fix to recruitment
2009-08-13 18:46:46 +00:00
Iurii Chernyi
13a103f640
recruitment as aspect
2009-08-12 11:19:17 +00:00
Iurii Chernyi
3b93f971b7
added example usage of side_formulas stage to 'Formula AI' multiplayer AI
2009-08-09 21:04:47 +00:00
Iurii Chernyi
39633ab2f8
examples of new-style ai configurations
2009-08-04 21:02:29 +00:00
Iurii Chernyi
09223f03cc
new AI configuration syntax. Note: boost 1.35 required for compilation
2009-08-01 14:17:15 +00:00
Iurii Chernyi
0d18781e10
cleanup of 'formula ai poisoning' ai config
2009-07-02 18:11:15 +00:00
Bartek Waresiak
b40f504bbc
Poison formula update
2009-06-30 23:16:18 +00:00
Iurii Chernyi
7ba34dee6c
ai_composite: new candidate action:
...
...testing_ai_default::simple_move_and_targeting_phase plus bugfixes
2009-06-28 14:45:55 +00:00
Iurii Chernyi
5652b111c0
optional new-style AI configs...
...
...and generation of AI lists in multiplayer from files
2009-06-28 13:01:41 +00:00
Iurii Chernyi
d58d7ba1ac
ai_composite: new candidate action:
...
...testing_ai_default::move_leader_to_keep_phase
2009-06-27 16:34:17 +00:00
Iurii Chernyi
2fc7380aa3
AI: stub code for default_ai_testing
2009-06-07 07:46:36 +00:00
Iurii Chernyi
59f781e290
new AI: ai_composite
2009-06-04 17:48:27 +00:00
Iurii Chernyi
08a6860c95
Poisoning formula improvement:
...
...it it better to poison regenerating/in_village unit than to not poison them.
2009-04-13 13:58:37 +00:00
Nils Kneuper
6ccc7c33c7
add some textdomain markers to files that had none,
...
...should not introduce any strings, just for completions sake (every
.cfg should have a marker, have done the job util
utils/change_textdomain -t )
2009-04-11 22:30:16 +00:00
Iurii Chernyi
52d15a17aa
AI Arena - interactive AI testing framework
2009-03-31 13:49:34 +00:00