guardians test micro_ai
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
guardians test micro_ai
Hi,
This is in reference to the micro_ai tests.
I couldn't figure out how to try the guardians scenario. Was I supposed to use droid on one of the sides?
The code for side 2 seems to be missing
This is in reference to the micro_ai tests.
wesnoth -t micro_ai_test
I couldn't figure out how to try the guardians scenario. Was I supposed to use droid on one of the sides?
The code for side 2 seems to be missing
controller=ai
and inside it's [ai] block there is a modify_ai for side=1. I don't know if that is correct or incorrect.-
- Developer
- Posts: 1182
- Joined: October 13th, 2010, 6:14 pm
- Location: Hidden on the hex behind Fred
Re: guardians test micro_ai
Hmm.
So yeah, we need to fix that. In the meantime, yes, droiding side 2 should do the trick for you as a workaround.
The
Thanks for finding and reporting these!
controller=
used to default to 'ai', that's why it is not set for the side. I do not recall when that was changed, but it appears that nobody has tried out the this test scenario since that happened. 
The
side=1
inside the [modify_ai]
is a typo. However, it does not matter in this case as the side attribute is ignored when [modify_ai]
is inside [side][ai]
. But I'll change that (remove that line altogether) anyway, for consistency.Thanks for finding and reporting these!
SP campaigns: Galuldur's First Journey (1.12 & 1.14) & Grnk the Mighty (1.10 & 1.12)
AI experiments: Micro AIs (wiki, forum thread, known/fixed bugs), Fred, AI-demos add-on
AI experiments: Micro AIs (wiki, forum thread, known/fixed bugs), Fred, AI-demos add-on
-
- Developer
- Posts: 1182
- Joined: October 13th, 2010, 6:14 pm
- Location: Hidden on the hex behind Fred
Re: guardians test micro_ai
For the record, this is now fixed in both 1.14 (as of 1.14.12) and 1.15 (will be in 1.15.4), see Issue #4890. Thanks, vghetto, both for finding this and for opening the issue.
SP campaigns: Galuldur's First Journey (1.12 & 1.14) & Grnk the Mighty (1.10 & 1.12)
AI experiments: Micro AIs (wiki, forum thread, known/fixed bugs), Fred, AI-demos add-on
AI experiments: Micro AIs (wiki, forum thread, known/fixed bugs), Fred, AI-demos add-on