This guide will show you how to spawn AI tanks in Operation: Panzerkrieg mod in Company of Heroes 2.
Aperçu
Opération: Panzerkrieg is a mod that changes the way the game mode works in COH1. Dans ce mode, you usually play against other players (PvP), mais ici’c'est une chose cool: you can also play with computer-controlled tanks if you want. You just need to do a few things yourself to make it happen.
Conditions préalables
Download and install AutoHotKey (Facultatif):
Méthode 1: Manuel
Setting Up The Game
- D'abord, make a custom game or be the host.
- Alors, click on the options.
- Choose the tuning pack as « Operation Panzerkrieg. »
- Set the win condition to « CheatCommands Mod II (VPC). »
- Decide how many victory points you want.
- Before you start the game, remember to remove all commander and intel slots.
Spawning AI Tanks
- Cliquez sur le « CheatCommands » menu button at the top-left corner.
- Maintenant, cliquez sur le « Jeu, IA & FoW » bouton.
- Choisissez le « Take over player » bouton, and then select the slot you want to control.
- Pick one of the commander doctrines for the AI.
- Press the F1 key twice to go to the HQ, et à partir de là, select their tank to spawn it in.
- Repeat these steps for all the other AI commanders.
Méthode 2: AutoHotKey
Méthode 1 works well, but it can be a bit tricky to click through menus during the game. toutefois, là’s a clever solution. You can create a macro script using AutoHotKey. This script makes it super easy to spawn AI tanks with just one key press on the number pad, and it can do other things too. It simplifies the process and makes it more convenient.
Le script
Bien, ici’s what you need to do first. Assurez-vous de’ve got AutoHotKey installed (you can find the link above to download it). Une fois que vous’ve got that sorted, go ahead and download the script from the PasteBin link provided. Save it as a .ahk file.
Maintenant, toi’re almost ready to roll. Double-click the script file, and AutoHotKey will run it. Toi’ll notice a green ‘H’ in the bottom-right icon tray. This little green ‘H’ is a sign that the script is up and running.
Key Binds
The keys I’ve set up are on the number pad because they aren’t usually used in COH2. When you press one of these keys listed below, AutoHotKey does the mouse work for you:
- Press the dot to switch the zoom mode.
- Hit numbers 1 à 8 to bring in an AI tank for that player’s slot.
- For taking control of a slot, press CTRL + the number associated with it.
FAQ & Dépannage
Will the AI tanks respawn automatically?
- Malheureusement, Non, ils ont gagné’t. Toi’ll still have to use the hotkeys to bring back the AI tanks. Que’s precisely why I created the AHK script in the first place – to make respawning AI tanks as easy as pressing a button.
je’ve lost the ability to click on things!
- If your cursor is showing a « no way » icon and it’s causing trouble, toi’ll have to quit the match, which is a bit of a bummer. This usually happens when you take over player slots too quickly. I strongly recommend waiting a second or two before hitting the next hotkey.
Can I edit your script?
- Absolument! If you think you can make it better, feel free to edit it. je’d be interested in seeing your improvements.
Does this work on 4K, ultra-wide, or other resolutions?
- je’ve only got a 1080p monitor, pour que je puisse’t test it on other resolutions. The screen coordinates may need adjustments for different resolutions.
When I spawn an AI tank, je’m still in control of that AI player.
- Just to clarify, when you spawn an AI tank, c'est gagné’t switch you back to your player slot automatically. Toi’ll need to switch back to your own slot using the appropriate CTRL+Number hotkey.
C'est tout ce que nous partageons aujourd'hui pour cela Compagnie des héros 2 guide. Ce guide a été initialement créé et rédigé par Mr Elusive. Si nous ne parvenons pas à mettre à jour ce guide, vous pouvez trouver la dernière mise à jour en suivant ceci lien.