http://www.urbanterror.info/support/154-creating-rain-or-snow/
 Login | Register 
  urt_home downloads support news HD | members groups servers forums    Follow on external_facebookexternal_twitterexternal_youtubeexternal_rss_feed  
printer


Level design

Creating Rain or Snow

These are all the available keys for the worldspawn:

messageText to print at user logon. Used for the name of your level.
ambientAdds a constant value to overall lighting. Use is not recommended. Ambient light will have a tendency to flatten out variations in light and shade.
_colorRGB value for ambient light color.
gravityGravity of level (default is normal gravity: 800).
enablePrecip0 - (default) none, 1 - rain, 2 - snow
precipAmountUp to 1024, number of drops/flakes (256 is good)


This is really a quite easy thing to add. All you have to do is to load up your map. When your map has finished loading just select any worldspawn brush and hit N to open the Entity window. Now to add rain or snow you need to add two keys to the worldspawn.

Add enablePrecip into the 'Key' field and then enter either 1 for rain, or 2 for snow into the 'Value' field. Hit the Enter key to apply.

Next you have to define the amount of snow/rain you want to fall. To do this enter precipAmount into the 'Key' field and the amount of flakes/drops you want to fall into the 'Value' field. This is a number between 1 and 1024. After this is done You should have something like this:


Note that when using these keys in the worldspawn, snow or rain will fall from all places in the map where the sky is visible.


level_none by - By FS NulL  -  Sunday, 29 May 2011  -  viewed by 156 members and 4363 visitors


Copyright © 2012 FrozenSand / 0870760 B.C. Ltd  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of 0870760 B.C. Ltd