Raised This Month: $32 Target: $400
 8% 

[TF2] Rain of prop


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 07-04-2014 , 15:32   [TF2] Rain of prop
Reply With Quote #1

Just a random idea, what about making rain random prop (well, not some huge cars, something like melons ?) all over the map.
Usage :
[command] -> prop spawn on the sky by X number each Y seconds for Z time -> fall on the map (can dammage player, cvar ?) -> destroy all prop after X seconds.

This is just a random idea, so if someone : have time/think it's funny/wanna make me happy/have drink too much coffee and MUST script something/???/all of those option at once and he is going to do it, well, thanks.
__________________
Want to check my plugins ?

Last edited by Arkarr; 07-04-2014 at 15:33.
Arkarr is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 07-04-2014 , 20:35   Re: [TF2] Rain of prop
Reply With Quote #2

Lots of physics props can lag pretty bad, esp if they use collision
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
deadmau54
AlliedModders Donor
Join Date: May 2013
Old 05-23-2015 , 04:51   Re: [TF2] Rain of prop
Reply With Quote #3

Sounds like a fun idea though
__________________
deadmau54 is offline
AeroAcrobat
AlliedModders Donor
Join Date: Apr 2011
Location: lives in a circus
Old 05-23-2015 , 11:13   Re: [TF2] Rain of prop
Reply With Quote #4

[TF2] Train Rain (v1.0.1, 04/02/2014)
maybe this is a good start
__________________
AeroAcrobat is offline
thecount
Veteran Member
Join Date: Jul 2013
Old 05-23-2015 , 12:40   Re: [TF2] Rain of prop
Reply With Quote #5

There would need to be away to determine where the skybox is. I think this is only determined by texture on the brush? Might be some way to find what texture the brush is using and loop through all brushes to find the skyboxes then pick random points at random intervals below these skyboxes and spawn a prop.
thecount is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 05-24-2015 , 01:49   Re: [TF2] Rain of prop
Reply With Quote #6

traceray upwards to the sky and get the endpoint... you have to get the mask right though.

then only spawn 'rain' within a radius of any player, that way sometimes it may be outside the map but there'll always be some near people
__________________

Last edited by Chdata; 05-24-2015 at 01:50.
Chdata is offline
thecount
Veteran Member
Join Date: Jul 2013
Old 05-24-2015 , 21:34   Re: [TF2] Rain of prop
Reply With Quote #7

Quote:
Originally Posted by Chdata View Post
traceray upwards to the sky and get the endpoint... you have to get the mask right though.
Trace ray might hit ceiling instead of sky.
thecount is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 05-25-2015 , 16:10   Re: [TF2] Rain of prop
Reply With Quote #8

Why shouldn't it hit the ceiling?
__________________
Chdata is offline
thecount
Veteran Member
Join Date: Jul 2013
Old 05-25-2015 , 22:50   Re: [TF2] Rain of prop
Reply With Quote #9

Quote:
Originally Posted by Chdata View Post
Why shouldn't it hit the ceiling?
Rain doesn't go through the ceiling in most cases. Unless you meant using the filter for checking if the brush is indeed the skybox. Ceiling of a map != skybox always.
thecount is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 05-26-2015 , 02:51   Re: [TF2] Rain of prop
Reply With Quote #10

Quote:
Originally Posted by thecount View Post
Rain doesn't go through the ceiling in most cases. Unless you meant using the filter for checking if the brush is indeed the skybox. Ceiling of a map != skybox always.
Traceray wont return if it is skybox.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:46.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode