Fixed Camera Lock (Isometric RPG)

There seem to be a whole bunch of camera systems on hive, but no system for isometric view that addresses an inherent issue with those camera systems.

The SetCameraTargetController native behaves incredibly awful around steep terrain and often sinks into the ground for no reason or lets the anchored unit escape to the edge of the screen. This simple system fixes that by adjusting the camera z-offset dynamically.

Instead of doing SetCameraTargetController(whichUnit, ...), you do FCL_Lock(whichUnit, whichPlayer).

As a GUI user, you do:
  • Custom script: call FCL_Lock(udg_myUnit, udg_myPlayer)
That's all! Not much else to say... enjoy!
Contents

FixedCameraLock (Map)

FixedCameraLock (Lua) (Binary)

FixedCameraLock (vJASS) (Binary)

FixedCameraLock vJASS (Map)

Reviews
Wrda
When I saw the fixed camera lock, it was clear how horrible the normal the camera is, splendid. Approved
Puzzling:vw_wtf:, tried both example maps and could unlock the cam on either.
Tested online, same result.

Just to be clear: I want players to be unable to unlock their camera.
Or if they do, have it reset pretty much immediately.
Perhaps i have to set the camlock periodically, because i don't see an event that would work here?
 
Back
Top