- Joined
- Aug 7, 2013
- Messages
- 1,338
Hi,
Before I start re-inventing the wheel, are their libraries out there for doing terrain/geography creation dynamically. By dynamically I mean doing it during the game.
Some useful functions might be:
If not available I guess I'll just ask threads about more specific questions.
Before I start re-inventing the wheel, are their libraries out there for doing terrain/geography creation dynamically. By dynamically I mean doing it during the game.
Some useful functions might be:
JASS:
library Terrain
//creates a natural looking river
//parameters:
//width - how wide the river should be
//bend - the eccentricity of the river's bend/curve/angle
//source - the point/rect where the river starts
//mouth - the point/rect where the river ends
//depth - how deep the river is
function createRiver takes ... returns ...
...
endfunction
//creates a natural looking mountain range
//parameters: ...
...
function createMountainRange takes ... returns ...
...
endfunction
//creates a natural looking coast
//parameters: ...
...
function createCoast takes ... returns ...
...
endfunction
//and so on and so forth
If not available I guess I'll just ask threads about more specific questions.