From CryWiki
| About
|
| Author
| Dynamo
|
| Skill Level
| Intermediate
|
| Compatibility
| All
|
| Requirements
| Not specified.
|
| Date Added
| Not specified.
|
| Last Modified
| Not specified.
|
|
In this tutorial I will show you how to add rain to your map.
Prerequisites
Open the Sandbox2 editor and create a new level or open an existing one.
Creating Particle Effects
Open the Database View by selecting from the menu View→Open View Pane→Database View.
The Database View appears.
Switch to the Particles tab and click on the yellow folder icon named Load Library
Now choose the file rain.xml and click Open.
Now you see a folder structure on the left side in the Database View. Open the folder HQ_rain for example and drag fleet onto your screen.
The rain should appear in your map.
Adjusting Settings
To adjust the rain to your preferences, select the rain particle object on your screen and in the Rollup Bar go to its Entity Properties section. Experiment with changing the Count Scale and the Scale settings.
Adding Physics
If you don't want rain inside your buildings, then go back to the Database View, switch to the Particles tab and select the rain particle effect, which in this case is HQ_rain/fleet. On the right side some options will appear. Search for the Physics section. Once you find it, change the Physics Type to SimpleCollision and tick the checkboxes Collide Static Objects“ and Collide Dynamic Objects. This will make your rain particles collide with the house meshs.
Do the same for the heavy1 rain particle.
Credits
Dynamo
|