Alright guys, I kind of really need someone's help here. I need an Autohotkey script, and... well, let's do this formally.
I am looking for: A custom autohotkey script, as will be described in the addendum below. I am not fully aware of what is possible with AHK, so I am just looking for it to be done to the best of someone's abilities.
I am willing to trade: A serious piece of Terraria fanart of your choice and description, to which you have full rights. The art I have been doing currently is not entirely indicative of what I am capable of doing if I actually get off my butt and work an hour or so. I am not a very good fan-artist but man I will try.
General notes: I am looking for an AFK script that will make Terraria more playable on-the-go, without access to a USB mouse, for my laptop, which has one of the worst made touchpads I can describe. The script, essentially, controls the mouse using the arrow keys and a few other keys. Again, I am not fully aware of what is possible with AHK, just that I'm looking for the best attempt.
On start: The script revolves around there being a "starting point" for the mouse cursor, in the Terraria window. This can be the center of the window, or the center of the screen, or whatever else is possible. The important part is that using a keypress, the mouse cursor can come back to this central point.
Ideal keybindings:
Arrow keys: Move the mouse a tile's width in the appropriate direction. I believe at regular resolution (800x600), a Terraria tile is 16x16, or 8x8, or somesuch similar thing. For instance, pressing up once would ideally move the mouse cursor up by one tile. Obviously this creates a problem as most likely (I say this as a programmer not an AHK scripter) just pressing the key will cause the mouse to keep going up until released, so I propose that the mouse only move once for each time the key is actually pushed down. So ideally, it would take two full keystrokes to make the mouse move two tiles.
Space: Space should be the no-holds-barred full left click. Left mouse button down on press, left mouse button up on release.
E: Should be the same, except for right mouse click.
Q: Should reset the mouse to the "default position".
Once you've done this, contact me via PM with the script or its contents enclosed, and I'll try it out and then probably kiss your internet feet or something, then I'll get on to the next part of the deal.
Contact me via PM after the deal is made and I've told you that you're getting the reward for your script. Describe what you want, specifically or not, the piece to contain, and I'll attempt to do it within the best of my ability in two days, though more likely it will be done within one. I'll send it to you via PM.