• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

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
Level 23
Joined
Dec 4, 2007
Messages
1,574
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?
 
Top