mattsc
ec45b53fe2
Experimental AI: rename config file
...
This stopped being a rush AI long ago.
2018-09-03 12:01:41 -07:00
Charles Dang
33725add8f
Data/AI: wmlindent run
...
[ci skip]
Addresses some of the whitespace issues noted in #2613 .
2018-03-09 11:07:23 +11:00
Charles Dang
4bf5c9341f
Revert "Remove invalid attribute from idle AI"
...
This reverts commit 1d84d83c6c
.
I had introduced use of the hidden= key in b2df837d8e
, but
apparently didn't add them to the valid list of non-aspect keys.
2018-02-22 12:21:20 +11:00
Jyrki Vesterinen
1d84d83c6c
Remove invalid attribute from idle AI
...
It was interpreted as a simplified aspect, resulting in a warning when
loading a replay.
Found with WML unit tests.
2018-02-21 22:34:11 +02:00
Charles Dang
b2df837d8e
Hide AIs with hidden=yes from list of available AI options ( fixes #2095 )
...
This is enough to hide them as AI options in the UI, but I don't know if other parts of the AI
engine need to know about this key.
2017-10-11 08:41:38 +11:00
mattsc
f097c3d7f6
Idle AI: add to comment on when empty [stage] tag is needed
2017-10-04 16:48:08 -07:00
mattsc
cfb2aa8050
AIs: idle_ai is not a "Dev AI", fixes #1955
...
As indicated in the comment of the idle_ai config file, an AI needs to
contain at least one stage, otherwise the default AI will be injected
under certain circumstances. Unlike indicated in the comment, this now
also applies to loading a mid-scenario save. (I will add that to the
comment in the next commit.)
As this AI was in data/ai/dev/, it was previously only loaded when
Wesnoth was started in debug mode. The config was thus not available
when playing in no-debug mode, causing the default AI to be injected on
reload. This caused issue #1955 .
While not strictly necessary, we keep a redirect in data/ai/dev for
backward compatibility, in case the file is included in add-ons.
2017-10-04 16:48:08 -07:00
mattsc
6950ee1dd0
New high_xp_attack candidate action for default AI
...
This CA performs attacks on enemy units so close to leveling that the
default AI's combat CA would not attack them (with some exceptions).
This is meant to keep players from being able to exploit this known
weakness of the default AI.
2016-09-02 20:22:17 -07:00
mattsc
a218e6b659
Move "Strong AI" to ai/dev/ and rename file
...
This means that it is now only available in debug mode. It is not
significantly enough different from the default to be one of the main
options.
2016-03-24 12:57:35 -07:00
Celtic Minstrel
9c2027a8d8
Remove version key from AI configs
...
This has a lot of cascade effects and may remove support for some old syntaxes, such as [protect_unit].
2016-03-22 07:22:22 -07:00
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
mattsc
c0ee2c8e87
Add wmllint spelling exceptions for files in data/ai/
2013-11-02 20:20:10 -07:00
mattsc
fd29559daa
Fix some indenting in AI recruiting functions
2013-10-26 19:13:35 -07:00
flix
b08afe2f1a
Change behavior of aspect recruitment_diversity.
2013-09-26 16:04:40 +02: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
mattsc
7e0a05ed6e
Experimental AI: consistently use underscores in AI ids and file names
...
This is the last step of making everything use consistent syntax.
2013-07-10 20:37:30 -07:00
mattsc
d11edb6ec7
Make Experimental AI available in MP and SP
...
This is done through a new macro EXPERIMENTAL_AI. Previously, it was
only available as a multiplayer AI.
2013-06-14 20:35:31 -07: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
Simon Forsyth
1ea4ff0f26
Add healer support micro AI to experimental multiplayer AI
2013-01-12 23:31:59 +00:00
Matthias Schoeck
ce6ee7e586
Rename passive_leader_shares_keep candidate action to leader_shares_keep.
...
This CA is on by default, dealing with a passive leader is only a
special case. The old syntax still works for backward compatibility
(for both CA and macros).
2013-01-09 17:18:45 +00:00
Matthias Schoeck
bf7c8b9662
Use new syntax to include default (RCA) AI components
2012-12-29 05:28:32 +00:00
Simon Forsyth
21a6dbb14c
Mark AI description as translatable
2012-12-02 03:48:18 +00:00
Alexander van Gessel
2bba01fbc1
Delete an unneeded file that should have been removed in 2012-11-26T22:50:17Z!ai0867@gmail.com
2012-11-27 00:30:34 +01:00
Alexander van Gessel
f4ab3722dc
Apply patch #3570 by mattsc
2012-11-26 23:50:17 +01:00
Simon Forsyth
9d23bd133e
Turn off remaining comments by new AI
2012-11-24 21:00:55 +00:00
Simon Forsyth
6830fc1719
Add new AI
2012-11-24 19:57:11 +00:00
Iurii Chernyi
3043de6617
Fix bug #15861 : fix passive_leader and passive_leader_shares_keep.
...
Patch by Grimling
2011-01-02 15:37:57 +00:00
Ignacio R. Morelle
b43daf408b
Remove phpBB session id from a commented link
2010-11-09 14:38:14 +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
Nils Kneuper
05e5aa9508
fixed some untranslateable strings,
...
...adding some comment to the RCA AI (this fixes bug #15843 )
merging 2010-04-12T11:06:54Z!crazy-ivanovic@gmx.net from branches/1.8
2010-04-12 11:08:51 +00:00
Iurii Chernyi
6117d5b021
fixed a segfault in fai_candidate_action serialization code,
...
...removed some old stubs, used better and simpler AI syntax in LoW::1,
LoW::2, LoW::3 , split candidate action WML snippets to their own file
2009-12-25 01:25:34 +00:00
Iurii Chernyi
fb9fa4bd91
stabilize RCA AI configuration for 1.8,
...
...extract candidate actions to separate macroses
2009-12-24 23:41:15 +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
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
Bartek Waresiak
ea0f15eb57
Formula AI update
2009-08-14 17:07:17 +00:00
Bartek Waresiak
9f71b56c87
New fai recruitment, added formula AI as choosable AI
2009-08-13 18:39:57 +00:00
Iurii Chernyi
f74d97dbc7
modified knalgan faction config to use new-style ai config snippet
2009-08-04 21:02:46 +00:00
Iurii Chernyi
39633ab2f8
examples of new-style ai configurations
2009-08-04 21:02:29 +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
4d8e34290d
Added AI identifiers to AI config files
2009-04-24 18:38:38 +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