How to get weather effects to show up during battles?

Hello again, I've been trying to incorporate weather into battle in a pokemon-ish manner (though I know its not the only game to do this - its just the last rpg I've played and frankly is kind of the inspiration to adding this in - and I feel that since its a cookie cutter jrpg right now, atmosphere is going to be important until I can spice things up).

I've tried googling a bit, but the most I can find are people asking how to use the weather as a damage formula thing - but haven't really stumbled into battlescene weather.

Damage formula wise - I've got that kind of down as:
"if v[2]=1;*damageformula*;else;*damageformula x 2*;end;"
And I'm okay with it right now, because I did run into a useful formula that lets me use the note box for damage stuff.

So mainly the issue right now is to get it to visually show up during the battle scene.

Any help would be appreciated!
doesn't adding a weather effect as a troop event do anything?
I don't really see an option for that? I've tried using the battle events to trigger the rain - but nothing seems to happen.
doesn't adding a weather effect as a troop event do anything?

I don't really see an option for that? I've tried using the battle events to trigger the rain - but nothing seems to happen.
Yeah, adding a Weather Effect command in a troop event does absolutely nothing, as shown here...... BattleWeather.png

That would be for RMMV.
The question was for VXAce.

Dekita and Theoallen have scripts for Battle weather.
That would be for RMMV.
The question was for VXAce.

Dekita and Theoallen have scripts for Battle weather.
My bad- Didn't know this was the VXAce part.
That would be for RMMV.
The question was for VXAce.

Dekita and Theoallen have scripts for Battle weather.

Okay - I'll try to look into those. Though I've been thinking about something though - still related but, I've was toying with this idea of using the battle events to draw a picture of the weather in question.

Basically, I drew two frames of rain on a transparent png. And set up a battle event that would trigger when the rain switch is on.

The event goes like this:
A draw weather variable continually goes up during the fight - and when it hits between certain numbers, it would change frames (deleting the old picture, then drawing the new picture), and reset back to 0 after a certain point.

Unfortunately for me - I forgot that time is a bit weird in a battle scene, so I'm assuming the variable hasn't been ticking and it's been stuck drawing the frame at the 0-24 range.

