Auto-Tab: always show all items
#1
Posté 24 novembre 2009 - 11:27
Knowing absolutely nothing about how to mod, except that it looks very difficult considering that I hated taking C++ in college, it seems like this would be a relatively easy mod to construct. I'm mostly interested to know whether I'm the only one that thinks this functionality should be available? If there are several, does anyone think this would be a worthwhile project? I'd like to get a thread going on this, because this is my only *major* complaint with the game as it is currently.
#2
Posté 24 novembre 2009 - 11:33
If you don't have such a keyboard, well... I'm sure someone will figure out a way to make such a mod.
#3
Posté 24 novembre 2009 - 11:46
#4
Posté 25 novembre 2009 - 12:36
#5
Posté 25 novembre 2009 - 01:44
Awesome! That looks to be exactly what I was looking for. Thanks.AND04 wrote...
The Auto Highlight Mod should be able to help you out here:
http://www.damods.co...hp?topic=602.15
#6
Posté 25 novembre 2009 - 03:47
Turns out that this is not exactly what I was looking for, because one of the best features of the Tab button is that it displays the enemy and ally HP bars, which makes it easy to target people with specific health levels. I think that a hotkey binding script may be the way to go for me.MrKite wrote...
Awesome! That looks to be exactly what I was looking for. Thanks.AND04 wrote...
The Auto Highlight Mod should be able to help you out here:
http://www.damods.co...hp?topic=602.15
That is, of course, if Bioware games allow virtual keystrokes. As far as I can tell, they don't which is quite the shame.
Modifié par MrKite, 25 novembre 2009 - 04:05 .
#7
Posté 25 novembre 2009 - 05:48
1. Download and install AutoHotkey.
2. For simplicity, right-click on your desktop and select "New --> Text Document."
3. Now copy the script below into that new document.
4. Save as "DAO.ahk" (include the quotes just to be safe [for those of you who hide your extensions and such]).
Now just double-click on that DAO.ahk file on your desktop (just like you are launching any other app), and you'll be good to go. (It doesn't matter which you do first, i.e. autohotkey then game or game then autohotkey. In fact, while creating and testing out this script, I had DA:O running and was just Alt-tabbing out to edit and reload the script.)
Anyway, the script below presumes you have highlighting set to Z (in-game), and this script now makes Z act as a toggle: press it to turn on highlighting, press it again to turn it back off, etc.
FORGIVE THE STUPID FORUM'S INABILITY TO MAINTAIN SPACES EVEN IN CODE BLOCKS:
;===============================================================================
; AutoHotkey Version: 1.0.48.5
; Language: English
; Platform: Win9x/NT/XP/Vista/Win7
;===============================================================================
;---------------------------------------
; Script Initialization Stuff (optional)
;---------------------------------------
#SingleInstance force
#InstallKeybdHook
#NoEnv
SendMode Input
bActivate := 0
;---------------------------------------
; Create a timer to constantly check
; if game is the active process or not
; since we want our remapping to only
; be applied in-game, not outside the
; game.
;---------------------------------------
SetTimer PollForApp
return
PollForApp:
; Get the process name of the active window (i.e. Notepad.exe)
WinGet szProcessName, ProcessName, A
if szProcessName = daorigins.exe
{
Suspend, off
}
else
{
Suspend, on
}
return
;---------------------------------------
; Setup key binds
;---------------------------------------
z::
bActivate := !bActivate
return
z up::
while bActivate
{
send {z down}
Sleep 30
}
send {z up}
return
;===============================================================================
Modifié par Talian Kross, 25 novembre 2009 - 05:49 .
#8
Posté 25 novembre 2009 - 05:57
#9
Posté 25 novembre 2009 - 06:39
BTW, this should be stickied, or given a tutorial of some sort in the mods section. I think it could be really helpful for a lot of people.
Modifié par MrKite, 25 novembre 2009 - 06:46 .
#10
Posté 25 novembre 2009 - 07:12
You're welcome.Thanks for the help!
I just wrote it on the fly, so it could probably be done in a better way perhaps. But it gets the job done.
#11
Posté 27 novembre 2009 - 10:30
Thank u so much +88 approval!!
#12
Posté 27 novembre 2009 - 04:01
#13
Posté 03 mars 2010 - 06:01
#14
Posté 04 mars 2010 - 08:26
#15
Posté 12 mars 2010 - 06:52
I do exactly what the poster said but every time i turn the script on it works on my desktop(For example, after turning the script on I create a new folder and it automatically names it zzzzzzzzzzzzz etc") and not in the game.
Any idea what I might be missing?...
#16
Guest_iHNS_*
Posté 15 mars 2010 - 12:06
Guest_iHNS_*
#17
Posté 14 août 2010 - 05:40
2. For simplicity, right-click on your desktop and select "New --> Text Document."
3. Now copy the script below into that new document.(ahah sorry just copy/pasted this part)
;/////////////////// TAB TOGGLE SCRIPT
;Press ALT+TAB to toggle TAB DOWN, Press END to exit script
Global $Tab
HotKeySet("!{TAB}", "Tab")
HotKeySet("{END}", "Terminate")
While 1
Sleep(1000)
$Tab = $Tab
Sleep(1000)
WEnd
Func Tab()
$Tab = NOT $Tab
While $Tab
Sleep(1000)
Send("{TAB DOWN}")
Sleep(1000)
WEnd
Send("{TAB UP}")
EndFunc
Func Terminate()
Exit 0
EndFunc
;=================END
4. Save as "DAO.au3" (include the quotes just to be safe [for those of you who hide your extensions and such]).
i used alt+tab to toggle it so you don't tab out
Modifié par panty raider, 14 août 2010 - 05:46 .
#18
Posté 14 août 2010 - 08:43
Talian Kross wrote...
I was sent a couple of PMs about how to do this in AutoHotkey, so here you go
1. Download and install AutoHotkey.
2. For simplicity, right-click on your desktop and select "New --> Text Document."
3. Now copy the script below into that new document.
4. Save as "DAO.ahk" (include the quotes just to be safe [for those of you who hide your extensions and such]).
Now just double-click on that DAO.ahk file on your desktop (just like you are launching any other app), and you'll be good to go. (It doesn't matter which you do first, i.e. autohotkey then game or game then autohotkey. In fact, while creating and testing out this script, I had DA:O running and was just Alt-tabbing out to edit and reload the script.)
Anyway, the script below presumes you have highlighting set to Z (in-game), and this script now makes Z act as a toggle: press it to turn on highlighting, press it again to turn it back off, etc.
*code*
Thanks so much for this. Just started playing this week, and was already sick of holding the TAB key down all the time. This was such a simple fix. A shame that it requires something third-party and isn't just an checkbox in the options menu, but I'm happy this works. Now I can free up a finger.
#19
Posté 14 septembre 2010 - 08:33
Talian Kross wrote...
(cut)
;---------------------------------------
; Create a timer to constantly check
; if game is the active process or not
; since we want our remapping to only
; be applied in-game, not outside the
; game.
;---------------------------------------
SetTimer PollForApp
return
PollForApp:
; Get the process name of the active window (i.e. Notepad.exe)
WinGet szProcessName, ProcessName, A
if szProcessName = daorigins.exe
{
Suspend, off
}
else
{
Suspend, on
}
return
(cut)
Am glad you included that PollForApp.
As an experiment I removed it from the script to see if it would make a difference.
For me it did, when I launched a Word document the Word program would attempt to repeatedly tab over and over again.
I say "attempt" because it was unable to do so and Word as well as Windows 7 went into overload and caused a system wide hard lock. I couldn't even launch Task Manager to stop processes - had to perform a hard restart.
Using your "full script" for the Tab key now - no problems.
As a precaution though I make sure that I right click on the DAO.ahk icon in the taskbar and select exit when I leave the game.
Thanks again!
#20
Posté 26 octobre 2010 - 09:32
Instead of binding a macro to the G buttons, go to the Keyprofiler and bind the script to the desired key. Open scripteditor and paste following:
function OnEvent(event, arg)
if (event == "G_PRESSED") then
if (arg == 1 and tabtogglecount == 1) then
ReleaseKey("tab")
tabtogglecount = 0
elseif (arg == 1) then
tabtogglecount = 1
PressKey("tab")
end
end
end
Simply used a counter to avaluate whether to release or press the tab key.
Oh and change the 1 in (arg == 1) to the number of the desired G-key, and voila it works.
Modifié par rhn_18, 26 octobre 2010 - 09:36 .





Retour en haut







