Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
if (keyboard.getKeyDown(Key.W)):
->z += sensZ * 10
->if abs(z) > maxZ - deltaZ: #Minus deltaZ to prevent Throttel "hang" after matching targets velocity
->->z = (maxZ - deltaZ) * z / abs(z)
if (keyboard.getKeyDown(Key.S)):
->z -= sensZ * 10
->if abs(z) > maxZ - deltaZ: #Minus deltaZ to prevent Throttel "hang" after matching targets velocity
->->z = (maxZ - deltaZ) * z / abs(z)
#Rolling mapped to A/D
if (keyboard.getKeyDown(Key.A)):
->x -= sensX * 10
->if abs(x) > vJoy[0].axisMax:
->->x = vJoy[0].axisMax * x / abs(x)
if (keyboard.getKeyDown(Key.D)):
->x += sensX * 10
->if abs(x) > vJoy[0].axisMax:
->->x = vJoy[0].axisMax * x / abs(x)
@Chaos: Thanks a lot for this guide. This helps a lot. As I'm currently playing Squadrons with Mouse and Keyboard, I would like to adapt the configuration from Squadrons to XWA. Like Kendicus, I have already modified your script a bit to use X-axis for yawing instead of rolling, but now I'm not able to roll wich is not so nice. I would like to use AD for rolling and WS for throttle, but I'm struggleing to get this running. Can you help me with this please?
Thanks in advance!
After installing vJoy, running "Configure vJoy" from your Start Menu or "C:\Program Files\vJoy\x64\vJoyConf.exe" directly, a Window similar as shown on the first Screenshot should appear.
Be sure to choose tab "1", click "Add Device". This should lead to the virtual Joystick showing up.
Then configure it as shown above.
After configuring, click "Apply" (already greyed out in my screenshot, because I already clicked it when tacking the screenshot).
FreePIE is basically a text editor, thus copy and paste the script inside the editor window. Save it wherever you like and press F5.
Have a close look at the three tabs at the bottom:
Watch should show altering numbers, as in the last screenshot.
The Error-tab should be empty (if not, feel free to post it)
Console may show something like "vJoy version of Driver (219) does NOT match DLL Version (218)". I ignored that.
I have one issue being that you can only aim vertically in turret mode, I'm assuming its because traverse is tied to Yaw and not Roll. Good thing I can still do some basic gleaning with the .py