[tut/example] Simple Rain
esuna
Rock Bottom Join Date: 2003-04-03 Member: 15175Members, Constellation
Ok, well, during my progress in making co_disgorge, i experimented with making a rain particle system, eventually, this was too processor hungry to use on a large scale, and eventually i ripped it out of the map and decided to go back to the old system i was using.
Basically, what this is is two particle systems. One generates the rain itself, the second generates the splash sprite.
Rather than explaining the details of exactly how to make this simple little system, i thought i'd just release the source to it so people can get a look of how it's done.
Included in this 216kb zip file is the .rmf and .map source, the rain sound, the rain sprite, a custom sky (since i couldn't be bothered to change it) and a compiled bsp of my test map.
The sprites, sounds, and sky are what i used to test, i really really couldn't be bothered to rename and move things around, so i left them as they are, so if you see co_disgorge folders popping up in your sprites and sounds folders, that's why. Feel free to change the paths of the files and the paths in the particle systems etc to whatever you like.
Note, the sky i used is co_disgorge's test sky, at some point i will remake it and make it less sucky, but still, no using it or distributing it for your own maps. <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->
Anyway, you can download the files <a href='http://esuna.thezazi.net/mapping/tuts/raintut.zip' target='_blank'>here</a>. Hope this helps some of you in some way.
This system doesn't have to be used for just rain, it can be easily used for dripping water from pipes, or whatever.
EDIT: Yeah, i know the splash sprite looks sucky, sue me. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
Basically, what this is is two particle systems. One generates the rain itself, the second generates the splash sprite.
Rather than explaining the details of exactly how to make this simple little system, i thought i'd just release the source to it so people can get a look of how it's done.
Included in this 216kb zip file is the .rmf and .map source, the rain sound, the rain sprite, a custom sky (since i couldn't be bothered to change it) and a compiled bsp of my test map.
The sprites, sounds, and sky are what i used to test, i really really couldn't be bothered to rename and move things around, so i left them as they are, so if you see co_disgorge folders popping up in your sprites and sounds folders, that's why. Feel free to change the paths of the files and the paths in the particle systems etc to whatever you like.
Note, the sky i used is co_disgorge's test sky, at some point i will remake it and make it less sucky, but still, no using it or distributing it for your own maps. <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->
Anyway, you can download the files <a href='http://esuna.thezazi.net/mapping/tuts/raintut.zip' target='_blank'>here</a>. Hope this helps some of you in some way.
This system doesn't have to be used for just rain, it can be easily used for dripping water from pipes, or whatever.
EDIT: Yeah, i know the splash sprite looks sucky, sue me. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
Comments
gives me a chance to experiment with particle systems...
something i wanted to do for a while.