Though I do feel that maybe if I could get that working, it might work a bit better(?) - since I'd have more creative control over it and could stylize things a bit more. So I guess I'll try to dig up those scripts but in the mean time if anyone has any ideas to get this drawing picture weather idea working I'd love to hear it too.
As another alternative, Moghunter's Weather script continues whatever weather you set on the map into any battles you have, so you have smooth transition from one to another.
Okay, I wasn't able to find TheoAllen's weather script (I checked a page full of his other scripts which I'm probably going to check out later because there was some interesting ones there) - but I did find Dekita's, which works fine but I've noticed that when testing stuff the weather didn't trigger with a battle effect and only worked when testing the game and having the weather start prior. Being able to swap weather either for dramatic reasons or abilities is definitely something I want to aim for.

As another alternative, Moghunter's Weather script continues whatever weather you set on the map into any battles you have, so you have smooth transition from one to another.

Moghunters weather looks good, and it looks like you can make up weather or just have leaves blowing about which is cool, I have been having some trouble testing it though.

I can't exactly read everything going on in there but I used an event script to trigger the weather example - but it's telling its unable to find the graphics "Rain" or "Leaf" as it is in the example on the script. I've tried changing "Rain" to every file name in the folder but nothing seems to happen.

The little game demo that comes with everything works fine though and looks really good. But copying pasting stuff from there doesn't seem to work.

edit: Ok maybe I shouldn't be doing this half asleep. It doesn't seem to work when using a parallel process - but having it trigger once on a map (per entry) seems to work fine. It just doesn't look like it can trigger mid battle though.
For Moghunter's script you need to copy the graphics (leaf, rain etc.) from the demo into a new folder within the Graphics folder, called Weather. You can add additional graphics if you want, e.g. different leaves.

And no, as far as I am aware, it can't be triggered in battle, it just picks up whatever weather you have set for that map and continues it into battle.
For Moghunter's script you need to copy the graphics (leaf, rain etc.) from the demo into a new folder within the Graphics folder, called Weather. You can add additional graphics if you want, e.g. different leaves.

And no, as far as I am aware, it can't be triggered in battle, it just picks up whatever weather you have set for that map and continues it into battle.

Yeah. I had done that before - it just wasn't working for me because I was using a parallel process on the event. Which I'm guessing kept triggering the weather to constantly restart making it look like it wasn't happening.

Even if I can't get it to work for battles like I'd want - I'll probably still end up using this one, so thanks for that.
As far as battle stuff goes - the draw picture thing seems to trigger fine, but I can't get it to be more than a still image. And well I guess that would be a problem later on if the weather events bleed over to battle and you have two different weathers playing.
On your parallel process - something you should do all parallel processes which are setting up something for a map is to put 'Erase Event' as the last command. That stops it running any more until the next time that you load up the map when it will re-execute all your commands. You should never have a parallel process running unnecessarily. But without that Erase Event command, it will keep on triggering the weather.
http://theolized.blogspot.ca/2013/05/theo-battle-weather-screen.html

But this will only pull the map weather in like Dekita.

For MOG
weather.PNG

You can also use MOG battle backs for some more effects.
I haven't fully figured this one out, I just copied the entries in the demo for now.
mog_bb1.PNG mog_bb2.PNG
Thanks! I'll see if I can get a chance to try them out later. Though I am kind of worried that what I want might be getting a bit too complicated with this.

I guess kind of unrelated - but while I'm comparing scripts, is there a way to toggle a script on/off, not in-game, but just as a way I can test them without having to constantly delete/copy-paste them over and over?
Put your cursor anywhere in the script you want to disable. Press Ctrl + A, that will select all. Then press Ctrl + Q and # will appear before all lines. The script is now disabled. To re-enable it do the same thing again. The # will disappear.
Ok, so I haven't really been to work on things - since I had to work on other things - but I was looking into "common events running during battles" and I found some neat scripts by Himeworks that actually got my battle event running mid-battle. And I guess here's a mock up of what it would look like:
Spoiler

I feel like that maybe if I add a bunch more frames, it could actually look good? (Though right now it involves constantly drawing/removing pictures and conditional loops which could end up looking like a nightmare under the hood).

But I am able to change this stuff pretty easy (having tested it by having it switch on and off between turns) and I guess as a bonus - I understand how I got "here", since a big problem I have with scripting is that the language is pretty alien to me and I have no idea where to begin touching that.

Though before I get ahead of myself, I still want to look around and try out Mog's stuff a bit more before I commit to anything.

Also thanks for the tip about CTRL-Q! It helps a lot.

Edit:
Okay guys, I've decided to stick with my "custom" weather for now - thanks for the help! I think its safe to close this thread now.
Hello again, I've been trying to incorporate weather into battle in a pokemon-ish manner (though I know its not the only game to do this - its just the last rpg I've played and frankly is kind of the inspiration to adding this in - and I feel that since its a cookie cutter jrpg right now, atmosphere is going to be important until I can spice things up).

I've tried googling a bit, but the most I can find are people asking how to use the weather as a damage formula thing - but haven't really stumbled into battlescene weather.

Damage formula wise - I've got that kind of down as:
"if v[2]=1;*damageformula*;else;*damageformula x 2*;end;"
And I'm okay with it right now, because I did run into a useful formula that lets me use the note box for damage stuff.

So mainly the issue right now is to get it to visually show up during the battle scene.

Any help would be appreciated!
I can suggest to try Tsukihime's Global common event:

using this script you'll be able to call a common event in every scene, so battle too. Just make a skill tha calls a common event with this add on. Let me know if it works.
Necro-post notice: @Ina00

Original thread: https://forums.rpgmakerweb.com/threads/how-to-get-weather-effects-to-show-up-during-battles.89717/