How to make RTS camera?

Jan 3, 2012 at 6:21 PM

Is it possible to create a RTS camera, like in Starcraft II etc?

Coordinator
Jan 3, 2012 at 6:55 PM

sorry, I have no experience with Starcraft or any other real time strategy games, so I don't know what is needed. Do you need camera translation by WASD keys?

can this link help (from irrlicht 3d)? http://www.irrlicht3d.org/wiki/index.php?n=Main.RTSCameraByCmdKewin

Jan 3, 2012 at 7:27 PM
Edited Jan 3, 2012 at 7:54 PM

Yeah, basically the feature set of the linked camera is what I need.

  • No vertical translation 
  • Translates with WASD keys, (right mouse button and arrow keys) 
  • Translates with mouse movement on border screen. Left, Right, Up and Down 
  • Zooms with wheel (and right-left mouse buttons) 
  • Ability to recenter itself around a node
  • define min and max zoom levels
  • define boundaries for translation so it does not translate outside the map.

I put not so important stuff in brackets. Is this possible to realize with the Helix 3D Toolkit?

Thanks.

Coordinator
Jan 3, 2012 at 8:09 PM

This should be included in the 'walkaround' camera mode - I have not tested it after latest camera control refactorings, might need some updates...

http://helixtoolkit.codeplex.com/wikipage?title=Input%20gestures&referringTitle=Documentation