Quick Chat Macros

Download and install some cool Army Men Mods made by our community.
Post Reply
User avatar
TommyCD1
Moderator
Moderator
Posts: 1143
Joined: Tue Jun 04, 2013 8:55 am
Location: East Coast
Contact:
United States of America

Quick Chat Macros

Post by TommyCD1 »

Small mod that allows you to quickly say things to your allies using keybindings.

Download link

Extract to your Army Men RTS root directory.

Works Online!

Keybinds
====================

Press Alt + Numpad 1 to ask for an HQ.
Press Alt + Numpad 2 to ask for Sarge.
Press Alt + Numpad 3 to ask for plastic.
Press Alt + Numpad 4 to ask for electricity.
Press Alt + Numpad 5 to ask for assistance.
Press Alt + Numpad 6 to apologize.
Press Alt + Numpad 7 to request defensive play.
Press Alt + Numpad 8 to start an attack.
Press Alt + Numpad 9 to notify others of an airstrike.

How to Customize
====================

After installing, go to the following directory:
  • \..\client\p\ingame\mods\
Inside this directory you will find the following file:
  • if_game_keybind_quickchat.cfg
It will look like this.

Code: Select all

//////////////////////////////////////////////////////////////////////////////
//
// Copyright Pandemic Studios
//
// Key Bindings
//

// Bindings based on single/multi player
If("multiplayer.flags.online")
{
  Bind("Alt Numpad1", "multiplayer.cmd.a I need an HQ!");
  Bind("Alt Numpad2", "multiplayer.cmd.a Lend me your Sarge.");
  Bind("Alt Numpad3", "multiplayer.cmd.a I need plastic!");
  Bind("Alt Numpad4", "multiplayer.cmd.a I need electricity!");
  Bind("Alt Numpad5", "multiplayer.cmd.a I need help over here!");
  Bind("Alt Numpad6", "multiplayer.cmd.a Sorry.");
  Bind("Alt Numpad7", "multiplayer.cmd.a Build defenses here.");
  Bind("Alt Numpad8", "multiplayer.cmd.a Let's attack now!");
  Bind("Alt Numpad9", "multiplayer.cmd.a My airstrike is ready.");
}
To modify what will be printed for each keybind, replace the text inside the quotation marks as such:
  • multiplayer.cmd.broadcast YOUR TEXT HERE
The text in green corresponds to which players you send the message to. You can adjust it to one of the following: (MUST BE EXACT)
  • multiplayer.cmd.broadcast - Send this message to all players.
  • multiplayer.cmd.me - Send this message to all players and highlight it.
  • multiplayer.cmd.a - Send this message to your allies only.
  • multiplayer.cmd.e - Send this message to your enemies only.
The text in orange corresponds to the text that will be printed in the chat.

Once you've adjusted the file to your liking, save it in the ANSI format. This step is important if you are sending messages in a language other than English.
Last edited by TommyCD1 on Sat Dec 26, 2015 6:24 am, edited 4 times in total.
I may not make the best maps, or be the best player, but I put a lot of time, effort, and care into my stuff. That counts for something, right? No.
Image
"Can we order a pizza?"
GameRanger ID: 913974
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest