America's Army/Console Scripting
Note: Pretty much anything in this will now get you banned from TWL.
In-game binding[edit]
Hit
to bring down console then type:- bind [key] [command]
- Example
- bind x say Good Job
The Commo command list below to see which numbers to use for which commo commands.
key is now permanently bound (User.ini modified) to say "Good Job". say can be replaced with teamsay, commoradio, commoshout, commowhisper, commosquad, commohand, or any of the actions listed below. If you do a commobinding, refer to the- Example
- bind x commoradio 1
This will make you radio "Move out" according to the commoradio list below due to the number 1 in the binding. Multiple bindings can be done on the fly also (illegal in TWL). To add extra binds to a key use "|" with a space on either side.
- Example
- bind x teamsay Reloading! | reload
When you press
, this bind will say "Reloading!" to your team and then it will reload your gun. You can, of course, rebind it to something else at any time. It will replace the old bind you had there if any. This will mess you up if you bind it to a movement key. You will then have to go to the settings panel and change it back or type bind [key] [movement name] to fix it.User.ini Binding[edit]
Eventually, you may find that you have more bindings than keys, especially if you make make-specific binds. In order to get around this problem, you can load binds with a text file. In your user.ini file you would have:
- [key]=exec FILENAME.txt
Within FILENAME.txt would look like the following:
- bind [key] [command]
- bind [key] [command]
- bind [key] [command]
- User.ini Example
- X=exec mybinds.txt
- Y=
- Z=
Within mybinds.txt would look like the following:
- bind Y Say Hello world
- bind Z Say Hi there
When you load the game, hitting
will do nothing. But if you hit , it will bind to say "Hello World". Using multiple .txt files, you can swap large numbers of binds in and out of your User.ini file.Note: You can modify your user.ini file directly to create individual binds (without the file swapping described above). Just open it up in a text editor (such as Notepad), find the keys you want to change, modify them how you want, then save the file and open AA. In Windows the user.ini file, by default, is located at C:\Program Files\America's Army\System\user.ini
Binding Commo messages[edit]
- [key]=commo[list] | CommoSendMessage [x]
Where [list] is radio, shout, whisper, squad, or hand, and [x] is 1–28.
- Example
- [key]=commohand | CommoSendMessage 6
Now for you own:
- [key]=CommoHand | CommoSendMessage 1
A problem with the above is that it leaves the commo mode in CommoHand. To fix it, use:
- [key]=CommoHand | CommoSendMessage 1 | CommoRadio
Now it leaves the Radio menu open and you have to hit a key to shut it. So to continue the fix, use:
- [key]=CommoHand | CommoSendMessage 1 | CommoRadio | CommoSendMessage 99
This works correctly by sending a bogus commosendmessage to CommoRadio.
Commo command list[edit]
Hand signals[edit]
- [key]=CommoHand
- Move out
- Stop
- Get down
- Look this way
- Ready
- Double time
- Affirm
- Negative
Squad Commands[edit]
Note: Squad commands only work if you are the squad leader.
- [key]=CommoSquad
- Squad, form up!
- Squad, spread out!
- Fall back! Fall back!
- Squad, Open fire
- Squad, Cease fire
- Squad, Hold this position
- Squad, Report in
- Squad, Silence! Silence!
- Squad, Operate as a unit
- There's no I in team
- That may be your way, but it's not the army way
- What are you doing solider?
- Hit the dirt!
- Stay down
- Grandma was slow but she was old
- That don't make no sense at all
- Good job soldier!
- Great job team!
Whisper, Shout or Radio[edit]
- [key]=CommoWhisper
- [key]=CommoShout
- [key]=CommoRadio
- Move out
- Stop
- Cover me
- Enemy spotted
- Take cover
- Enemy down
- Area secure
- Roger
- Negative
- Up
- Down
- Left
- Right
- North
- South
- East
- West
- Hooah
- Sniper
- Frag'em
- Smoke'em
- Flash'em
- Grenade
- Ready
- I'm hit
- Get the door
- Check your flanks
- Psst (Whisper), Frag Out (Shout), Beeps (Radio)
- Stop so I can Treat You
- Medic! [Position]
Actions[edit]
- Action: Open doors, take objectives, etc...
- AGPMainMenu: AA main menu
- AltFire: Alternate fire mode
- Binoculars: Selects Binoculars (SGT/FTL only)
- Brightness: Changes screen brightness
- CallMedic: Player yells "Medic" if injured
- CommoCycle: Cycles through commos
- CommoGlobal: Global (seen by all players (all LIVE players if you are dead))
- CommoHand: Hand signal commos
- CommoRadio: Radio commos
- CommoShout: Shout commos (Heard by all in range)
- CommoSquad: Squad commos
- CommoWhisper: Whisper commos (Heard by all in range)
- Console: Pull up the console
- Contrast: Changes monitor contrast
- Crawling: Prone/Standing toggle
- Crosshair: Change crosshair
- Crouching: Crouch/Standing toggle
- FastMove: Toggle run/walk
- Fire: Fire Weapon (must be bound to key)
- Fixjam: Fix jammed weapon
- Flush: flushes graphics useful for lowend systems
- FreeLook: Free look
- Gamma: Changes monitor gamma
- Grenadeflash: Select flash grenade
- Grenadefrag: Select fragmentation grenade
- Grenadesmoke: Select smoke grenade
- Jump: Jump
- LeanLeft: Lean/roll left
- LeanRight: Lean/roll right
- LeftRail: Activate mod on the left rail
- LookDown: Moves aimpoint down
- LookUp: Moves aimpoint up
- MoveBackward: Move backwards
- MoveForward: Move forwards
- NV: Night vision goggles
- Pause: Pauses single player game
- PlayerList: Shows list of players
- Quit: Exit America's Army
- Reload: Reload weapon
- ReportIn: Reports in your current location to team
- Resolution: Change screen resolution
- Reasonlist: Shows reasons for kicking a player
- RightRail: Activate mod on the right rail
- Say: Prompts for text message
- SelectClass: Shows the weapons selection screen
- SelectTeam: Shows the team selection screen
- SetIndex 0: Changes M4 Mod set to number 1
- SetIndex 1: Changes M4 Mod set to number 2
- SetIndex 2: Changes M4 Mod set to number 3
- SetIndex 3: Changes M4 Mod set to number 4
- SetIndex 4: Changes M4 Mod set to number 5
- SetSquadTarget: Sets squad objective
- Shot: Takes a Screenshot (Saved as .bmp in America's Army/ScreenShots directory)
- ShowObjectives: Shows mission objectives
- ShowScores: Shows scores and most teammates/opponents
- SkinTonePref: =None/Light/Medium/Dark
- Strafe: set strafe mode on/off
- StrafeLeft: Strafe left
- StrafeRight: Strafe right
- Suicide: Kill yourself
- SupportedFire: Switch to supported fire/grenade mode (M249, M24, M82, M203, GP30 only)
- Suppressor: Puts the suppressor on the modified M4
- SwapHands: Shoulder/unshoulder weapon
- Talk: Prompts for text message
- TeamSay: Prompts for text message that only your team sees
- TeamTalk: Prompts for text message that only your team sees
- ThrowWeapon: Drops weapon to ground
- TurnLeft: Turns aimpoint left
- TurnRight: Turns aimpoint right
- Turn180: Turns character 180 degrees around
- UseJoyStick: Enable JoySticks
- Votekick: Initiate/add a vote to a votekick
- Zoom: Brings up sights/scope