the Veldt
technical notes: env_bubbles
1 INTRO • 2 ENV_BUBBLES • 3 FOLIAGE • 4 LIMITS • 5 MAPS
The Veldt is based on one heavily modified entity: ENV_BUBBLES.
In The Veldt, ENV_BUBBLES is used to drop grass and trees onto a map. Place a brush over any area that you wish to make foliage. Veldt will automatically:
1. choose a random coordinate (vecStart) within the ENV_BUBBLES brush
2. drop foliage onto the floor directly beneath vecStart
Note that concave brush shapes don't work well (i.e. donut shapes, L-shapes, etc). If you create a concave shape, say, a donut, the engine will consider the donut's hole area as a part of the brush and will indiscriminately place foliage there. Use the plain primitive shapes.
Feel free to stack ENV_BUBBLES brushes one upon each other.
User is given two settings within ENV_BUBBLES. Use the DENSITY flag to choose how many elements you wish to place. By default, grass will be placed. To place trees, activate the Spawnflag.
All ENV_BUBBLES code is located within DLLS\EFFECTS.CPP