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...
Rain...or snow at certain times...
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.
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.
# 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.
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
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
If you change what I wrote in this thread before, it won't rain at the beginning. At least it worked for me.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