Serving Cactaur/Midgardsormr Since 2003
[ start | index | login ]
start > Reiona

Reiona

Created by Reiona. Last edited by Reiona, 5 years and 298 days ago. Viewed 735 times. #4
[diff] [history] [edit] [rdf]
labels
attachments
I'll add more later.

Reiona is based on my Phantasy Star Online HUnewarl.

<hr>

WIP

Abstract

Notes on setting up a >>Belkin Speedpad n52 for play with FFXI. >>http://images.belkin.com/F8GFPC100/FUL1_F8GFPC100.jpg This is heavily influenced by months of playing with the compact keyboard setting.

Goals

  • The primary goal is to allow for control of all key FFXI functions from the n52 with the main keyboard only needed for chatting.

General Notes

  • The n52 has 16 buttons plus an 8 way d-pad and a clickable scrollwheel. Belkin's drivers and configuration software allow you to specify 3 shift states in addition to normal mode. These shift states are indicated by LEDs on the unit.
    • While the d-pad allows for 8 separate maps, I'm not sure it's controllable enough to actually have 8 separate functions.
  • We'll use >>http://www.autohotkey.com/ in conjunction as AHK allows for more flexible scripting over what the n52 software provides. In this setup, the n52 buttons will be configured to joystick buttons to trigger n52.
    • Well, FFXI doesn't block joystick buttons so we can probably still use AHK. But it will occlude the possibility of using the state LEDs.
  • It's necessary for my purposes to use the compact keyboard configuration in FFXI. I was hoping to use the normal config so I could type on the main keyboard without hitting the spacebar first, but there doesn't appear to be a way to separate camera control from menu selection with the standard config. This matters in battle to allow you to rotate the camera around your character while the battle menu is up.
    • This limitation isn't a problem. We can define gamepad controls in the FFXI config to handle camera rotation.
    • Well, on second thought, we won't. Nostromo supports joystick emulation but AHK doesn't. But it is on the AHK wishlist so in the future, maybe we can get back to it.

Brainstorming/Todo

n52+AHK Design

Experiments

  • Sending commands via JoyX remapping and using Send, {Key down}.
    • Passed. Need to do a polling thing with lots of variables but it works.
  • Determine Ctrl/Alt behavior in conjunction with JoyX.
    • Eh, probably not worth the effort.
    • ^JoyX
    • !JoyX
  • Meta/macrolanguage to automate the Loop{} constructs.
    • Or maybe use %Variables% with Gosub
    • Gosubs won't work because variables don't have scoping. So if we're in a loop and interrupt, the common variable used to pass into the subroutine will get overwritten.

Misc

  • Joystick buttons aren't blocked by FFXI.
SetTimer, PollRelease, 10

Joy1:: Joy1 = 1 Send, {key down} return

PollRelease: if Joy1 = 1 GetKeyState, state, Joy1, P if state = 1 { Joy1 = 0 Send, {key up} } }

General considerations

  • Key 6 - Esc
  • Key 10 - Enter
  • Key 11 - Modifier 1
  • State X, Key 6 - Modifier 2
  • Key 16 - State change
  • Thumb - Reset to base state.
  • Track state inside AHK, don't use the n52 LEDs.

Movement

  • Keys 3,7,8,9 will correspond to WASD for movement.
    • Hmm. Maybe have them correspond to the keypad so there's less conflicts with alt-commands.
  • Key 3+Key 5 - Autorun toggle
    • Reverse direction to stop autorun.
  • Key 10 - Enter
  • ??State 0, Key 12 - Walk/Run toggle. Numpad /

Camera Control

  • Keys 2,4 for left/right camera rotate.
  • Mod1 + Key21/23 for camera up/down.
  • Mod1 + Key22/24 for zoom.
  • State 0, Scroll click - Reset view / Home key.
  • Mod1 + Key 16 - First person/3rd person toggle.

Targetting

  • Key 1 - Tab
  • State 0, Mod1 + Key 5 - F8
  • State 0, Key 13 - Toggle lockon.
  • State 0, Key 14 - /check
  • State 0, Mod1 + Key 10 - /attack
  • Key 22/24 (dpad left/right) - Target.
  • Key 21/23 (dpad up/down) - Party target.

Menu Access

  • State 0, Modifier + Key 11 - Open menu

Commands

  • State 0, Key 1 - Keypad + / Log/item cycle
  • State 0, Modifier + Key 1 - Autosort inventory.
  • State 0, Mod2 + Key 2- Inventory
  • State 0, Mod2 + Key 4- Equipment
  • State 0, Mod2 + Key 14 - Map
  • State 0, Mod2 + Key 3 - Weapon Skills
  • State 0, Mod2 + Key 8 - Job Ability
  • State 0, Mod2 + Key 9 - Magic List

Macro use

  • State X, Key 1-10 - Macros Ctrl 1-10.
  • State X, Modifier + Key 1-10 - Macros Alt 1-10.
  • State X, Key 12 - Enter.
  • State X, Key 13/14 - Party Target.
  • State X, dpad - Change to movement.
no comments | post comment
snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt
www.playonline.com | Copyright 2001-2003 SQUARE ENIX CO., LTD. Title Design by Yoshitaka Amano. All Rights Reserved. FINAL FANTASY and Vana'diel are registered trademarks of Square Enix Co,. Ltd. The SQUARE ENIX logo and PlayOnline logo are trademarks of Square Enix Co,. Ltd. Windows is a registered trademark of Microsoft Corporation in the United States and/or other countries. All other properties are trademarks of their respective owners.