Titan Quest - Immortal Throne
Posted: 19 May 2016, 16:51
1) Skill with one button
The player not have to use two buttons for use the skill in target
Keys:
"1" = skill (you have to put the key in skill of game)
The user can put more keys in the script and choose each, copy this part and put below the copy:
---------------------------------------------------------------------------------------------------------------------
2) Movement and attack Automatic
While enable, the character moves/attack/talk in relation to target in the cursor's location
Keys:
"q"= "left click"; "auto fire" while buy potions; disable "Movement and attack Automatic".
"control"= enable Movement and attack Automatic.
The user can change the keys.
While with character of ranged attack...
The use of "shift" is good(or other key in "stationary attack" of game) while attack in some situations.
Because this second script is best for melee characters.
---------------------------------------------------------------------------------------------------------------------
Movement and attack Automatic + Skill with one button
---------------------------------------------------------------------------------------------------------------------
The player not have to use two buttons for use the skill in target
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Persistent
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetTimer, Button_Pressed, 1
return
Button_Pressed:
if WinActive("Titan Quest") || WinActive("Titan Quest: Immortal Throne")
{
if GetKeyState("1", "P")
{
Click Right down
Sleep, 100
Click Right up
}
}
return
"1" = skill (you have to put the key in skill of game)
The user can put more keys in the script and choose each, copy this part and put below the copy:
Code: Select all
if GetKeyState("1", "P")
{
Click Right down
Sleep, 100
Click Right up
}
2) Movement and attack Automatic
While enable, the character moves/attack/talk in relation to target in the cursor's location
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Persistent
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
var_y = 0
var_y2 = 0
SetTimer, Button_Pressed, 1
return
Button_Pressed:
if WinActive("Titan Quest") || WinActive("Titan Quest: Immortal Throne")
{
if GetKeyState("q", "P")
{
if (var_y > 0)
{
Click up
var_y = 0
}
Click down
Sleep, 100
Click up
}
if GetKeyState("control", "P")
{
var_y = 1
loop
{
if (var_y = 1)
{
var_y = 11
var_y2 = 1
Sleep, 250
}
if (var_y = 11)
{
if (var_y2 = 1)
{
Click down
Sleep, 50
Click up
}
}
if GetKeyState("q", "P")
{
Click up
var_y = 0
break
Sleep, 250
}
}
Sleep, 250
}
}
return
"q"= "left click"; "auto fire" while buy potions; disable "Movement and attack Automatic".
"control"= enable Movement and attack Automatic.
The user can change the keys.
While with character of ranged attack...
The use of "shift" is good(or other key in "stationary attack" of game) while attack in some situations.
Because this second script is best for melee characters.
---------------------------------------------------------------------------------------------------------------------
Movement and attack Automatic + Skill with one button
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Persistent
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
var_y = 0
var_y2 = 0
SetTimer, Button_Pressed, 1
return
Button_Pressed:
if WinActive("Titan Quest") || WinActive("Titan Quest: Immortal Throne")
{
if GetKeyState("q", "P")
{
if (var_y > 0)
{
Click up
var_y = 0
}
Click down
Sleep, 100
Click up
}
if GetKeyState("control", "P")
{
var_y = 1
loop
{
if (var_y = 1)
{
var_y = 11
var_y2 = 1
Sleep, 250
}
if (var_y = 11)
{
if (var_y2 = 1)
{
Click down
Sleep, 50
Click up
}
}
if GetKeyState("q", "P")
{
Click up
var_y = 0
break
Sleep, 250
}
}
Sleep, 250
}
if GetKeyState("1", "P")
{
Click Right down
Sleep, 100
Click Right up
}
}
return