Company of Heroes에서 AI 탱크를 생성하는 방법 2 작업: 탱크 전쟁 모드

How to get the AI working in the Operation: Panzerkrieg mod.

개요

작업: Panzerkrieg is a mod that remakes/reworks the game mode of the same name from COH1. While this game mode is primarily intended for PvP, you can actually play with AI tanksit just requires a little bit of manual intervention.

전제 조건

Subscribe to this mod:

(선택 과목) Download and install AutoHotKey:

방법 1: 수동

Setting Up The Game

  1. Create/host a custom game.
  2. Click options.
  3. Set tuning pack to Operation Panzerkrieg.
  4. Set win condition to CheatCommands Mod II (VPC).
  5. Set the number of victory points as you see fit.
  6. Un-equip all commander and intel slots before starting the game.

Spawning AI Tanks

  1. 클릭 CheatCommands menu button in the top-left corner.
  2. 클릭 게임, AI & FoW 단추.
  3. 클릭 Take over player 단추, then select the slot you wish to take control of.
  4. Pick one of the commander doctrines for the AI.
  5. Double-tap F1 to go to HQ, then pick their tank to spawn it in.
  6. Repeat for all other AI commanders.

방법 2: AutoHotKey

방법 1 works just fine, 하지만, it’s very cumbersome to click through the menus mid-game. I made a macro script using AutoHotKey. This script allows you to spawn AI tanks using a single key press on the number pad, 다른 것들 사이.

The Script

먼저 첫 번째 것들, make sure you have installed AutoHotKey (link above). Once you’ve done that, download the script from the PasteBin link below save it as an .ahk file.

You should now be able to double-click the script file and AutoHotKey should run it. You should see a green H in the bottom-right icon traythis means the script is active.

Key Binds

I’ve bound the keys to the number pad as they are not typically used in COH2. When you press one of these keys below, AutoHotKey will move your mouse and click the buttons for you.

  • Press dot to toggle the zoom mode.
  • Press numbers 1-8 to spawn an AI tank for that player slot.
  • Press CTRL + Number to take over that slot.

자주하는 질문 & 문제 해결

Will the AI tanks respawn automatically?
슬프게도, 아니요. You will still have to use the hotkeys to respawn the AI tanks. That’s actually why I made the AHK script in the first place; so I could respawn AI tanks at the push of a button.

I’ve lost the ability to click on things!
Is your cursor showing ano way” 상? If it bugs out like that, you’ll need to quit the match unfortunately. This usually happens when taking over player slots too quickly. I strongly recommend waiting a second or two before pressing the next hotkey.

Can I edit your script?
확신하는! If you think you can improve upon it, I’d love to see it.

Does this work on 4K, ultra-wide or other resolutions?
I only have a 1080p monitor, so I have no way to test this. The screen coordinates may need to be updated for different resolutions.

When I spawn an AI tank, I’m still in control of that AI player.
When you spawn an AI tank, it will not switch back to your player slot. You’ll need to switch back to your own slot using the appropriate CTRL+Number hotkey.

이 가이드는 컴퍼니 오브 히어로즈 2 에 의해 작성되었습니다 Mr Elusive. 여기에서 원본 간행물을 방문할 수 있습니다. 링크. 이 가이드에 대해 우려 사항이 있는 경우, 주저하지 마시고 연락주세요 여기.

저자 소개