Login

russian armor

Tactical map script?

27 Aug 2015, 19:26 PM
#1
avatar of Spanky
Senior Strategist Badge

Posts: 1820 | Subs: 2

Can anyone help me out with a script that binds the tactical map button from keyboard to mouse? I have logitech gaming mouse that has side buttons, would like it to be the second button "back" if you know what i mean.

I wouldn't ask for help, but i tried to figure it out myself, but I'm not good at this.

Thanks in advance!
27 Aug 2015, 19:28 PM
#2
avatar of CookiezNcreem
Senior Strategist Badge
Donator 11

Posts: 3052 | Subs: 15

jump backJump back to quoted post27 Aug 2015, 19:26 PMSpanky
Can anyone help me out with a script that binds the tactical map button from keyboard to mouse? I have logitech gaming mouse that has side buttons, would like it to be the second button "back" if you know what i mean.

I wouldn't ask for help, but i tried to figure it out myself, but I'm not good at this.

Thanks in advance!


I posted about how I do it
http://www.coh2.org/topic/38857/micro Post #7
27 Aug 2015, 19:41 PM
#3
avatar of CookiezNcreem
Senior Strategist Badge
Donator 11

Posts: 3052 | Subs: 15

Now that I read the thread again and saw where you said you were struggling :foreveralone:

Basically use mouse button control to change the side keys(which are mouse button 4/5) to some random key you don't use while playing coh2,like print screen.
(Google how to disable print screen so you don't lag when u press it)

Then download autohotkey, use a text editor like notepad,paste the code I left in the other thread into it,, save it as coh2.ahk on your desktop, double click it before you start the game


Ez.

27 Aug 2015, 21:29 PM
#4
avatar of Mithiriath
Director of Social Media Badge

Posts: 830 | Subs: 3

Have you installed Logitech Gaming Software ?

It's like this :



It's easy to set up. You add CoH 2 exe to the software (by default : C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2\RelicCoH2.exe). After you match a hotkey (in your case : 0 for tactical map) with a mouse key.
27 Aug 2015, 21:37 PM
#5
avatar of Pamark

Posts: 10

Yep, just install LGS for logitech mouse. Assign macro key(press numpad0 once for tactical map) to mouse side button you want.
27 Aug 2015, 21:46 PM
#6
avatar of Polak
Donator 11

Posts: 25

If you can't bind it in your mouse software, you can download CoH2 CELO, create a script with a different key, and then bind it in you macro software.
27 Aug 2015, 22:54 PM
#7
avatar of tanju

Posts: 58

Download autohotkey program.
Open notepad:

#SingleInstance force
#NoEnv
SetBatchLines, -1

sendMode, Input
return

#if !GetKeyState("LCtrl", "P") && WinActive("Company Of Heroes 2")
MButton::Numpad0







[::Suspend
#~Enter::Suspend
Return



Save it as COH2.AHK

Drag the script on the autohotkeyprogram. The middle mouse button will open the tactical map.
27 Aug 2015, 22:55 PM
#8
avatar of Spanky
Senior Strategist Badge

Posts: 1820 | Subs: 2

Thank you guys! Got it to work with the logitech software, all have been helpful!
27 Aug 2015, 23:05 PM
#9
avatar of kildor
Benefactor 226

Posts: 53

Have you installed Logitech Gaming Software ?

It's like this :



It's easy to set up. You add CoH 2 exe to the software (by default : C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2\RelicCoH2.exe). After you match a hotkey (in your case : 0 for tactical map) with a mouse key.



That's what I did for both my mouse and keyboard (both logitech) Recently picked up the Orion Spark G910. This keyboard is a beast.
1 user is browsing this thread: 1 guest

SHOUT IT OUT!

No ProfanityNumber of ShoutsRefresh Shout Box
Osinyagov: Suddenly, coh2 is slowly dying, but you can play it, playerbase still big enough
Last Wednesday, 17:00 PM
Osinyagov: Wow, i remember you from zansi and vali videos, good old memories
Last Wednesday, 16:58 PM
Beinhard: o7 miss this game and zansi
Last Wednesday, 14:09 PM
Lady Xenarra: @Willy Pete The lack of April Fools this year is odd lol
02 Apr 2025, 01:34 AM
Willy Pete: @Rosbone not dead yet. when that happens the font will switch to Papyrus :*(
02 Apr 2025, 00:16 AM
dasheepeh: it was an honor guys :guyokay:
01 Apr 2025, 20:34 PM
aerafield: yeah I already prepared my "Can't believe there's comic mode for the 10 daily visitors even on this April 1st" :guyokay:
01 Apr 2025, 20:29 PM
Rosbone: @dasheepeh I guess that means this site is officially dead :guyokay:
01 Apr 2025, 20:19 PM
dasheepeh: no comic sans font for april 1st this year?
01 Apr 2025, 19:56 PM
Willy Pete: @Lady Xenarra this you? https://i.imgflip.com/3e4thi.jpg
01 Apr 2025, 02:53 AM
Lady Xenarra: Does anyone else think that USF needs buffs? It feels like they’re on life support sometimes
01 Apr 2025, 02:36 AM
Willy Pete: @Rosbone Ahh I missed that memo. I still think its a bad decision though. Adds frustration for players and isnt gonna make them that much money
27 Mar 2025, 15:46 PM
Rosbone: It is also good they left it free until after the free to play weekend. Points for that.
27 Mar 2025, 09:34 AM
Rosbone: But I agree, the cost to get a full decent Coh game pushing $115 US is not the best idea. Especially when it needs so much more work for casuals.
27 Mar 2025, 09:32 AM
Rosbone: To be fair, it was a thank you to early fans right? They said it was not free for long and it would become a pay DLC at some point.
27 Mar 2025, 09:30 AM
Willy Pete: Re-releasing free DLC so they can charge new players money for it. Brilliant marketing strategy :clap:
27 Mar 2025, 04:31 AM
Soheil: Coh2 still broken server ?
25 Mar 2025, 18:27 PM
Rosbone: Congrats to Relic. Looks like Coh3 has finally usurped Coh2 s the popular Coh. You smell terrific. :snfQuinn:.
24 Mar 2025, 02:46 AM

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

182 users are online: 2 members and 180 guests
aerafield, 69vnnnio
0 post in the last 24h
2 posts in the last week
51 posts in the last month
Registered members: 53621
Welcome our newest member, 69vnnnio
Most online: 2043 users on 29 Oct 2023, 01:04 AM