hello i have city car driving 2.2.5 and who can tell me how to use a gloviepie and scrypt's to operate camera use mouse?
i was trying but with not succes:/
plz for reply
how to use gloviepie
-
- Новенький
- Сообщения:17
- Зарегистрирован:Пн фев 20, 2012 8:11 pm
Re: how to use gloviepie
it`s my code
The "Shift" - head left, "RShift" - head right
look back - "Tab"
Код: Выделить всё
if mouse.MiddleButton = 1 THEN begin
mouse.CursorPosX = (screen.Width) / 2;
mouse.CursorPosY = screen.Height /2;
endif
var.xxx = MapRange(mouse.CursorPosX, 0, screen.Width, -380, 380)
var.yyy = MapRange(mouse.CursorPosY, 0, screen.Height, 100, -100)
endif
FakeTrackIR.yaw = var.xxx;
FakeTrackIR.pitch = var.yyy;
endif
if keyboard.Shift=1 then faketrackir.yaw = var.ddd
var.ddd=-65
endif
if keyboard.RShift=1 then faketrackir.yaw = var.aaa
var.aaa=200
endif
if keyboard.tab=1 then faketrackir.yaw = var.aaa
var.aaa=65
endif
look back - "Tab"
-
- Новенький
- Сообщения:17
- Зарегистрирован:Пн фев 20, 2012 8:11 pm
Re: how to use gloviepie
Thanks hardest:) things work but I have one problem and one question: how to reduce the sensitivity of the rotation of the head? I have so that slightly crazy turn and head to the side: P I would like to reduce its sensitivity .. and the question is this .. I would like to instead lshift rshift and tab keys were typed on the steering wheel Logitech Driving Force Pro rev B how to do it? I would like to rotate the camera were responsible crosses on the steering wheel. I mean just change lshift rshift and table on the crosses with the steering wheel in the script which gave a colleague. Can you help?
Re: how to use gloviepie
maybe )) I do not know how to reduce the sensitivity ((
to assign buttons for steering try this: instead of the keyboard.(button) deliver joystick.button17, where 17 - the number of buttons (highlighted in red)
if keyboard.Shift=1 then faketrackir.yaw = var.ddd
var.ddd=-65
endif
if keyboard.RShift=1 then faketrackir.yaw = var.aaa
var.aaa=200
endif
if keyboard.tab=1 then faketrackir.yaw = var.aaa
var.aaa=65
endif
to assign buttons for steering try this: instead of the keyboard.(button) deliver joystick.button17, where 17 - the number of buttons (highlighted in red)
if keyboard.Shift=1 then faketrackir.yaw = var.ddd
var.ddd=-65
endif
if keyboard.RShift=1 then faketrackir.yaw = var.aaa
var.aaa=200
endif
if keyboard.tab=1 then faketrackir.yaw = var.aaa
var.aaa=65
endif