By default when you scroll the mouse wheel in and out it zooms the camera in and out.
My problem is that I am using a 3rd person view and if you push the wheel forward the whole thing gets set to an RTS view (Though it still follows your hero and such). So is anyone aware of a way to disable this.
It would also be good if I could replace it with my own zooming function (So I can apply limits and behaviour to it), but so far I have seen no GUI Functions that relate to the mouse wheel. If necessary I will use the arrow keys though.
Camera - Lock camera input for player, This will also disable keyboard and screen scrolling though, but for a 3rd person view you probably don't want those features anyway.
Yep I found it in there, Zoom levels, thanks a lot :D
Could you make a second camera (As in the objects in the Data Editor) and switch to it in game using triggers? Because that would be useful for the indoor portions in my map. :)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
By default when you scroll the mouse wheel in and out it zooms the camera in and out.
My problem is that I am using a 3rd person view and if you push the wheel forward the whole thing gets set to an RTS view (Though it still follows your hero and such). So is anyone aware of a way to disable this.
It would also be good if I could replace it with my own zooming function (So I can apply limits and behaviour to it), but so far I have seen no GUI Functions that relate to the mouse wheel. If necessary I will use the arrow keys though.
Camera - Lock camera input for player, This will also disable keyboard and screen scrolling though, but for a 3rd person view you probably don't want those features anyway.
Unfortunately that function also disables mouselook :(, which I am using for this map.
Yeah I had a problem with that too. I wanted the player to be able to look around, but not zoom in or zoom out.
There is camera category in Data Editor. Check out Defaultcamera.
Yep I found it in there, Zoom levels, thanks a lot :D
Could you make a second camera (As in the objects in the Data Editor) and switch to it in game using triggers? Because that would be useful for the indoor portions in my map. :)