Post by Denacity on Aug 18, 2012 16:45:41 GMT -5
www.gamefront.com/files/22147195/Hardwar+ATC.zip
Automatic Thug Control (ATC) for Hardwar by Teeth_03 version 1
Q: What is this?
A: It is a set of AutoHotKey scripts linked to a configuration file that is used to execute commands with up to 4 differet thugs independently. Instead of typing in a bunch of commands into the TI, this is used to do all the typing for you.
Q: Why are there 4 different script files?
A: There are 2 seperate scripts, for if you have a desktop (which uses a numpad) or a laptop (which uses the number row). Then for each of those, there is a debug version which doesn't hit ESC upon executing a command,so if you want to see what is getting typed, use the debug version. The normal version puts an ESC at the end of each command to close the TI, except for the Status/Bays commands.
Q: What are the config.txt and target.txt
A: The config.txt is referenced by the script to change various settings that would otherwise need to be hard coded into the script. I will explain this file below. The target.txt is here,for possible future implementation for a utility that would read your target from memory,and write it to that file to be referenced by the script. This would make ordering your thugs even easier than this makes it now.
Q: Alright,it sounds useful, how do I use this?
A: First, you will need to edit the configuration file, which I will explain below. Second,select which versions of the script you want to use. I would only use the debug version if something isnt working as intended. The Desktop version uses the Numpad,so since most laptops do not have one, I made seperate versions that do not use it. Just pick one, run it, open up hardwar, then go about ordering your thugs around.
Q: How do I edit the config.txt?
A: Lets take a look at it,and break it down:
thug1
thug2
thug3
thug4
buzz
buzz hangar
sellall
sellall hangar
go
go hangar1
go
go hangar2
go
go hangar3
go
The first 4 lines are for your thug names, just replace the thug1-4 with the name of your thugs
The rest of the config is for ordering your thugs around in relation to hangars. Where is says either buzz/sellall/go are the actual commmands that will get executed. You can switch these around to whatever you would like. The line after each command,is the destination hangar. There is an extra go at the end for the last command which uses the target.txt instead of a hangar listed here.
So here is the example config I will use:
Catdog
Topkit
Robdog
Tipton
buzz
Hardwarp FM
sellall
Downtown Moths
go
Prison Mine
go
Downtown 05
go
Trade Central
buzz
Basically,when you execute the right commands, you would order them to Buzz Hardwarp FM, sellall to Downtown Moths, or go to either Prison Mine, Downtown 05 or Trade Central. Then whatever is in the target.txt,you would order to buzz it.
Q: Finally,what are the commands?
A: Both versions use both the CTRL and ALT keys as modifier keys, these essentially select your thug for ordering. Going from left to right, Left CTRL is Thug1 (Catdog), Left ALT is Thug 2(Topkit), Right ALT is Thug3 (Robdog) and Right CTRL is Thug4 (Tipton). You hold down one of these keys in conjuction with a number on the numpad (Desktop) or the number row (Laptop) to execute a command. The commands are as follows:
. = Bays*
0 = Clear
1 = Status
2 = Disembark/Out
3 = 1st Hangar Command (buzz Hardwarp FM in example)
4 = 2nd Hangar Command (sellall Downtown Moths in example)
5 = Kill Target**
6 = 3rd Hangar Command (go Prison Mine in example)
7 = 4th Hangar Command (go Downtown 05 in example)
8 = 5th Hangar Command (go Trade Central in example)
9 = Go to Target Command **
CTRL + R = Resets Script***
* = Uses ./Del on desktop/numpad,./> on laptop/standard keys
** = Uses the target.txt which is not implemented yet, you can manually set a target in it for now, but you must reset the script if you change it while the script is running.
*** = If you edit the config/target.txt files,you must reset the script if you edit them while the script is running. Otherwise, it will continue to use the config from before the edits.
I also have a 2nd set of keys setup for ordering each thug to Board in each of the six bays:
The desktop version uses the same modifier keys, but hitting a number 1-6 on the NUMBER ROW will order him to board that bay.
The laptop version uses the ARROW keys as modifier keys,and the numbers 1-6 on the NUMBER ROW to order him to board that. It goes UP,Left,Down and Right in order of 1-4.
So if I were to use the Desktop.exe script, with the example config above, these keys would execute the following:
(Assume LC,LA,RA,RC are the atl and ctrl keys)
LC + numpad1 = order Catdog,status
RA + numpad4 = order Robdog,sellall,Downtown Moths
RC + numpad2 = exec Tipton, out
RC + 3 = order Tipton,board,3
LC + numpad5 = order Catdog,kill,[whatever is in target.txt]
LA + numpad7 = order Topkit,go,Downtown 05
RA + numpad9 = order Robdog,go,[whatever is in target.txt]
So the laptop version would just use the number row instead of the numpad. So to finish this off, this is what the laptop version uses for boarding:
UP + 1 = order Catdog,board,1
Right + 5 = order Tipton,board,5
Down + 3 = order Robdog,board,3
and
RA + . = order Robdog,bays
I tried to make this less confusing as possible. But if you have any questions, post on Zedo's Hardwar forum or email me, teeth_03 AT hotmail DOT com
Let me know of any bugs/suggestions!
-Teeth_03
Automatic Thug Control (ATC) for Hardwar by Teeth_03 version 1
Q: What is this?
A: It is a set of AutoHotKey scripts linked to a configuration file that is used to execute commands with up to 4 differet thugs independently. Instead of typing in a bunch of commands into the TI, this is used to do all the typing for you.
Q: Why are there 4 different script files?
A: There are 2 seperate scripts, for if you have a desktop (which uses a numpad) or a laptop (which uses the number row). Then for each of those, there is a debug version which doesn't hit ESC upon executing a command,so if you want to see what is getting typed, use the debug version. The normal version puts an ESC at the end of each command to close the TI, except for the Status/Bays commands.
Q: What are the config.txt and target.txt
A: The config.txt is referenced by the script to change various settings that would otherwise need to be hard coded into the script. I will explain this file below. The target.txt is here,for possible future implementation for a utility that would read your target from memory,and write it to that file to be referenced by the script. This would make ordering your thugs even easier than this makes it now.
Q: Alright,it sounds useful, how do I use this?
A: First, you will need to edit the configuration file, which I will explain below. Second,select which versions of the script you want to use. I would only use the debug version if something isnt working as intended. The Desktop version uses the Numpad,so since most laptops do not have one, I made seperate versions that do not use it. Just pick one, run it, open up hardwar, then go about ordering your thugs around.
Q: How do I edit the config.txt?
A: Lets take a look at it,and break it down:
thug1
thug2
thug3
thug4
buzz
buzz hangar
sellall
sellall hangar
go
go hangar1
go
go hangar2
go
go hangar3
go
The first 4 lines are for your thug names, just replace the thug1-4 with the name of your thugs
The rest of the config is for ordering your thugs around in relation to hangars. Where is says either buzz/sellall/go are the actual commmands that will get executed. You can switch these around to whatever you would like. The line after each command,is the destination hangar. There is an extra go at the end for the last command which uses the target.txt instead of a hangar listed here.
So here is the example config I will use:
Catdog
Topkit
Robdog
Tipton
buzz
Hardwarp FM
sellall
Downtown Moths
go
Prison Mine
go
Downtown 05
go
Trade Central
buzz
Basically,when you execute the right commands, you would order them to Buzz Hardwarp FM, sellall to Downtown Moths, or go to either Prison Mine, Downtown 05 or Trade Central. Then whatever is in the target.txt,you would order to buzz it.
Q: Finally,what are the commands?
A: Both versions use both the CTRL and ALT keys as modifier keys, these essentially select your thug for ordering. Going from left to right, Left CTRL is Thug1 (Catdog), Left ALT is Thug 2(Topkit), Right ALT is Thug3 (Robdog) and Right CTRL is Thug4 (Tipton). You hold down one of these keys in conjuction with a number on the numpad (Desktop) or the number row (Laptop) to execute a command. The commands are as follows:
. = Bays*
0 = Clear
1 = Status
2 = Disembark/Out
3 = 1st Hangar Command (buzz Hardwarp FM in example)
4 = 2nd Hangar Command (sellall Downtown Moths in example)
5 = Kill Target**
6 = 3rd Hangar Command (go Prison Mine in example)
7 = 4th Hangar Command (go Downtown 05 in example)
8 = 5th Hangar Command (go Trade Central in example)
9 = Go to Target Command **
CTRL + R = Resets Script***
* = Uses ./Del on desktop/numpad,./> on laptop/standard keys
** = Uses the target.txt which is not implemented yet, you can manually set a target in it for now, but you must reset the script if you change it while the script is running.
*** = If you edit the config/target.txt files,you must reset the script if you edit them while the script is running. Otherwise, it will continue to use the config from before the edits.
I also have a 2nd set of keys setup for ordering each thug to Board in each of the six bays:
The desktop version uses the same modifier keys, but hitting a number 1-6 on the NUMBER ROW will order him to board that bay.
The laptop version uses the ARROW keys as modifier keys,and the numbers 1-6 on the NUMBER ROW to order him to board that. It goes UP,Left,Down and Right in order of 1-4.
So if I were to use the Desktop.exe script, with the example config above, these keys would execute the following:
(Assume LC,LA,RA,RC are the atl and ctrl keys)
LC + numpad1 = order Catdog,status
RA + numpad4 = order Robdog,sellall,Downtown Moths
RC + numpad2 = exec Tipton, out
RC + 3 = order Tipton,board,3
LC + numpad5 = order Catdog,kill,[whatever is in target.txt]
LA + numpad7 = order Topkit,go,Downtown 05
RA + numpad9 = order Robdog,go,[whatever is in target.txt]
So the laptop version would just use the number row instead of the numpad. So to finish this off, this is what the laptop version uses for boarding:
UP + 1 = order Catdog,board,1
Right + 5 = order Tipton,board,5
Down + 3 = order Robdog,board,3
and
RA + . = order Robdog,bays
I tried to make this less confusing as possible. But if you have any questions, post on Zedo's Hardwar forum or email me, teeth_03 AT hotmail DOT com
Let me know of any bugs/suggestions!
-Teeth_03