Multiple Fog Clearers
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.
Multiple Fog Clearers
Do fog clearers have a limit of one? The first one displays fine (meaning you can't see it at all), but any others I add to my cutscene will appear with an ellipse and a green ball. There's a move_unit in there and it really doesn't look good without multiple fog clearers.
EDIT: After taking a closer look at the macro, I don't think the [hide_unit] tag is working properly.
EDIT: After taking a closer look at the macro, I don't think the [hide_unit] tag is working properly.
“It is written in my life-blood, such as that is, thick or thin; and I can no other.” - J.R.R. Tolkien
My campaign: Swamplings - Four centuries before the founding of Wesnoth, the first wolf rider emerges from a tribe of lowly swamp goblins.
My campaign: Swamplings - Four centuries before the founding of Wesnoth, the first wolf rider emerges from a tribe of lowly swamp goblins.
- Simons Mith
- Posts: 821
- Joined: January 27th, 2005, 10:46 pm
- Location: Twickenham
- Contact:
Re: Multiple Fog Clearers
Doesn't the presence of an ellipse and orb mean it's a friendly fog clearer on the player's side? Perhaps you should only be using hostile enemy fog clearers. I wonder if you're not getting the side set correctly for your extra clearers. Possibly an oversight in the fog clearer macro? Setting the correct side should remove the orb, but I'm not sure what else you could do about the ellipse, however.
Edit: Ninja'd by the OP.
Edit: Ninja'd by the OP.
Re: Multiple Fog Clearers
Enemy fog clearers, like the enemy, are invisible in the fog.
“It is written in my life-blood, such as that is, thick or thin; and I can no other.” - J.R.R. Tolkien
My campaign: Swamplings - Four centuries before the founding of Wesnoth, the first wolf rider emerges from a tribe of lowly swamp goblins.
My campaign: Swamplings - Four centuries before the founding of Wesnoth, the first wolf rider emerges from a tribe of lowly swamp goblins.
-
- Inactive Developer
- Posts: 2461
- Joined: August 15th, 2008, 8:46 pm
- Location: Germany
Re: Multiple Fog Clearers
It's a bug. Move the two clear_variables from CLEAR_FOG to UNCLEAR_FOG. The one for fog_clearer_i at least.
I've reported it btw.
I've reported it btw.
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
Re: Multiple Fog Clearers
You're right, moving those tags to the other macro fixed it perfectly. Thanks!
“It is written in my life-blood, such as that is, thick or thin; and I can no other.” - J.R.R. Tolkien
My campaign: Swamplings - Four centuries before the founding of Wesnoth, the first wolf rider emerges from a tribe of lowly swamp goblins.
My campaign: Swamplings - Four centuries before the founding of Wesnoth, the first wolf rider emerges from a tribe of lowly swamp goblins.