Posted: Sun Jul 20, 2014 8:09 pm Post subject: Dehacked actor property: Camera height
Camera height actor property defines the height to render the view at when the actor is used as camera.
Useful when eg. you want to use ChangeCamera to spectate a zombieman or anything else for that matter. When you try to do that now, the camera is rendered at the "feet" of the actor (since it uses raw Z-height).
Thing 2 (Trooper)
Camera height = 41
Using this dehacked, and ACS ChangeCamera to switch to a zombieman's view, you should be able to spectate from 41 units above its feet.
I know I've done that but when you move the zombieman with setactorvelocity and use setactorposition to sync the mapspot camera object to the zombieman, their position won't match regardless of calling setactorvelocity and setactorposition in the same tic. This causes that sometimes the zombieman will overlap in the camera view which is really annoying.
It is easier to observe the overlap effect if you spawn the zombieman with SpawnSpot instead of placing it directly in the map editor. (don't ask why, they happened to be different cases for me)
You can see that by checking the camera and zombieman position with getactorx/y. The overlapping issue does not always happen but the difference between the positions can clearly be seen, usually the camera object is around 5 map units "late" compared to the zombieman.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum