Weather
Moderator: Forum Moderators
Forum rules
Before posting a new idea, you must read the following:
Before posting a new idea, you must read the following:
I'm not sure it's such a good idea. Having animations and sounds for weather on top of the game would bother me. I'd want to be able to turn it off in the preferences - but if it has a game effect I wouldn't be able to.
I'm all for making the game more alive, but clouds and rain might be too much. As a special effect in a specific campaign to strengthen the mood, no problem. But automatic weather in all games?
I'd prefer to see little things added that would enhance the ambiance - but that would not affect gameplay. Animating the water, more (subtle) sounds, more idle animations, more interface themes to choose from, etc.
We already have a lot of stuff affecting gameplay, and they all merge together pretty well. time of day, terrain and units stats, abilities and traits are more than enough and there's still a lot of place inside those to expand. I'd prefer Wesnoth to build upon its strengths than to see it start off in new directions.
I'm all for making the game more alive, but clouds and rain might be too much. As a special effect in a specific campaign to strengthen the mood, no problem. But automatic weather in all games?
I'd prefer to see little things added that would enhance the ambiance - but that would not affect gameplay. Animating the water, more (subtle) sounds, more idle animations, more interface themes to choose from, etc.
We already have a lot of stuff affecting gameplay, and they all merge together pretty well. time of day, terrain and units stats, abilities and traits are more than enough and there's still a lot of place inside those to expand. I'd prefer Wesnoth to build upon its strengths than to see it start off in new directions.
I think small changes in gameplay would be ok, the weather could change for a moment and after the rain stops it would not affect the gameplay anymore - it may only affect ranged weapons for like 2 rounds for example, like dibblethewrecker suggested. Just another nifty thing making the game more interesting (like day and night).
But if it will be incorporated as an ambience effect. I like it too. I don't know which option is better.
But if it will be incorporated as an ambience effect. I like it too. I don't know which option is better.
"The caterpillar can never fathom the butterfly." - Timothy Leary
Edit: this is an answer to the post below me
Not much. You can define any bonus for a time of day (TOD), but the bonus will always be symmetric for lawfuls/chaotics. You can define what happens to it when illuminated, which is done by convention but you can stick any bonus in there.
You could implement a weather effect through a [weather] tag, but with the limitation that the bonus is always symmetric, you may just as well define a new TOD type. I personally dislike changing the bonuses based on weather... but since the graphical/performance hurdles would need to be met regardless, maybe you should do things one step at a time.
Not much. You can define any bonus for a time of day (TOD), but the bonus will always be symmetric for lawfuls/chaotics. You can define what happens to it when illuminated, which is done by convention but you can stick any bonus in there.
You could implement a weather effect through a [weather] tag, but with the limitation that the bonus is always symmetric, you may just as well define a new TOD type. I personally dislike changing the bonuses based on weather... but since the graphical/performance hurdles would need to be met regardless, maybe you should do things one step at a time.
Last edited by scott on October 11th, 2005, 5:39 pm, edited 1 time in total.
Hope springs eternal.
Wesnoth acronym guide.
Wesnoth acronym guide.
-
- Posts: 164
- Joined: February 28th, 2005, 5:21 pm
- Location: Somewhere solid, looking for a long enough lever
The obvious use for weather effects would be - for me - in campaigns. I think in the short term this could simply be done by extending Time Of Day effects - so instead of 'Noon' or 'First Watch', you might have 'Noon-Thunderstorm' or 'First Watch - Full Moon', with an appropriate graphic replacing the default.
At the moment, effects of this would presumably be limited to Time Of Day effects - i.e. whether Lawfuls, Chaotics or neither get the bonus. An application of this might be a Lich covering the sun with clouds to prevent Lawfuls getting a bonus during the day, or a White Mage revealing the moon at night so Lawful troops can see.
It might be possible to do more. Scott? How flexible is Time Of Day?
At the moment, effects of this would presumably be limited to Time Of Day effects - i.e. whether Lawfuls, Chaotics or neither get the bonus. An application of this might be a Lich covering the sun with clouds to prevent Lawfuls getting a bonus during the day, or a White Mage revealing the moon at night so Lawful troops can see.
It might be possible to do more. Scott? How flexible is Time Of Day?
If life gives you Lions, Make Lionade.
Worldforge CVS has some nice bird sounds.
http://purple.worldforge.org/wf/cvs/med ... res/birds/
And some weather, but not much
http://purple.worldforge.org/wf/cvs/med ... vironment/
http://purple.worldforge.org/wf/cvs/med ... res/birds/
And some weather, but not much
http://purple.worldforge.org/wf/cvs/med ... vironment/
Hope springs eternal.
Wesnoth acronym guide.
Wesnoth acronym guide.
scott, what do you mean by a [weather] tag?
What would almost be needed is for WML to be able to work continuously, not in response to events. The WML would have to be ran every few seconds, no matter what is going on in the game (the time interval can be fixed, random factors can be added through the existing random number system).
What would almost be needed is for WML to be able to work continuously, not in response to events. The WML would have to be ran every few seconds, no matter what is going on in the game (the time interval can be fixed, random factors can be added through the existing random number system).
"ILLEGITIMIS NON CARBORUNDUM"
Father of Flight to Freedom
http://www.wesnoth.org/wiki/FlightToFreedom
Father of Flight to Freedom
http://www.wesnoth.org/wiki/FlightToFreedom
You're right, but that's a horrible misuse of WML. Weather should work just like flag waving and evening smoke (do we even have that anymore?). The code knows when to wave the flags or light the fires. The actual animation of it should take place in the executable code rather than in the scripting language, where it is bound to be much slower. The engine should be set to handle several continuous effects such as rain and wind, and use the scripting language to tell the game when to activate them. You could customize the animation and sounds with WML and make use of a general 'continuous animation' code. As an aside, I wonder how horrible it would be trying to put an animated overlay on every hex (of a specified terrain) on the map. My computer sometimes has trouble keeping the flags going during combat.MadMax wrote:scott, what do you mean by a [weather] tag?
What would almost be needed is for WML to be able to work continuously, not in response to events. The WML would have to be ran every few seconds, no matter what is going on in the game (the time interval can be fixed, random factors can be added through the existing random number system).
Hope springs eternal.
Wesnoth acronym guide.
Wesnoth acronym guide.
-
- Posts: 43
- Joined: May 10th, 2005, 1:17 am
- Location: Infierno
I think rain or other bad weather could count as either dusk/dawn (no penalty or bonus for anyone) or a new 'time of day' with a -25% penalty for all (neutral, lawful, or chaotic). This would add interest to the game because an attack during a strong time of day (eg. daytime for lawful) could be interrupted by a sudden penalty.
Not again...
-
- Posts: 65
- Joined: September 1st, 2005, 12:19 am
- Location: land of the pink elephants
I didn't know years were only 40 days long.
And even so... how many single scenarios get to be 60 turns long? Usually they're about 25... unless you're playing on a huge map, it would never get long enough to actually reach a change of season. The best way to simulate that is with in-campaign events, and with, for example, maps later in the campaign having more/less snowy terrains on them...
And even so... how many single scenarios get to be 60 turns long? Usually they're about 25... unless you're playing on a huge map, it would never get long enough to actually reach a change of season. The best way to simulate that is with in-campaign events, and with, for example, maps later in the campaign having more/less snowy terrains on them...
For I am Turin Turambar - Master of Doom, by doom mastered. On permanent Wesbreak. Will not respond to private messages. Sorry!
And I hate stupid people.
The World of Orbivm
And I hate stupid people.
The World of Orbivm
- Elvish_Pillager
- Posts: 8137
- Joined: May 28th, 2004, 10:21 am
- Location: Everywhere you think, nowhere you can possibly imagine.
- Contact:
Huh?Elvish Pillager wrote:Yeah, it should be every 23 turns the season changes.
It should actually be 270 turns per season change... that's if you're working with the theoretical 4-season, 3-months-each schedule, which actually doesn't work in most places. For example, in Texas, summer seems to last 5 months, autumn 1, winter 2, and spring 4.
For I am Turin Turambar - Master of Doom, by doom mastered. On permanent Wesbreak. Will not respond to private messages. Sorry!
And I hate stupid people.
The World of Orbivm
And I hate stupid people.
The World of Orbivm