Notes |
|
(0011725)
|
Dusk
|
2015-02-20 14:31
|
|
You can do this with the console.
alias _overlay_on "am_overlay 2; echo \"Overlay enabled\"; rebind _overlay_off"
alias _overlay_off "am_overlay 0; echo \"Overlay disabled\"; rebind _overlay_on"
bind <key> _overlay_on
Replace <key> with whatever key you want to bind this to. |
|
|
|
This should probably be closed.
Options -> Display options -> Automap Options -> Overlay automap: Choose "Overlay + Normal".
|
|
|
(0011728)
|
Dusk
|
2015-02-20 18:09
|
|
Quote
Its annoying for me to to tap tab 2 times to get the overlay.
Nevertheless my console script should do it. I'm just waiting for him to reply whether it suits his needs or not. |
|
|
|
alias _overlay_on "am_overlay 2; echo \"Overlay enabled\"; rebind _overlay_off"
alias _overlay_off "am_overlay 0; echo \"Overlay disabled\"; rebind _overlay_on"
bind <key> _overlay_on
This works partially. I need to turn the automap off to see changes. Is there any way to refresh the map render via an additional line in the command? |
|
|
|
How about
alias _overlay_on "am_overlay 2; echo \"Overlay enabled\"; togglemap; wait; togglemap; rebind _overlay_off"
alias _overlay_off "am_overlay 0; echo \"Overlay disabled\"; togglemap; wait; togglemap; rebind _overlay_on" |
|
|
|
alias _overlay_on "am_overlay 2; echo \"Overlay enabled\"; togglemap; wait; togglemap; rebind _overlay_off"
alias _overlay_off "am_overlay 0; echo \"Overlay disabled\"; togglemap; wait; togglemap; rebind _overlay_on"
This trick turns overlay on but the console says "Rebind cannot be used from the console" |
|
|
(0011746)
|
Dusk
|
2015-02-23 10:30
|
|
alias _overlay_on "am_overlay 2; echo \"Overlay enabled\"; rebind _overlay_off; togglemap; wait; togglemap"
alias _overlay_off "am_overlay 0; echo \"Overlay disabled\"; rebind _overlay_on; togglemap; wait; togglemap"
The rebind needs to come before waiting, not after. |
|
|
|
The script work. Case closed. |
|