Search found 1166 matches

by mattsc
July 8th, 2020, 3:23 am
Forum: Scenario & Campaign Development
Topic: Sepulchre of Elran SP scenario for Wesnoth 1.13.5 and later
Replies: 14
Views: 3983

Re: Sepulchre of Elran SP scenario for Wesnoth 1.13.5 and later

There's a bug with this scenario, running on Wesnoth 1.15.3; see attached screenshot. This was actually a mainline bug in new code that keeps AI units from marching in single file. It is fixed now . As this is a change in Lua code, you could just apply the fix to your copy of 1.15.3, no compiling r...
by mattsc
June 20th, 2020, 11:39 pm
Forum: WML Workshop
Topic: duplicate ai goals
Replies: 6
Views: 815

Re: duplicate ai goals

Just noting that vghetto reported this in Issue #4887 (thanks!) and that it is fixed now.
by mattsc
June 9th, 2020, 2:25 am
Forum: WML Workshop
Topic: Questions about AI healer_support, zone_guardian and Retreat CA
Replies: 5
Views: 1268

Re: Questions about AI healer_support, zone_guardian and Retreat CA

It's always hard to understand somebody else's code, esp. if it's dealing with something that one is not very familiar with (which you might or might not be, I don't know). Let me know if there is something specific you would still like to do or change, and I am sure we can work it out together. On ...
by mattsc
June 7th, 2020, 6:39 pm
Forum: WML Workshop
Topic: guardians test micro_ai
Replies: 2
Views: 473

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.
by mattsc
June 7th, 2020, 3:20 pm
Forum: WML Workshop
Topic: Questions about AI healer_support, zone_guardian and Retreat CA
Replies: 5
Views: 1268

Re: Questions about AI healer_support, zone_guardian and Retreat CA

It looks like you figured out the issue yourself again. :-) (I didn't see that until after I looked into the demo you first posted.) Indeed, the reason why the healers don't go for those injured units is because, in the original version you posted, they have MP left. That's done so that the rest of ...
by mattsc
June 6th, 2020, 6:40 pm
Forum: WML Workshop
Topic: Questions about AI healer_support, zone_guardian and Retreat CA
Replies: 5
Views: 1268

Re: Questions about AI healer_support, zone_guardian and Retreat CA

Hey vghetto, Very nice, adjusting the Micro AIs to your needs! That's really how we meant it back in the day. We set up a variety of "default" behaviors, but it is impossible to predict every possible use, so modifying them to your use case might sometimes be the best way forward. Sorry for the slow...
by mattsc
May 26th, 2020, 2:23 am
Forum: Multiplayer Development
Topic: Den of Thieves 1.0 (new major update)
Replies: 51
Views: 6387

Re: Den of Thieves (new MP stealth campaign system)

Okay, so here are the answers to your questions. Can I clarify the situation? Of course! It's always good when somebody tries to understand what the AI actually does, rather than treating it as a black box. So, the Spearman in demario's example (which is no longer controlled by the 'patroller' micro...
by mattsc
May 25th, 2020, 8:02 pm
Forum: Multiplayer Development
Topic: Den of Thieves 1.0 (new major update)
Replies: 51
Views: 6387

Re: Den of Thieves (new MP stealth campaign system)

Hey Bob. I'm going to reply to your questions later. I want to look at the two saves again and test a couple things first, just to be sure. As for your desired behavior, if I understand you correctly that should actually be relatively simple to accomplish, I think, and without any work arounds. You ...
by mattsc
May 21st, 2020, 8:15 pm
Forum: Multiplayer Development
Topic: Den of Thieves 1.0 (new major update)
Replies: 51
Views: 6387

Re: Den of Thieves (new MP stealth campaign system)

I hope Bob_the_Mighty will not mind my hijacking his thread but there is another run that I have trouble to understand. I cannot speak for Bob_the_Mighty, but my interpretation of his previous post is that both the former and this case (as you will see below) is not the behavior he desired. So it's...
by mattsc
May 21st, 2020, 1:21 am
Forum: Multiplayer Development
Topic: Den of Thieves 1.0 (new major update)
Replies: 51
Views: 6387

Re: Den of Thieves (new MP stealth campaign system)

- The situation with the patroller is weird. Patrollers are set to walk their route unless there is a visible enemy within five hexes in which case they will move towards them. However, in your savegame the situation is unusual: there is a visible enemy within 5 hexes, so the patroller is released ...
by mattsc
May 4th, 2020, 6:24 pm
Forum: WML Workshop
Topic: Help with WML for a particular scenario
Replies: 146
Views: 17071

Re: Help with WML for a particular scenario

Well, that's very much a non-trivial problem (and not exactly what I imagined you were trying to do). If you think about how you would play the AI side as a human player, it involves decisions which units should attack in order to open a gap vs. which should press forward toward the goal vs. potenti...
by mattsc
May 4th, 2020, 4:36 pm
Forum: WML Workshop
Topic: Help with WML for a particular scenario
Replies: 146
Views: 17071

Re: Help with WML for a particular scenario

You still haven't given quite enough information for us to know exactly how best to advice you. However, the Goto Micro AI is quite versatile and can probably be set up for this purpose. You might want to check that out.
by mattsc
April 23rd, 2020, 3:01 pm
Forum: WML Workshop
Topic: guardians test micro_ai
Replies: 2
Views: 473

Re: guardians test micro_ai

Hmm. 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. :P So yeah, we need to fix that. In the meantime, yes, droiding side 2 should do the trick for ...
by mattsc
April 10th, 2020, 7:40 pm
Forum: Multiplayer Development
Topic: Help with testing Fred - Freelands MP Custom AI v0.14.15
Replies: 219
Views: 46821

Re: Help with testing Fred - Freelands MP Custom AI v0.14.15

Hi sergey! Thank you very much for all the replays and the comments, and sorry for the slow reply. I'm not around a whiole lot at the moment. One of the common aspects of your (and also singalen's) comments is something I have been fighting with essentially forever: Fred not using units coherently. ...
by mattsc
March 17th, 2020, 2:07 am
Forum: Multiplayer Development
Topic: Help with testing Fred - Freelands MP Custom AI v0.14.15
Replies: 219
Views: 46821

Re: Help with testing Fred - Freelands MP Custom AI v0.14.15

singalen: thank you for playing and posting all those replays! I'll have to work through them more carefully than I have time for right now, so just a few comments for now: As we discussed off-forum, the first replay is against the ExpAI, not Fred. So that's essentially the default AI (with a few im...