Game Development Community

Precipitation inside interiors

by Kerry Enfinger · in Torque Game Engine · 08/12/2008 (1:24 pm) · 6 replies

I've created a house using Constructor and the roof brushes are structural. When I insert the house in a mission using precipitation, I still get rain drops through the roof. I am using TGE 1.5.2 and the precipitation.cc file has InteriorObjectType listed in the dropHitMask. I have the Modernization Kit installed but it shouldn't affect the precipitation. I have searched and cannot find an answer to this. Does anyone have any suggestions to fix this?

About the author

Owner of Altered Reality Software -- Bachelors Degree in Game and Simulation Programming -- Masters Degree in Database Management -- Currently working on Ph.D. in Computer Science


#1
08/12/2008 (2:48 pm)
There is something in the precipitation script. I can't remember right now, but there is a setting that prevents precipitation from entering the dif...

If I can find it, I'll post it.

Desmond Fletcher did a precip tutorial. Lookup keyword Holodeck, I think.

Or you could just say the roof leaks :)
#2
08/12/2008 (9:04 pm)
I have the doCollision set to "true". I can't understand why the precipitation goes through the rooftop. I looked up the Holodeck resource and it appears to be only for waterblocks.
#3
08/13/2008 (5:15 am)
If doCollision is set true and the roof still leaks then you may have "gaps" in the model. It may help to overlap roof tiles to make sure you have full coverage.

Sorry I'm not more help.

Tony
#4
08/13/2008 (3:13 pm)
I've put an structural plane over the entire top of the model and it still leaks through the plane object. I think there may be a bug in the base code. I'm going to look over the precipitation code tonight and see if I can spot the problem. Thanks for the replies.
#5
08/13/2008 (3:34 pm)
Is it possible that the "starting height" of the precipitation is lower than your roof? Then the rain wouldn't be passing through, it'd be starting within?

I don't know if there is a setting for "precipitation level". Just another thought.
#6
08/13/2008 (5:07 pm)
Old but informative: www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3647

I believe the key in 1.5.2 is to make sure your DIF is completely sealed. [Edit: By "sealed" I mean, portals across all openings.]