It's rather complicated. You gotta look through the Jass coding in the map and also read the documentation. I don't quite understand the details, currently because I don't need to.
The lowdown of it is that they construct an array for the height map, and then read the current position of the FPS unit, find the height by comparing against the array, and then adjust the camera height.
If you really can't be bothered then you can remove everything but the Camera code in the FPS Mod map, but you have to make sure that the unit that the camera follows is FPSUnit[1]. |