Search found 331 matches
- December 14th, 2020, 10:04 pm
- Forum: WML Workshop
- Topic: "Alert" unit immune to backstab
- Replies: 24
- Views: 620
"Alert" unit immune to backstab
I need a Saurian Ambusher named Smekk to be immune to backstab. I thought I should make a trait called "alert" to bestow an immunity to backstab...but is such a thing even possible? Or do I need an event? An ability? How would you code it? By the way, it's just one scenario and one unit, s...
- December 13th, 2020, 1:45 pm
- Forum: Users’ Forum
- Topic: What does these words (tree-shagger, wose-spawned, wose-born) mean?
- Replies: 8
- Views: 358
Re: What does these words (tree-shagger, wose-spawned, wose-born) mean?
I wouldn't use any of the insults cited in the OP in a campaign. Orcs value swords and raw power, and they don't like how elves hide in the forest and use bows, so I would suggest that orcs call elves names which reflect this, such as leaf-lovers and forest freaks, and add descriptive words such as ...
- December 11th, 2020, 9:24 pm
- Forum: Art Workshop
- Topic: Mechanical's art
- Replies: 336
- Views: 88180
Re: Mechanical's art
I liked the previous version more, the one with the shield in front of his body. He looked more alert, like maybe he was fighting multiple foes. He seems more relaxed now since his shield is held low, like his opponent is far away. Not that there's anything wrong with that. All three sprites look gr...
- December 11th, 2020, 1:50 pm
- Forum: WML Workshop
- Topic: Spreading Poison
- Replies: 24
- Views: 585
Re: Spreading Poison
I feel more and more like wesnoth is either very badly documented or I am very stupid... It took me a while to learn how to use the WML Wiki. The information presented is concise, literal, deficient in examples, and presupposes that you understand a lot about about WML and have memorized the acrony...
- December 9th, 2020, 7:33 pm
- Forum: WML Workshop
- Topic: Spreading Poison
- Replies: 24
- Views: 585
Re: Spreading Poison
I've not done anything similar to what you're trying to do, but it looks to me like your code is trying to poison a side, instead of units. You may need to store, poison, and unstore all the adjacent units in the targeted side. You might investigate that idea while waiting for an experienced coder t...
- December 9th, 2020, 3:46 pm
- Forum: WML Workshop
- Topic: Build your own faction - How to proceed?
- Replies: 8
- Views: 233
Re: Build your own faction - How to proceed?
In single-player, you don't need to make an era to make a faction. I tried googling "wesnoth single-play faction", but did not find anything meaningful. Can you give me a hint how factions are called in singleplayer? Since I can't find an explanation on that? Thanks for your answers @Helm...
- December 9th, 2020, 2:32 pm
- Forum: WML Workshop
- Topic: Build your own faction - How to proceed?
- Replies: 8
- Views: 233
Re: Build your own faction - How to proceed?
1. What is the definition of a faction? My answer: A faction has a leader and units that said leader can recruit. Sounds good to me. 2. What is the definition of an Era? My answer: An Era consists of multiple factions. https://wiki.wesnoth.org/Factions_and_Eras Also good. 3. What do I need to do to...
- December 9th, 2020, 1:33 am
- Forum: Technical Support
- Topic: WML added halos are not rendered with [move_unit]
- Replies: 2
- Views: 111
Re: WML added halos are not rendered with [move_unit]
A bit of further info: If a unit already has a halo in [unit_type] (Mage of Light used as example), and I change the halo to something else, then if the unit is moved with [move_unit], it reverts to showing the original halo for the duration of the movement. (And then shows again the new one once s...
- December 8th, 2020, 11:08 pm
- Forum: Technical Support
- Topic: WML added halos are not rendered with [move_unit]
- Replies: 2
- Views: 111
WML added halos are not rendered with [move_unit]
WML-added halos appear on the unit, as expected. However, when the unit moves via [move_unit] , the halo disappears while the unit moves, then reappears after the unit stops. I asked for help with this problem in the WML Workshop. WhiteWolf replied: I checked in 1.14, and it's the same. Apparently W...
- December 8th, 2020, 10:56 pm
- Forum: WML Workshop
- Topic: halo disappears during movement
- Replies: 3
- Views: 139
Re: halo disappears during movement
I checked in 1.14, and it's the same. Apparently WML added halos (so the ones that are not directly in [unit_type]) are not rendered when the unit is moved by WML actions. Looks like a bug to me. Thank you! I was perplexed. For the cut-scene, I'll make a similar mermaid [unit_type] with a net halo....
- December 8th, 2020, 10:31 pm
- Forum: WML Workshop
- Topic: halo disappears during movement
- Replies: 3
- Views: 139
Re: halo disappears during movement
Tried this. Same result. Any ideas? [store_unit] [filter] id=Finya [/filter] variable=target_finya [/store_unit] [set_variable] name=target_finya.halo value="halo/net.png" [/set_variable] [unstore_unit] variable=target_finya find_vacant=no [/unstore_unit]
- December 8th, 2020, 12:59 am
- Forum: WML Workshop
- Topic: halo disappears during movement
- Replies: 3
- Views: 139
halo disappears during movement
In my scenario, a mermaid initiate is caught in a net and dragged onto land. The net is a halo effect added to the mermaid via modify_unit . The problem is, the net disappears during the mermaid's movement, then reappears when she stops. I would like the net to not disappear, but glide along with he...
- December 7th, 2020, 4:20 pm
- Forum: WML Workshop
- Topic: [event] name=capture,die
- Replies: 6
- Views: 211
- December 7th, 2020, 1:36 pm
- Forum: WML Workshop
- Topic: [event] name=capture,die
- Replies: 6
- Views: 211
Re: [event] name=capture,die
On the first sight's it's an easy way to write one event instead of two. But the special part is that it will fire only once – so it offers a way for dialogues, which should fire in one of the two cases, but not twice. That sounds extremely useful, but I'm having a difficult time imagining how to d...
- December 6th, 2020, 6:03 pm
- Forum: WML Workshop
- Topic: [event] name=capture,die
- Replies: 6
- Views: 211
Re: [event] name=capture,die
You'll find many examples of it in the mainline campaigns. Another common one is name=recruit,recall or name=sighted,moveto and the ones that trigger at specific turns like name=turn 4,turn 8,turn 12 or on sides turn name=side 2 turn refresh,side 3 turn refresh I guess I've been overlooking that de...