HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Cliffs for FPS map

08-10-2004, 05:21 PM#1
scriber
Making a first person shooter map (without the mod) and i need to figure out how to make the camera stay on the unit the same all the time. For example, when the unit walks near a cliff, the camera sort of gos up the cliff away from the unit. How could i fix this problem?
08-11-2004, 01:16 AM#2
SS3Goku
sorry I can't help you there. but I may figure out some other time
08-11-2004, 04:56 AM#3
scriber
how did they do it in the mod?
08-11-2004, 05:03 PM#4
Ant
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].
08-12-2004, 06:12 AM#5
scriber
i wish someone would show me how to do it...
08-12-2004, 02:39 PM#6
SS3Goku
talk with gannon mabey
08-15-2004, 11:07 PM#7
scriber
how can i contact him
08-16-2004, 07:05 PM#8
SS3Goku
well you could try PMs and he comes to this forum too.
08-17-2004, 01:21 AM#9
scriber
it wont let me pm him