Precipitation issues: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (We know it has no gameplay effect.)
 
(9 intermediate revisions by 7 users not shown)
Line 1: Line 1:
[http://www.anime-extreme.net/images/avatar/smiles/rvfang.html prom and homecoming dress] [http://flyingaggies.org/gallery/albums/oops/photo/iuilcd.html cheap heelys] [http://snowclubs.com/nyssa/mojo/image/avjqio.html salma hayek porn] [http://mayafoods.com/shop/catalog/temp/text/fmxlio.html birthday party supplies] [http://fisheadcartoons.com/phpBB2_old/admin/mods/dhtml_menu_for_acp_mod_v1_0_0_a/backups/templates/saphir/admin/image/tqdqen.html amateur clip free sex] [http://socks-manufacturers.com/about/image/mkibom.html cheap air flights ticket] [http://rgvtechs.com/Autos/images/gif/tgmtdn.html jessica simpson naked] [http://flyingaggies.org/gallery/albums/oops/photo/jvitse.html exgirlfriend pictures] [http://www.anime-extreme.net/images/avatar/smiles/lktrxb.html clitoris orgasm] [http://schonborn.com/log/archives/0000000001/bmeqms.html rolex submariner] [http://fisheadcartoons.com/phpBB2_old/admin/mods/dhtml_menu_for_acp_mod_v1_0_0_a/backups/templates/saphir/admin/image/aihkfp.html eph200 weight loss pill] [http://sxabearing-manufacturers.com/Ball_Bearings_3/image/gdbfat.html viagra samples] [http://socks-manufacturers.com/about/image/gvbitu.html bennigans restaurant] [http://dreadneck.com/gallery3/upgrade/image/hohqxp.html chanel sun glasses] [http://getstoked-openair.de/openair2007/cms/upload/Image/sponsoren/banners/kreuvu.html learning japanese online for free] [http://sacapuntos.com/avatars-local/0/images/rvtgjb.html email marketing] [http://sacapuntos.com/avatars-local/0/images/dwdxmd.html porn video games] [http://rgvtechs.com/Autos/images/gif/owsovq.html xxx sex xxx] [http://cripo-ua.com/dump/backup/cache/trfixd.html lexmark] [http://glodev.com/silverton/keywest2007/pics/thumbs/IMG/rkqlat.html brinkmann pro series gas grill] [http://telephone-booth.com/Electronic%20Products/electro/rixkme.html berkeley court hotel dublin] [http://fisheadcartoons.com/phpBB2_old/admin/mods/dhtml_menu_for_acp_mod_v1_0_0_a/backups/templates/saphir/admin/image/omnset.html aldara] [http://cripo-ua.com/dump/backup/cache/rmlivt.html magic bullet] [http://telephone-booth.com/Electronic%20Products/electro/tcmweg.html comparing diets] [http://household-manufacturers.com/writing_board/image/vephlm.html ringtone] [http://freewarecorner.com/wp-content/uploads/2006/12/cache/gcoeqc.html psp movies] [http://household-manufacturers.com/writing_board/image/ljgxsi.html cable descrambler] [http://glodev.com/silverton/keywest2007/pics/thumbs/IMG/iieeib.html pixma] [http://snowclubs.com/nyssa/mojo/image/kojhlc.html inkjet cartridge] [http://rubber-plastics-manufacturers.com/cp/avatars/wwphtw.html buy xenical cheap] [http://wecareforkids.org/fundraisers-2005/image/wljipc.html wedding invitations] [http://sxabearing-manufacturers.com/Ball_Bearings_3/image/tiaoua.html amateur xxx video] [http://glodev.com/silverton/keywest2007/pics/thumbs/IMG/ijqgqc.html free ringtone and wallpaper] [http://rubber-plastics-manufacturers.com/cp/avatars/nssmrc.html gmc vehicle recall] [http://arrastaocountry.com.br/phpchat/chat/localization/danish/image/dmkbrq.html zelnorm] [http://cosmickaos.com/kaosguestbook/backups/cache/bqqrcx.html angelina joline] [http://sxabearing-manufacturers.com/Ball_Bearings_3/image/sgmmgp.html learning disabilities] [http://getstoked-openair.de/openair2007/cms/upload/Image/sponsoren/banners/qadmju.html teen web cam] [http://mqantiques.com/aboutchinese/contact/csrhhk.html kids party supply] [http://f-ccc-zion.com/ExtCalendar/include/image/ufrvaq.html babiex] [http://sxabearing-manufacturers.com/Ball_Bearings_3/image/sqsubu.html homemade porn] [http://www.schmittziesart.de/gbook2/fonts/image/piorhb.html viagra for woman] [http://troop270.com/site/cache/tmp/evwqld.html sexy swimwear] [http://dreadneck.com/gallery3/upgrade/image/idghcx.html shemale dating] [http://freewarecorner.com/wp-content/uploads/2006/12/cache/xkrcvc.html paltalk x treme] [http://sxabearing-manufacturers.com/Ball_Bearings_3/image/hgafai.html mature woman gallery] [http://www.mavis-crafts.com/highcross-old/components/image/toksao.html buckled interior concrete floors] [http://fisheadcartoons.com/phpBB2_old/admin/mods/dhtml_menu_for_acp_mod_v1_0_0_a/backups/templates/saphir/admin/image/agctbr.html dunk tank] [http://household-manufacturers.com/writing_board/image/gubrpv.html travel agencies] [http://eqia.com/bank/image/shcclq.html lesbian group sex] [http://www.anime-extreme.net/images/avatar/smiles/mbctgm.html yung joc] [http://marzeporgohar.org/folders/folder_23/image/tixdxs.html replica collection] [http://dreadneck.com/gallery3/upgrade/image/fkjlmk.html auto trader edmonton] [http://naturalspascanada.com/lma/templates/image/rhiurg.html nebulizer] [http://naturalspascanada.com/lma/templates/image/vtfjpi.html breaking free] [http://cripo-ua.com/dump/backup/cache/xjhjxf.html dolphin] [http://wecareforkids.org/fundraisers-2005/image/hsmjsh.html cancer horoscope] [http://glodev.com/silverton/keywest2007/pics/thumbs/IMG/moehwv.html metformin side effect] [http://f-ccc-zion.com/ExtCalendar/include/image/ugttcg.html colorado springs real estate] [http://freewarecorner.com/wp-content/uploads/2006/12/cache/gfnmwf.html free webcam girls] [http://www.anime-extreme.net/images/avatar/smiles/avxrjl.html wedding gowns] [http://f-ccc-zion.com/ExtCalendar/include/image/mbgfbs.html isuzu amigo engine] [http://mqantiques.com/aboutchinese/contact/lqifxq.html unsecured personal loans] [http://wecareforkids.org/fundraisers-2005/image/gkwmxa.html public auto auction] [http://cripo-ua.com/dump/backup/cache/jnesgc.html buy codeine] [http://mayafoods.com/shop/catalog/temp/text/gdbjkr.html anal intercourse] [http://socks-manufacturers.com/about/image/jpvbbm.html fish care] [http://led-autolight.com/cache/Car_Air_Compressor/cpjnhv.html laptop] [http://cosmickaos.com/kaosguestbook/backups/cache/nvgiqn.html office depot coupons] [http://sacapuntos.com/avatars-local/0/images/qtqjil.html amateur interracial sex] [http://bigskyregion.org/ExtCalendar/include/image/bupfho.html first time home buyer grants] [http://www.turgjengen.org/portal/modules/WeatherMagnet/cache/radar/image/fvrwmh.html brandon boyd photos] [http://glodev.com/silverton/keywest2007/pics/thumbs/IMG/uisgfk.html crack terminal server] [http://glodev.com/silverton/keywest2007/pics/thumbs/IMG/ehttpr.html windows xp repair utility] [http://glodev.com/silverton/keywest2007/pics/thumbs/IMG/ijnmtu.html web cam sex] [http://www.schmittziesart.de/gbook2/fonts/image/xvxgtq.html beauty salon equipment] [http://getstoked-openair.de/openair2007/cms/upload/Image/sponsoren/banners/jxftva.html generic phentermine] [http://dreadneck.com/gallery3/upgrade/image/wuxncq.html download free mp3] [http://bigskyregion.org/ExtCalendar/include/image/flpank.html passport applications] [http://wecareforkids.org/fundraisers-2005/image/grcnbg.html dominican republic] [http://snowclubs.com/nyssa/mojo/image/horpna.html highschool football] [http://www.n373n.net/vb/customprofilepics/image/obvngl.html zyprexa side effect] [http://mayafoods.com/shop/catalog/temp/text/iqhios.html cum slut] [http://arrastaocountry.com.br/phpchat/chat/localization/danish/image/decllc.html fetish menstruation] [http://schonborn.com/log/archives/0000000001/ngdvjm.html horoscop] [http://mayafoods.com/shop/catalog/temp/text/khpwod.html arcade games] [http://sxabearing-manufacturers.com/Ball_Bearings_3/image/rwredk.html free calendar] [http://flyingaggies.org/gallery/albums/oops/photo/qtofkk.html ge profile refrigerator] [http://dreadneck.com/gallery3/upgrade/image/vbcxqd.html colon cancer] [http://fisheadcartoons.com/phpBB2_old/admin/mods/dhtml_menu_for_acp_mod_v1_0_0_a/backups/templates/saphir/admin/image/xqocxq.html mountain bike] [http://marzeporgohar.org/folders/folder_23/image/xjmhou.html brazilian bikini] [http://dreadneck.com/gallery3/upgrade/image/atbdjv.html stamina rx] [http://www.n373n.net/vb/customprofilepics/image/jvbegt.html universities in london] [http://glodev.com/silverton/keywest2007/pics/thumbs/IMG/fwdght.html trinity loren] [http://www.turgjengen.org/portal/modules/WeatherMagnet/cache/radar/image/ueljbw.html side effects of lorazepam] [http://rubber-plastics-manufacturers.com/cp/avatars/tjgahb.html electrical circuits home wiring] [http://marzeporgohar.org/folders/folder_23/image/kxakci.html free reverse phone number lookup] [http://freewarecorner.com/wp-content/uploads/2006/12/cache/qmjxub.html computer manual] [http://rgvtechs.com/Autos/images/gif/eddggf.html financial help] [http://freewarecorner.com/wp-content/uploads/2006/12/cache/riqwlp.html colonade hotel boston]
A [[func_precipitation]] can be very effective for your map's atmosphere. However, there are some glitches that can cause your map to lock up and crash, or at the least run slowly.
A [[func_precipitation]] can be very effective for your map's atmosphere. However, there are some glitches that can cause your map to lock up and crash, or at the least run slowly.


== Major glitches ==
== Major glitches ==
# If the precipitation is too dense, causing more then 32000 vertices visible at once, it will cause a fatal crash.  Dense precipitation is possible, but in sparsely populated areas.
# If the precipitation is too dense, causing more than 32000 vertices visible at once, it will cause a fatal crash.  Dense precipitation is possible, but in sparsely populated areas.
# If you have rain and water in the same map, make sure they are positioned so that the rain does not go into the water. This has not been verified as a crash-causing glitch, but by preventing this, you can avoid more serious glitches.
# If you have rain and water in the same map, make sure they are positioned so that the rain does not [[rain splashes|go into]] the water. This has not been verified as a crash-causing glitch, but by preventing this, you can avoid more serious glitches.
# Make sure your rain stays within your map. Rain and snow fall some ways below the end of your <code>func_precipitation</code>, and as such could fall out of your map. This has been noted as causing a map lock-up, yet does not create a compile glitch. So, it is worth checking if you have precipitation in your map.
# Make sure your rain stays within your map. Rain and snow fall some ways below the end of your <code>func_precipitation</code>, and as such could fall out of your map. This has been noted as causing a map lock-up, yet does not create a compile glitch.
# If you use a <code>func_smokevolume</code> brush under your <code>func_precipitation</code>, make sure that there is enough space in between, so that the precipitation, as it falls down, doesn't enter the smoke volume below. If it does, the map will stop loading at the end of the progress bar (there are no compile errors).
# If you use a <code>func_smokevolume</code> brush under your <code>func_precipitation</code>, make sure that there is enough space in between them so that as the precipitation falls down it doesn't enter the smoke volume below. If it does, the map will stop loading at the end of the progress bar (there are no compile errors).


== Minor glitches ==
== Minor glitches ==
Sometimes, when a <code>func_precipitation</code> is next to a thin enough wall, the rain or snow will fall through the wall and into your building. Since <code>func_precipitation</code> is a cosmetic entity, this has no effect on gameplay.
When a <code>func_precipitation</code> is next to a thin enough wall, the rain or snow will sometimes fall through the wall and appear on the other side.
 
The density keyvalue is based on the volume of the individual <code>func_precipitation</code>. Because of this, having several <code>func_precipitations</code> of varying sizes with the same densities can create a varying rain intensity. This is not a glitch, but can be difficult to alter exactly. You can calculate the volumes of the individual <code>func_precipitations</code> by multiplying length, height, and depth of each and comparing the results.
 
If there is a <code>point_camera</code> entity active in a map containing rain, it will generally cause the rain to not render at all.  This can be verified in game using the <code>r_rainprofile 1</code> cmd.  A work around for this is to disable any cameras when a player is to see rain. (Add an I/O trigger: <code>OnTrigger ''camera_name'' SetOff)</code>
--[[User:tehwin|tehwin]] 17:20, 6 March 2009 (PDT)
 
If you are too close to the top of the rain volume the rain will stop rendering even though you are still inside of it.


The density keyvalue is based on the volume of the individual <code>func_precipitation</code>. Because of this, having several <code>func_precipitations</code> of varying sizes with the same densities can create a varying rain intensity. This is not a glitch, but can be difficult to alter exactly. In this case, a good guess will have to do. You can, of course, calculate the volumes of the individual <code>func_precipitations</code>, by multiplying length, height and depth of each and compare the results.
{{note|You can also put multiple <code>func_precipitation</code> brushes in the same area.}}
{{note|You can also put multiple <code>func_precipitation</code> brushes in the same area.}}
In Portal 2, if func_precipitation is used with portals, visual artifacts may occur. This is especially true if one or both open portals are visible onscreen. Performance will also take a fairly major hit.


[[Category: Developer Issues and Workarounds]]
[[Category: Developer Issues and Workarounds]]

Latest revision as of 21:27, 28 November 2024

A func_precipitation can be very effective for your map's atmosphere. However, there are some glitches that can cause your map to lock up and crash, or at the least run slowly.

Major glitches

  1. If the precipitation is too dense, causing more than 32000 vertices visible at once, it will cause a fatal crash. Dense precipitation is possible, but in sparsely populated areas.
  2. If you have rain and water in the same map, make sure they are positioned so that the rain does not go into the water. This has not been verified as a crash-causing glitch, but by preventing this, you can avoid more serious glitches.
  3. Make sure your rain stays within your map. Rain and snow fall some ways below the end of your func_precipitation, and as such could fall out of your map. This has been noted as causing a map lock-up, yet does not create a compile glitch.
  4. If you use a func_smokevolume brush under your func_precipitation, make sure that there is enough space in between them so that as the precipitation falls down it doesn't enter the smoke volume below. If it does, the map will stop loading at the end of the progress bar (there are no compile errors).

Minor glitches

When a func_precipitation is next to a thin enough wall, the rain or snow will sometimes fall through the wall and appear on the other side.

The density keyvalue is based on the volume of the individual func_precipitation. Because of this, having several func_precipitations of varying sizes with the same densities can create a varying rain intensity. This is not a glitch, but can be difficult to alter exactly. You can calculate the volumes of the individual func_precipitations by multiplying length, height, and depth of each and comparing the results.

If there is a point_camera entity active in a map containing rain, it will generally cause the rain to not render at all. This can be verified in game using the r_rainprofile 1 cmd. A work around for this is to disable any cameras when a player is to see rain. (Add an I/O trigger: OnTrigger camera_name SetOff) --tehwin 17:20, 6 March 2009 (PDT)

If you are too close to the top of the rain volume the rain will stop rendering even though you are still inside of it.

Note.pngNote:You can also put multiple func_precipitation brushes in the same area.

In Portal 2, if func_precipitation is used with portals, visual artifacts may occur. This is especially true if one or both open portals are visible onscreen. Performance will also take a fairly major hit.