Rain

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
User avatar
Whoo
Posts: 42
Joined: Sun Aug 05, 2007 3:21 pm

Rain

Post by Whoo »

Hey i no this has been done before but could someone make rain,(maby using paricles)cause i need it for my wad.
User avatar
farhaven
Posts: 82
Joined: Sun Feb 25, 2007 2:01 pm
Location: NRW, Germany

Post by farhaven »

could someone make
definitely NO
User avatar
.+:icytux:+.
Posts: 2661
Joined: Thu May 17, 2007 1:53 am
Location: Finland

Post by .+:icytux:+. »

i made rain not too long ago... but it needs very much complex scripting cause i made it for zdoom 2.1.7 ... its not hard to make in Gzdoom or the SVN... go learn it yourself... check the wiki...

wiki ftw :D
User avatar
Kate
... in rememberance ...
Posts: 2975
Joined: Tue Jul 15, 2003 8:06 pm

Post by Kate »

Mmm, asking someone to make something for you is normally a bad idea. You know the saying, "If you want something done right, do it yourself."

But there certainly will be no problem in asking for help on how to do so. Here are some pages that'll help you get started that you should have a good lookover, they should help you to get a general idea of what to do:
  1. ACS Reference
  2. ACS Beginner's Guide
  3. Thing_ProjectileGravity (For use in a script)
  4. Creating new projectiles in DECORATE (To make the rain drops for use in the above)
If you have a question you would like to ask, feel free to do so and we'll try to help you as best we can. =)

Depending on the kinds of effects you need, usually the amount of scripting shouldn't really be that complex, usually a simple spawning loop is enough. The hardest part would be balancing the amount of rain as to not cause the game to slow down.
User avatar
.+:icytux:+.
Posts: 2661
Joined: Thu May 17, 2007 1:53 am
Location: Finland

Post by .+:icytux:+. »

a nice new feature would be in the mapinfo or acs.. just write (Rain, string "actorclass", intensity)

and from all the F_SKYs it would rain that actor :D
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

Yuck. No, no, NO!

If it's going to be supported by the code, the last way to properly implement it is to spawn a ton of actors that will bring most computers to their knees.

If there was a way to have particles or even sprites appear and fall from the sky sectors, with certain customizable settings, and without having to go through the entire process of being created and destroyed as actors, then I would agree that would be a nice feature to have.
User avatar
Zippy
Posts: 3302
Joined: Wed Mar 23, 2005 5:31 pm
Location: New Jersey

Post by Zippy »

Indeed. The actor variety of rain, which several people have made (including myself. You could probably find my solution posted on these boards if you just searched for it), has been used because it's one of the few solutions you're going to get without going in to code better support for those kinds of weather effects. They only work to a limited extent for exactly the reason HotWax has pointed out: treating the drops as actors quickly cripples the engines as you up the intensity since it is doing actor management for all of them.

Some kind of specialized particle/effect support would definitely be the way to go, and would be nice to have. There's a long list of "would be nice" features though.
User avatar
.+:icytux:+.
Posts: 2661
Joined: Thu May 17, 2007 1:53 am
Location: Finland

Post by .+:icytux:+. »

yeah it WOULD be a nice feature to add :P it wasnt a feature suggestion tough X) coz i knew it would be a definitly NO... but rain is kinda easily done with SpawnitemEx...
User avatar
Zok
Posts: 54
Joined: Sun Jan 21, 2007 12:53 am
Location: Mexico
Contact:

Post by Zok »

im remember a wad, what have some cool weather effects like snow, lava rocks, and of course, rain. you can activate some of these effect and the amount of the particles with four or eight switches. i think the wad if called: weathersim or something. anyone have the wad?
CaptainToenail
Posts: 3975
Joined: Fri Jul 06, 2007 9:16 am

Post by CaptainToenail »

There's excellent rain and snow things in SMDMII wad, I recommend you ask Mechadon for them! They are simple to use, you just place them on your map like any other thing. :wink:
shtbag667
Posts: 16
Joined: Wed Mar 15, 2006 2:24 pm
Location: cleveland, ohio, usa

Post by shtbag667 »

I made rain base on decorate and uses the a_jumpifcloser command so you can have as many of these rain spawners as you want without slowly down the computer.
User avatar
Cutmanmike
Posts: 11353
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

shtbag667 wrote:I made rain base on decorate and uses the a_jumpifcloser command so you can have as many of these rain spawners as you want without slowly down the computer.
That sounds like a good idea. I was going to try this with A_CheckSight but A_Jumpifcloser sounds even better.
User avatar
Virtue
Posts: 919
Joined: Sun Nov 19, 2006 8:15 am
Location: Manchester UK

Post by Virtue »

Zok wrote:im remember a wad, what have some cool weather effects like snow, lava rocks, and of course, rain. you can activate some of these effect and the amount of the particles with four or eight switches. i think the wad if called: weathersim or something. anyone have the wad?
the Ultimate Torment and Torture?

yes yes that has som prety convincing rain :)
User avatar
Karnizero
Posts: 84
Joined: Fri Mar 23, 2007 9:42 am

Post by Karnizero »

For those who have slow machines, there is a kind of rain to not slow them.

If rain, as you mentioned before, is a particle falling from the top to the floor, then like all other actors, can be moved to the player's coords (I mean X pos and Y pos, not heigh), so, we only need to create some rain near the player, and then, just keep those "rain" actors moving while the player moves (Thing_Move)

Actually there are some old games using this effect, so, only near rain particles are being created, but the player thinks that all map is being "rained".

I dont know if i have explained ok.

Look this image for a sample:

Image

Do U understand? The optical effect makes the player to think that the rain is all over the map (or i think that).
User avatar
Cutmanmike
Posts: 11353
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

The problem with that is detecting whether there's indoor areas around the player when he's standing outside.
Locked

Return to “Editing (Archive)”