how to use gloviepie

Форум для выкладывания и обсуждения модификаций и скрытых настроек. Внимание, новички! Все вопросы задаём только в специально отведённой для этого теме!

Модераторы:Kivlov, manuj, Nik

Ответить
mateusz9966
Новенький
Сообщения:17
Зарегистрирован:Пн фев 20, 2012 8:11 pm
how to use gloviepie

Сообщение mateusz9966 » Ср янв 23, 2013 4:19 pm

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

Аватара пользователя
Pozitron
Опытный
Сообщения:179
Зарегистрирован:Вс авг 05, 2012 1:55 pm

Re: how to use gloviepie

Сообщение Pozitron » Ср янв 23, 2013 5:52 pm

it`s my code

Код: Выделить всё

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
The "Shift" - head left, "RShift" - head right
look back - "Tab"

mateusz9966
Новенький
Сообщения:17
Зарегистрирован:Пн фев 20, 2012 8:11 pm

Re: how to use gloviepie

Сообщение mateusz9966 » Пт янв 25, 2013 1:53 am

:) 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?

Аватара пользователя
Pozitron
Опытный
Сообщения:179
Зарегистрирован:Вс авг 05, 2012 1:55 pm

Re: how to use gloviepie

Сообщение Pozitron » Пт янв 25, 2013 5:51 pm

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

Ответить