aZzy
10-28-2010, 06:06 AM
Hey Guys,
Im trying to toggle between 2 cameras,
First person and third person (shoulder view).
i have set bindings in the the defaultinput.ini
.Bindings=(Name="GBA_ChangeCamera",Command="ChangeCamera")
is in the
;-----------------------------------------------------------------------------------------
; BINDINGS USED TO ORGANIZE ALL GAME BINDABLE ACTIONS IN ONE PLACE FOR SYSTEMS SUCH AS UI
; GBA - GAME BINDABLE ACTION
; "_Gamepad" - IS USED WHEN A CONTROLLER IS USING AN ALTERED MAPPING FOR AN ACTION
;-----------------------------------------------------------------------------------------
Part of defaultinput.ini
and
.Bindings=(Name="M",Command="GBA_ChangeCamera")
in the
;-----------------------------------------------------------------------------------------
; Game Keyboard/Mouse Bindings
;-----------------------------------------------------------------------------------------
part of defaultinput.ini
Now this is where im having the problem, how do i put it into coding, i take it that i would need to put the code in my aZkorpPlayerController.uc class (aZkorp being my Custom Folder)
i want it to swap between 3rd and 1st person view when i press "m"
if in third person it goes to first person, if its in 1st person it goes to third person.
Any help would be greatly appreciated.
Thanks,
aZzy
Im trying to toggle between 2 cameras,
First person and third person (shoulder view).
i have set bindings in the the defaultinput.ini
.Bindings=(Name="GBA_ChangeCamera",Command="ChangeCamera")
is in the
;-----------------------------------------------------------------------------------------
; BINDINGS USED TO ORGANIZE ALL GAME BINDABLE ACTIONS IN ONE PLACE FOR SYSTEMS SUCH AS UI
; GBA - GAME BINDABLE ACTION
; "_Gamepad" - IS USED WHEN A CONTROLLER IS USING AN ALTERED MAPPING FOR AN ACTION
;-----------------------------------------------------------------------------------------
Part of defaultinput.ini
and
.Bindings=(Name="M",Command="GBA_ChangeCamera")
in the
;-----------------------------------------------------------------------------------------
; Game Keyboard/Mouse Bindings
;-----------------------------------------------------------------------------------------
part of defaultinput.ini
Now this is where im having the problem, how do i put it into coding, i take it that i would need to put the code in my aZkorpPlayerController.uc class (aZkorp being my Custom Folder)
i want it to swap between 3rd and 1st person view when i press "m"
if in third person it goes to first person, if its in 1st person it goes to third person.
Any help would be greatly appreciated.
Thanks,
aZzy