 |
[Particles] Weather Effects with Collisions! |
 |
07-16-2009, 07:36 AM
|
#1
|
|
What sick man sends babies to fight me?
Psy is offline
Posts: 1,461
Thanks: 489
Thanked: 874
|
[Particles] Weather Effects with Collisions!
[ame="http://www.youtube.com/watch?v=UPuGZu-Eic8"]YouTube - TF2 - Sawmill Rain Particle Modification[/ame]
If you have been using the Sawmill or Viaduct weather effects, you may have noitced that the particles simply falls through all objects so I've modified the system so the particles no longer pass through solid objects!
This modified particle system works almost exactly like the ones found in Sawmill and Viaduct.
For Sawmill there are 2 rain effects; env_rain_001_collision (1024 units) and env_rain_002_collision (256 units).
If you have already being using the Sawmill particles then simply append '_collision' to the end of the name that each of your info_particle_systems point to. For Viaduct simply append '_collision' or '_collision_cheap'.
The difference between Viaduct's '_collision' and '_collision_cheap' is that the first allows particles to stay on the surface for a short period of time which is quite expensive whilst the latter kill the particles as soon as it hits a solid surface. Use them wisely.
Update: Added collision to Viaducts snow!
Note - 16th September
Valve have added an option to disable weather effects but unfortunately particles that are flagged as weather are hardcoded. You can read Robin's response [ame=http://forums.tf2maps.net/showpost.php?p=106206&postcount=53]here[/ame].
How To Install and Pakrat
- Place the particles_manifest.txt in your tf/maps folder
- Rename it to yourmap_particles.txt
- Pakrat the .pcf from your particles folder and the .txt
- Edit the location of each item so it reads as 'particles' for the .pcf and 'maps' for the .txt
You will get console errors for each set of particles along the lines of "unable to precache particle...". Ignore this.
I hope some of you will find this useful.
Last edited by Psy; 09-16-2009 at 01:01 PM..
|
|
|
|
|
The Following 64 Users Say Thank You to Psy For This Useful Post:
|
3Suns, Aftershock, alecgorge, Backslash, BagOfChips, benbrooks, Bermuda Cake, Bslashingu, cadeonehalf, Cherrykid13, Cold, Cornstarch, DJive, Dor, Dr. Spud, eerieone, elitekiller500, Engineer, Ezekel, FlavorRage, FR3akIN_OuT, Furex, Gadget, Gaisle, Garner, Gerbil, Goombac, HellJumper777, IrishTaxIDriver, Jakkarra, Jazz, JMRboosties, KarmaKaze, Kelao, Little Dude, Mick-a-nator, MildlyMad, Muffin Man, Nineaxis, Ninjilla, noodleboy347, NovaSilisko, Okrag, Pikmin 23, pitto, PL-7764, Remnic, Ritz, Schinken, Sgt Frag, Shadow Tyrant, SiniStarR, Smetzle, Solynth, Steff0o, Stormcaller3801, The Political Gamer, Timberjaw, Titanium, VelvetFistIronGlove, x14u2cx, zpqrei, [FT] Andy, †Blade† |
07-16-2009, 08:28 AM
|
#2
|
|
Quack Doctor
Nineaxis is offline
Posts: 1,802
Thanks: 722
Thanked: 1,203
|
Have to wonder why VALVe didn't do this to begin with.
|
|
|
|
07-16-2009, 08:36 AM
|
#3
|
|
L1: Registered
Backslash is offline
Posts: 30
Thanks: 13
Thanked: 2
|
Amazing. Should make for some great stormy maps!
|
|
|
|
07-16-2009, 08:38 AM
|
#4
|
|
L7: Guru
eerieone is offline
Posts: 979
Thanks: 668
Thanked: 524
|
dude, you solved a massive problem of mine
how often can i click the thanks-button?
|
|
|
|
07-16-2009, 09:02 AM
|
#5
|
|
L1: Registered
Cornstarch is offline
Posts: 8
Thanks: 8
Thanked: 0
|
That is awsome and its going to come in handy!
|
|
|
|
07-16-2009, 09:42 AM
|
#6
|
|
Needs Therapy
grazr is offline
Posts: 2,891
Thanks: 482
Thanked: 1,499
|
I would have assumed that Valve used a solid brush to apply their presipitation so effectively/accurately.
Valve have a nasty habit of duplicating their effects across models, point entities and solid brushes. Which is confusing to say the least. I can't think of it right now, but they have a dustmote model, but use the regular solid entity in 2fort. (Possibly Well, which still fails to show in the SDK update).
It would be interesting to see how you achieved this. Though i know nothing about particle systems as is.
__________________
Quote:
|
A Boojum Snark: Don't listen to grazr he is probably drunk
|
|
|
|
|
07-16-2009, 09:49 AM
|
#7
|
|
Hey look its the guy who posts too much!
The Political Gamer is offline
Posts: 3,899
Thanks: 2,810
Thanked: 1,275
|
 Premuda is going to look so much better now!
|
|
|
|
07-16-2009, 11:05 AM
|
#8
|
|
L8: Respected Expert
Sgt Frag is offline
Posts: 1,052
Thanks: 78
Thanked: 184
|
The vid links aren't working for me, how much is a minmal impact? I'm already doing everything I can to squeeze out every fps I can in my map, I don't want to lose more.
Also, will terrain now stop particles? or just objects?
|
|
|
|
07-16-2009, 11:17 AM
|
#9
|
|
L7: Guru
eerieone is offline
Posts: 979
Thanks: 668
Thanked: 524
|
Quote:
Originally Posted by The Political Gamer
 Premuda is going to look so much better now!
|
already implemented 
and i agree times&again, awesome
psy, i got a small idea
would it be possible to make minimal rain, i mean sizewise,
lets say you have a fake leak in your ceiling, and it drips down
something like 50x50 units ?
Last edited by eerieone; 07-16-2009 at 11:19 AM..
|
|
|
|
07-16-2009, 11:29 AM
|
#10
|
|
What sick man sends babies to fight me?
Psy is offline
Posts: 1,461
Thanks: 489
Thanked: 874
|
Yep. That would be completely possible. I'll make 128 and 64 versions soon. For now, I've updated the file as I zipped an older version which doesn't have collisions for the 256 version. All fixed now.
As far as I'm aware Sgt Frags, displacements do block rain.
|
|
|
|
|
The Following 2 Users Say Thank You to Psy For This Useful Post:
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
All times are GMT -5. The time now is 04:54 PM. |
|
|