Fog

The place to post your WML questions and answers.

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.
Post Reply
User avatar
Saizo-Luz
Posts: 71
Joined: June 14th, 2024, 12:50 pm
Location: High Heavens

Fog

Post by Saizo-Luz »

Hello!

Does anyone know any add-on that has a code that places fog?
User avatar
ZombieKnight
Posts: 355
Joined: June 27th, 2022, 2:26 pm
Location: Czech Republic

Re: Fog

Post by ZombieKnight »

Hey,

I'm gonna assume, you don't want to play add-on, with fog, but you want that code, for that:

First thing, any code relared questions should be asked in WML Workshop, especially for something as simple as fog.

Second thing, this gonna sound little bit toxic, but there's WML wiki https://wiki.wesnoth.org/DirectActionsW ... ift_fog.5D , quite good, I'd say, so before you ask a question, try to search it up on wiki, we're just people too. (Ofc there's nothing bad about asking, but you seem to have made little bit to none effort to get the answer)

Happy coding :D
User avatar
Saizo-Luz
Posts: 71
Joined: June 14th, 2024, 12:50 pm
Location: High Heavens

Re: Fog

Post by Saizo-Luz »

ZombieKnight wrote: March 2nd, 2025, 7:03 am First thing, any code relared questions should be asked in WML Workshop, especially for something as simple as fog.
What the hell?! I put in WML Workshop - why is it here?! Sorry!
ZombieKnight wrote: March 2nd, 2025, 7:03 am Second thing, this gonna sound little bit toxic, but there's WML wiki https://wiki.wesnoth.org/DirectActionsW ... ift_fog.5D , quite good, I'd say, so before you ask a question, try to search it up on wiki, we're just people too. (Ofc there's nothing bad about asking, but you seem to have made little bit to none effort to get the answer)
Yeah... I know about the wiki and stuff! I always look there before coming here to ask anything!
I'm having trouble with the fog; I've tried so many ways to reset the damn fog (redraw, scroll, etc, etc, etc), but when the fog is cleared by a unit, it doesn't reset. So that's why I wanna know if there is some add-on with such a code - just like the [place_shroud]. But apparently there is none!
User avatar
ZombieKnight
Posts: 355
Joined: June 27th, 2022, 2:26 pm
Location: Czech Republic

Re: Fog

Post by ZombieKnight »

Read the [reset_fog] doc then (really read it, it's there)
User avatar
Ravana
Forum Moderator
Posts: 3262
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: Fog

Post by Ravana »

Question read as request for addon recommendation, nothing to do with WML so I moved it away.
User avatar
Saizo-Luz
Posts: 71
Joined: June 14th, 2024, 12:50 pm
Location: High Heavens

Re: Fog

Post by Saizo-Luz »

DAMNIT! DAMNIT! DAMNIT! :evil:
I read the reset_fog too fast. The reset_view: default: no
I thought the default was 'yes'! :evil:
Only the reset_view worked and placed the damn fog again!
Ravana wrote: March 2nd, 2025, 2:50 pm Question read as request for addon recommendation, nothing to do with WML so I moved it away.
I see...
ZombieKnight wrote: March 2nd, 2025, 2:20 pm Read the [reset_fog] doc then (really read it, it's there)
Thank God you didn't paid attention to what I said about 'I READ EVERYTHING'! You repeating for me to read ended up helping me! Thanks! In my haste I didn't see the most important detail! reset_view: default: no reset_view: default: no reset_view: default: no reset_view: default: no (IT WAS NO :evil: )

Sorry for my stupidity and lack of attention! I'm telling you, there is no hope for me; a painful death is mercy!
User avatar
ZombieKnight
Posts: 355
Joined: June 27th, 2022, 2:26 pm
Location: Czech Republic

Re: Fog

Post by ZombieKnight »

Since this happens all the time to me, I can't judge you, glad you figured it out :D.
(You can rename the topic to [solved] Fog btw... not sure if it's standard or not now tho)
Post Reply