Page 1 of 1
Rain...or snow at certain times...
Posted: Wed Aug 01, 2007 11:33 am
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...
Posted: Wed Aug 01, 2007 12:55 pm
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
) and I changed in "Not Snowing State" Intensity to "0.000 to 0.000" in particle system tag. It helped
Posted: Wed Aug 01, 2007 2:24 pm
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.
Posted: Wed Aug 01, 2007 2:58 pm
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.
Posted: Thu Aug 02, 2007 12:27 am
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
Posted: Thu Aug 02, 2007 5:44 am
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.
Posted: Thu Aug 02, 2007 4:48 pm
by carlinho
ai'ght!
sorry I didn't read it
good to know!