07-09-2015, 03:07 AM
Собственно такой вопрос: имеется user.ini, однако при нажатии на среднюю кнопку происходит 2 события: переключается вид камеры (rmode) и камера меняет свое положение (на 180 градусов).
Как избавиться от переключения на 180 градусов?
Код:
[DefaultPlayer]
Name=Player
;Class=WarClassLight.WarCOGSoldier
Class=LineageWarrior.MFighter
team=255
skin=SoldierSkins.blkt
Face=SoldierSkins.Othello
[Engine.Input]
Aliases[0]=(Command="CameraRotationOn | UseAutoTrackingPawnOff | StopMouse | CameraRotationOff OnRelease | UseAutoTrackingPawnOn OnRelease | MoveMouse OnRelease | FixedDefaultCamera OnRelease MaxPressedTime=100.0 | set Engine.LineagePlayerController MaxZoomingDist 65535 | set Engine.LineagePlayerController MinZoomingDist -20000 | set Input RightMouse myRightMouse",Alias="myRightMouse")
Aliases[1]=(Command="set Engine.Input MiddleMouse rmod5",Alias="myMiddleMouse")
; Matrix:
Aliases[2]=(Command="rmode 1 | set Engine.Input MiddleMouse rmod5",Alias="rmod1")
; Default mode:
Aliases[3]=(Command="rmode 5 | set Engine.Input MiddleMouse rmod6",Alias="rmod5")
; No light effects:
Aliases[4]=(Command="rmode 6 | set Engine.Input MiddleMouse rmod1",Alias="rmod6")
LeftMouse=PlayerPawnMoveTo
RightMouse=myRightMouse
MiddleMouse=myMiddleMouse
PrintScrn=OnRelease shot
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;for camera walking
Escape=CameraModeSelectingCancel
MouseX=CameraYaw Speed=+3600.0
MouseY=CameraPitch Speed=+3600.0
MouseWheelDown=ZoomInPress Speed=70.0
MouseWheelUp=ZoomOutPress Speed=70.0
Up=KeyboardMoveStart Dir=1 | KeyboardMoveFinish OnRelease Dir=1
Down=KeyboardMoveStart Dir=4 | KeyboardMoveFinish OnRelease Dir=4
Left=LeftTurningStart | LeftTurningFinish OnRelease
Right=RightTurningStart | RightTurningFinish OnRelease
End=Stat fps
Home=Stat Net
[Engine.PlayerController]
DesiredFOV=40.0
DefaultFOV=40.0
[Engine.LineagePlayerController]
CameraViewHeightAdjust=0.0
bUseAutoTrackingPawn=true
bUseVolumeCamera=false
bUseHitCheckCamera=true
AutoTrackingPawnSpeed=0.4
VolumeCameraRadius=1000
HitCheckCameraMinDist=300
FixedDefaultViewNum=3
MaxZoomingDist=250
MinZoomingDist=-200
;1
FixedDefaultCameraYaw[1]=0
FixedDefaultCameraPitch[1]=560.0
FixedDefaultCameraDist[1]=80.0
FixedDefaultCameraViewHeight[1]=14.0
FixedDefaultCameraHidePlayer[1]=1
FixedDefaultCameraDisableZoom[1]=1
FixedDefaultCameraExteriorView[1]=0
FixedDefaultCameraMinDist[1]=-200
FixedDefaultCameraDisablePitch[1]=0
;2
FixedDefaultCameraYaw[0]=0
FixedDefaultCameraPitch[0]=-2700.0
FixedDefaultCameraDist[0]=230.0
FixedDefaultCameraViewHeight[0]=0.0
FixedDefaultCameraHidePlayer[0]=0
FixedDefaultCameraDisableZoom[0]=0
FixedDefaultCameraExteriorView[0]=0
FixedDefaultCameraMinDist[0]=-200
FixedDefaultCameraDisablePitch[0]=0
;3
FixedDefaultCameraYaw[2]=0
FixedDefaultCameraPitch[2]=-3320
FixedDefaultCameraDist[2]=450
FixedDefaultCameraViewHeight[2]=0.0
FixedDefaultCameraHidePlayer[2]=0
FixedDefaultCameraDisableZoom[2]=0
FixedDefaultCameraExteriorView[2]=0
FixedDefaultCameraMinDist[2]=-200
FixedDefaultCameraDisablePitch[2]=0
[Engine.HUD]
HudMode=0
Crosshair=0
[Warriors.ChallengeHUD]
bUseTeamColor=true
FavoriteHUDColor=(R=0,G=0,B=16)
CrosshairColor=(R=0,G=16,B=0)
HudScale=+1.0
Opacity=15
StatusScale=1.0
WeaponScale=0.8
bHideAllWeapons=false
bHideStatus=false
bHideAmmo=false
bHideTeamInfo=false
bHideFrags=false
bHideHUD=false
bHideNoviceMessages=false
bHideFaces=false