Search found 49 matches

by tvynr
November 14th, 2006, 6:27 pm
Forum: WML Workshop
Topic: WML Syntax Highlighting for Kate/KWrite
Replies: 46
Views: 19711

WML Syntax Highlighting for Kate/KWrite

Note: the WML syntax highlighting schema is currently included with the upstream version of Kate under Markup/Wesnoth Markup Language , so you shouldn’t need to download anything unless you are using a very old version of the editor. If you do, grab lua.xml, pango.xml and wml.xml from the directory...
by tvynr
November 14th, 2006, 4:55 pm
Forum: WML Workshop
Topic: Sync Problem with Charm
Replies: 8
Views: 2673

Rhuvaen: My kill-the-units approach was intended to be simplistic. I tried using the [kill] tag at first but, sadly, I couldn't get it to work. That's because I was initially using [kill] [filter] x,y=... [/filter] [/kill] because I seem to remember the docs on the kill tag saying it takes "a ...
by tvynr
November 14th, 2006, 3:16 am
Forum: WML Workshop
Topic: Sync Problem with Charm
Replies: 8
Views: 2673

EDIT: I just changed the uncharming snippet so it reads, in part, like so: {IF this_side_charmed equals yes ( [then] [store_unit] [filter] [not] side=$side_number [/not] [/filter] variable=possibly_charmed kill=yes [/store_unit] {FOREACH possibly_charmed i} {VARIABLE_OP real_side format "0$poss...
by tvynr
November 14th, 2006, 2:15 am
Forum: WML Workshop
Topic: Sync Problem with Charm
Replies: 8
Views: 2673

Hello, Rhuvaen. Thanks for your reply! :) As far as I can tell, the game does not mind that the two units are attacking each other even if they're on the same side; the OOS happens in both cases and, in single player testing, there did not appear to be any significant difference between a single hit...
by tvynr
November 13th, 2006, 9:08 pm
Forum: WML Workshop
Topic: Sync Problem with Charm
Replies: 8
Views: 2673

Update: We changed the movement of a charmed unit to zero, which we're hoping will mitigate some of these problems. It doesn't seem to have been totally successful, though. Interestingly enough, I got this message several hundred times on my terminal: error engine: could not de-serialize unit: 'load...
by tvynr
November 13th, 2006, 12:12 am
Forum: WML Workshop
Topic: Sync Problem with Charm
Replies: 8
Views: 2673

Sync Problem with Charm

Okay, so I borrowed the charm WML event ability from http://www.wesnoth.org/wiki/WML_Abilities and made some small changes to it. Among these changes, I added the ability to parameterize whether or not the unit gets to attack, the ability to filter whether the unit is affected by the terrain on whic...
by tvynr
November 13th, 2006, 12:04 am
Forum: WML Workshop
Topic: Adding New Status Icons
Replies: 3
Views: 1118

Will do! Thanks to both of you for the help! :)
by tvynr
November 12th, 2006, 8:27 pm
Forum: WML Workshop
Topic: Adding New Status Icons
Replies: 3
Views: 1118

Adding New Status Icons

Heya. This one should be short and sweet and I doubt it'll work. You know those little icons for things like poison and slow? The little green skull and the snail? I was hoping to add a WML-event-based ability which would permit the creation of a new status, as it were. To indicate the new status, I...
by tvynr
November 11th, 2006, 3:04 pm
Forum: Technical Support
Topic: Help System Problem with Plague
Replies: 1
Views: 422

Help System Problem with Plague

Since I posted this question in the WML forum and haven't received a reply for just a touch over a week, I guess it's time to submit a bug report. :) I think I've found a problem with the manual system regarding plague which occurs if a unit type is created by a plague attack but that unit cannot be...
by tvynr
November 11th, 2006, 1:39 pm
Forum: WML Workshop
Topic: Event Triggered at Time of Day
Replies: 6
Views: 1636

*nodnod* Silly me, yes. I was tired when I posted that. Thanks for the clairification and for all the help. :)
by tvynr
November 11th, 2006, 12:50 am
Forum: WML Workshop
Topic: Event Triggered at Time of Day
Replies: 6
Views: 1636

Ah, excellent! That's just the scriptlet I was hoping to ge. So I should be able to just have something like [event] name=new turn first_time_only=no [filter] [filter_location] time_of_day=lawful [/filter_location] [/filter] ... [/event] and that will produce the desired effect, I should think. I th...
by tvynr
November 10th, 2006, 10:56 pm
Forum: WML Workshop
Topic: Event Triggered at Time of Day
Replies: 6
Views: 1636

zookeeper: Thanks for the response! I tried searching the forums but I apparently didn't use the right search terms. Which did you use, that I may learn from your searching wisdom and in the future not bug you people so much? :) This is rather unfortunate information, as I specifically wanted to be ...
by tvynr
November 10th, 2006, 9:28 pm
Forum: WML Workshop
Topic: Event Triggered at Time of Day
Replies: 6
Views: 1636

Event Triggered at Time of Day

Hello, all. I was wondering if it is possible to trigger an event at a specific time of day. That is, I would like the scripted event to occur every morning or every first watch. In this specific case, I am trying to apply an effect to all units on the battlefield at that time. I have tried the foll...
by tvynr
November 5th, 2006, 5:44 pm
Forum: WML Workshop
Topic: Sourcing a directory using a preprocessor definition
Replies: 5
Views: 1729

Okay, that makes sense. But for the sake of curiosity, I'm trying to figure out what the limits of WML are; that way, I'll be able to avoid this sort of thing before it eats another half hour. :) To that end, may I ask: is there any way to escape the parentheses? Or is it just that if I happen to ha...
by tvynr
November 5th, 2006, 11:41 am
Forum: WML Workshop
Topic: Sourcing a directory using a preprocessor definition
Replies: 5
Views: 1729

Actually, yes, that did work. Thanks for suggesting it. It's very comfortable not having my directory names constrained by parsing features; I like my sapces. :) So question... what exactly do the parentheses do in this case? Do they delimit the parameter or are they passed in and handled by the {@....