Rain...or snow at certain times...

A forum for discussing map making ideas and problems for the Myth series.
Post Reply
Lugas
Posts: 531
Joined: Fri Feb 03, 2006 4:20 pm

Rain...or snow at certain times...

Post by Lugas »

Is it possible to make it rain when someone dies? Is it possible to make it rain harder when someone else dies? Is it possible to make it stop completely when another person dies...making the player scared as hell whilst I summon an evil demon to destroy him! Ahahahahaha!

Edit: I know how to change the particles on a mesh in Fear. I made Muirthemne start raining a few minutes ago. Also I do know how to script rain, but it goes ahead regardless of it being initially active... :shock:
Click on the picture below for my Myth 2 scenario.
Image
gugusm
Posts: 487
Joined: Mon Aug 22, 2005 1:16 pm
Location: Klucze, Poland
Contact:

Post by gugusm »

If I understand well, you don't want it to rain from beginning, right? I had the same problem quite recently (Onyx guys will know :P ) and I changed in "Not Snowing State" Intensity to "0.000 to 0.000" in particle system tag. It helped :)
User avatar
Pyro
Bug Finder Extraordinaire
Posts: 4751
Joined: Sun Mar 21, 2004 2:14 pm
Location: Texas

Post by Pyro »

I have a mesh that uses rain and I have it scripted to show up at certain times. You just have to have the box for "States last indefinitely" checked. This box will make each state last as long as your script lets it on. And duration 0 to 0. Make sure you have a good transition duration or it will look bad when it starts and stops out of no where. I have mine set at a minimum of 5 for both states. This way it looks more natural.
Lugas
Posts: 531
Joined: Fri Feb 03, 2006 4:20 pm

Post by Lugas »

Where is this "States last indefinitely" button? I use this

# Particle System Control

* Switch Particle System State - Takes a flag, if true toggles between snowing and not snowing.
* Target Multiplier - Takes a number, defining a multiplier to determine number of particles.

Edit: I found it.

Edit 2: It still starts at the beginning, even though its not initially active.

Edit 3: I've decided not to use particles...well not at certain times. Thanks everyone for your help.
Click on the picture below for my Myth 2 scenario.
Image
User avatar
carlinho
Posts: 1224
Joined: Tue Jun 08, 2004 8:23 pm

Post by carlinho »

lugas if I remember well and if you decide to use again:

use the switch particles action.
Just make sure to use a tuni action to test if a unit died, if so then activate on success a tuni action where you make rain.
to make rain stop and not start from the beginning you need to create a switch particle action INITIALLY active, where you say 0 to particles.
it will show though rain at the paused frame of each game beginning and once you ESC the pause menu it will stop....

the best way not to make it look weird is to make the rain stop after a while, so it doesn't look like a bug
http://carlinho7.tripod.com
Home of ANCIENT and CLASSICAL GREECE plugin on the works.
Image
gugusm
Posts: 487
Joined: Mon Aug 22, 2005 1:16 pm
Location: Klucze, Poland
Contact:

Post by gugusm »

carlinho wrote:it will show though rain at the paused frame of each game beginning and once you ESC the pause menu it will stop....

the best way not to make it look weird is to make the rain stop after a while, so it doesn't look like a bug
If you change what I wrote in this thread before, it won't rain at the beginning. At least it worked for me.
User avatar
carlinho
Posts: 1224
Joined: Tue Jun 08, 2004 8:23 pm

Post by carlinho »

ai'ght!
sorry I didn't read it
good to know!
http://carlinho7.tripod.com
Home of ANCIENT and CLASSICAL GREECE plugin on the works.
Image
Post Reply