Search found 2427 matches

by beetlenaut
May 28th, 2020, 7:36 pm
Forum: WML Workshop
Topic: Units disappear when reloading; and enemy on same team
Replies: 4
Views: 144

Re: Units disappear when reloading; and enemy on same team

I suppose I should use role there. I assume that one can be used the same on multiple units. I'm not sure it can. If you use the [role] tag, it only assigns the role to one unit. You might be able to hack the role with [modify_unit], but I wouldn't count on that never changing. If you want to go th...
by beetlenaut
May 28th, 2020, 4:35 pm
Forum: WML Workshop
Topic: Units disappear when reloading; and enemy on same team
Replies: 4
Views: 144

Re: Units disappear when reloading; and enemy on same team

The id tells the game which unit is which. Having the same id on two units will cause all sorts of trouble. (I'm surprised it's not crashing the game, actually.) You can make an id like "yeti_$counter", but you can't have them all be "yeti". Fixing the two cases of that should fix most if not all of...
by beetlenaut
May 28th, 2020, 9:35 am
Forum: Technical Support
Topic: Performance drops during attacks
Replies: 1
Views: 159

Re: Performance drops during attacks

Yeah, that probably shouldn't be happening. We will help if we can, but we would need a lot more information. You should read the sticky post "How to report a bug properly" in this forum to see what information would be useful.

There is "Show Combat" under the Advanced tab.
by beetlenaut
May 24th, 2020, 9:54 pm
Forum: Users’ Forum
Topic: Who did the artwork for the old wesnoth characters?
Replies: 3
Views: 608

Re: Who did the artwork for the old wesnoth characters?

Yes, those were Jetrel's. They'd been used in HttT since before I started playing around 2005. Kitty drew the current ones with Jetrel's approval. Jetrel didn't like the earlier ones any more (for BfW, anyway) and had actually been planning to replace them himself: They never matched the style of an...
by beetlenaut
May 23rd, 2020, 3:46 am
Forum: WML Workshop
Topic: Implementing "Formation" from UtBS
Replies: 10
Views: 819

Re: Implementing "Formation" from UtBS

gnombat wrote:
May 22nd, 2020, 11:30 pm
What about Tanstafaal's side?
I stand corrected. I completely forgot the rebel elves. But still, if you check, you will find that formation doesn't work for them.
by beetlenaut
May 21st, 2020, 10:54 pm
Forum: WML Workshop
Topic: Implementing "Formation" from UtBS
Replies: 10
Views: 819

Re: Implementing "Formation" from UtBS

Looking at events, there’s nothing for formation there, so yeah, the game doesn’t know about this event. If you can't figure out why, it's probably time to post the campaign. It's no fun for us to try to guess where the problem might be. I had noticed that filter in the UtBS formation event code an...
by beetlenaut
May 21st, 2020, 9:44 pm
Forum: WML Workshop
Topic: Implementing "Formation" from UtBS
Replies: 10
Views: 819

Re: Implementing "Formation" from UtBS

You should note that formation only works for side 1 the way it is currently written. If you are trying to use it on a different side, that would explain your trouble.
by beetlenaut
May 12th, 2020, 6:24 pm
Forum: WML Workshop
Topic: Problem with the creation of an effect
Replies: 7
Views: 462

Re: Problem with the creation of an effect

I think the correct name is "turn refresh" Or maybe "turn end". It depends on how you want it to work. With turn end, you also get the side_number variable, which might be helpful. It's hard to fully debug code you can't run, but I found two more problems besides the ones already mentioned: In [mod...
by beetlenaut
May 8th, 2020, 1:49 am
Forum: WML Workshop
Topic: New to WML, need some help.
Replies: 10
Views: 408

Re: New to WML, need some help.

The map editor unit tool added that other code, yes. But, you also must have saved the map as a scenario instead of saving as a map. Saving as a map just stores the tile data. (Saving as a scenario is probably the default after using some of the scenario features like the unit tool, so that might be...
by beetlenaut
May 7th, 2020, 11:21 pm
Forum: WML Workshop
Topic: New to WML, need some help.
Replies: 10
Views: 408

Re: New to WML, need some help.

The error message reported doesn't always tell you what needs to be fixed. If the engine says it is unable to match up some quotes, that doesn't mean that an ending quote is missing. It might be that you forgot the slash in an end tag, so one quotation mark is hidden inside a tag that is still open ...
by beetlenaut
May 4th, 2020, 9:40 pm
Forum: WML Workshop
Topic: glitch in hidden and uncovered
Replies: 10
Views: 463

Re: glitch in hidden and uncovered

I guess the source of the bug is animate=yes. Yeah, I just figured that out myself. You did find a bug. The combination that doesn't work is: unit with nightstalk, spawned at night, animate=yes. I included a very small test case. Put the file in a new folder (the name doesn't matter) in your add-on...
by beetlenaut
May 4th, 2020, 6:57 pm
Forum: WML Workshop
Topic: glitch in hidden and uncovered
Replies: 10
Views: 463

Re: glitch in hidden and uncovered

Well, the game could be modified so that changing the "hidden" value manually works the way the OP expected, but I think a note on the wiki is probably sufficient. I would say the bug can be closed.
by beetlenaut
May 4th, 2020, 6:44 pm
Forum: WML Workshop
Topic: glitch in hidden and uncovered
Replies: 10
Views: 463

Re: glitch in hidden and uncovered

Okay, I figured it out. You can't set "hidden" equal to anything . Even "no" or "false" is a string of text, and any non-empty string will evaluate as "true" in the C code. You can't use WML to create an actual binary "false", which is what [unhide_unit] does internally. Just take out the "hidden=no...
by beetlenaut
May 4th, 2020, 6:35 am
Forum: WML Workshop
Topic: Help with WML for a particular scenario
Replies: 144
Views: 14735

Re: Help with WML for a particular scenario

Combat and Village CA's take precedence over the Move-To-Targets CA that [goal] is under You probably should have mentioned this, that's all. I replied to your post because I wanted it to be clear to the OP that it wouldn't necessarily do what he wanted. I was assuming he wanted the capture to be a...
by beetlenaut
May 4th, 2020, 6:02 am
Forum: WML Workshop
Topic: glitch in hidden and uncovered
Replies: 10
Views: 463

Re: glitch in hidden and uncovered

What could flip a hidden from no to a yes? I don't know, and I don't really want to start taking guesses. I have had a lot of bugs that seemed impossible, but there was always an explanation in the end. If you upload your code, I would be happy to take a look at it (if someone else doesn't get to i...