Cheats – ArmA: Armed Assault

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " (\=+)([a-zA-Z0-9][^ ]+[a-zA-Z0-9])(\=+) " to " $1 $2 $3 ")
(Remove Arma 3 information)
 
Line 1: Line 1:
{{TOC|side}}
{{TOC|side}}
= Overview =
{{Feature|arma3|For the {{GameCategory|arma3|link= y}} version, see [[Arma 3: Cheats]].}}
All of the following cheats require you to hold '''Left''' {{hl|Shift}} down and then press the '''Numpad''' {{hl|-}} (minus) key. Then let go and type the appropriate cheat code (capitalization doesn't matter). Nothing is displayed while you are typing, however the key strokes are being recorded and a quick confirmation might shortly flash on the screen upon successful entry.<br><br>
 
 
All of the following cheats require you to hold {{Controls|LShift}} down and then press the {{Controls|Num-}} key, then let go and type the appropriate cheat code (capitalization doesn't matter).
Nothing is displayed while you are typing, however the key strokes are being recorded and a quick confirmation might shortly flash on the screen upon successful entry.<br><br>


[[File:getallgear.jpg|thumb|center|800px|Example procedure entering GETALLGEAR cheat]]
[[File:getallgear.jpg|thumb|center|800px|Example procedure entering GETALLGEAR cheat]]


= Cheats =


== ENDMISSION ==
== Cheats ==
 
=== ENDMISSION ===
 
Ends the mission.
Ends the mission.


== CAMPAIGN ==
=== CAMPAIGN ===
Unlocks all campaign missions (This must be entered in the appropriate campaign screen you want unlocked. Unlocking one campaign will result in other campaigns that are unlocked to be re-locked.)
 
Unlocks all campaign missions; this must be entered in the appropriate campaign screen you want unlocked. Unlocking one campaign will result in other campaigns that are unlocked to be re-locked.
 
=== MISSIONS ===
 
Unlocks all single player missions; this must be entered in the appropriate single missions screen.


== MISSIONS ==
=== SAVEGAME ===
Unlocks all single player missions (This must be entered in the appropriate single missions screen.)


== SAVEGAME ==
Saves the game in your current mission. Can be useful as a quicksave function.
Saves the game in your current mission. Can be useful as a quicksave function.


==TOPOGRAPHY==
=== TOPOGRAPHY ===
{{Feature|arma3|One can also use the diag command [[diag_exportTerrainSVG]] instead.}}
 
(''German Users: Enter'' {{hl|TOPOGRAPHZ}} ''instead'')<br><br>
(''German Users: Enter'' {{hl|TOPOGRAPHZ}} ''instead'')<br><br>
Generates selected map in EMF vector format. The file is (not) always created at the root directory of the C: drive (Windows 7 with UAC might put the file in Virtualstore, "C:\Users\<username>\AppData\Local\Virtualstore" ).  
Generates selected map in EMF vector format. The file is (not) always created at the root directory of the C: drive (Windows 7 with UAC might put the file in Virtualstore, "C:\Users\<username>\AppData\Local\Virtualstore" ).  
=== Example export procedure for Arma 3 ===


# '''Run Arma 3 as administrator'''
=== GETALLGEAR ===
#* Open your Arma 3 main folder
#* Locate {{hl|arma3.exe}}
#* Right click on it and select ''Run as administrator''. The reason for it is that {{hl|.emf}} file will be saved at {{hl|c:\<worldname>.emf}} location, and on Windows 7, for example, most apps do not have rights to write in that location. Running Arma 3 as administrator should resolve this
# '''Select desired map'''
#* Open 2D editor (3D Editor since {{arma3}} v1.99) with the map you want to export (Old 2D editor can still be started with {{hl|Ctrl + O}} shortcut at map selection screen)
# '''Enter required cheat'''
#* Press and hold {{hl|Left Shift}}
#* Tap {{hl|-}} (minus) on the {{hl|NUM}} pad while still holding {{hl|Left Shift}}
#* Release both keys then blindly type {{hl|TOPOGRAPHY}}. If everything done correctly, a small message will flash saying that topography is activated. German users might need to type {{hl|TOPOGRAPHZ}} instead, since they use QWERTZ layout instead of QWERTY
# '''Locate exported file'''
#* Go to {{hl|c:\}} and check for {{hl|<worldname>.emf}} file. If you had activation message and no file saved, something is wrong with write file permission to this location, you will have to troubleshoot it on your own
# '''Finish exporting'''
#* Close Arma 3 because it will not release the file otherwise
#* Copy resulting {{hl|.emf}} file into some location where any user can write to the disk
#* Copy {{hl|EmfToPng.exe}} file to the same location. This file can be found in Visitor 3 folder in the Arma 3 Tools package. If you don’t have it, it is available on steam as free download (Library -> Tools)
# '''Convert exported map to .png'''
#* At this point you can just drag your resulting {{hl|.emf}} file over the converter {{hl|.exe}} to start default conversion. However if you prefer to do it with different zoom, you can do it via command line, for instructions run {{hl|EmfToPng.exe}} without params
# '''Done!'''
#* If everything went ok, you would have {{hl|<worldname>.png}} file created next to {{hl|<woldname>.emf}} file


== EXPORTNOGRID ==
Unlocks all [[ArmA: Armed Assault: Armory|Armory]] items.
(''Available since Arma 3 v1.43'')
<br><br>Does what TOPOGRAPHY cheat does, but generates a ''grid-less'' map in EMF format {{hl|XXNAMEXX_nogrid.emf}}. More on map topography export [http://killzonekid.com/arma-scripting-tutorials-how-to-export-topography/]


== GETALLGEAR ==
=== FLUSH ===
Entering this cheat will execute statement defined by [[Description.ext#onCheat|'''onCheat''']] property in [[Description.ext|description.ext]]. For example:
 
<syntaxhighlight lang="cpp">
Flush all video memory to cure performance issue caused by textures being placed in the AGP memory
// description.ext
 
onCheat = "hint str _this";
=== FREEZE ===
</syntaxhighlight>


[[Magic Variables#this|_this]] variable will contain "GETALLGEAR" text. Currently this is the only cheat that can activate '''onCheat''' event handler.
Instantaneous "freezing" the game. For debugging of freeze dump creation process.


== FLUSH ==
=== CRASH ===
Flush all video memory to cure performance issue caused by textures being placed in the AGP memory
Forced game crash. For debugging of crash dump creation process.


== FREEZE ==
=== FPS ===
Instantaneous "freezing" the game. For debugging of freeze dump creation process.  '''(DISABLED IN ARMA 3 RETAIL)'''


== CRASH ==
Allows to artificially limit FPS for testing:
Forced game crash. For debugging of crash dump creation process. '''(DISABLED IN ARMA 3 RETAIL)'''
* {{hl|Limit FPS 40}} - 1nd time cheat entered
* {{hl|Limit FPS 20}} - 2rd time cheat entered
* {{hl|Limit FPS 10}} - 3th time cheat entered
* {{hl|Limit FPS 5}} - 4th time cheat entered
* {{hl|Limit FPS 0}} - 5th time cheat entered (FPS and counter reset)


== FPS ==
=== MISSIONS ===
Allows to artificially limit FPS for testing. In Arma 3 every time FPS cheat is entered, it cycles through the following list (message shown):
* {{hl|Limit FPS 60}} - 1st time cheat entered
* {{hl|Limit FPS 40}} - 2nd time cheat entered
* {{hl|Limit FPS 20}} - 3rd time cheat entered
* {{hl|Limit FPS 10}} - 4th time cheat entered '''(Not in {{arma3}})'''
* {{hl|Limit FPS 5}} - 5th time cheat entered '''(Not in {{arma3}})'''
* {{hl|Limit FPS 2}} - 6th time cheat entered '''(Not in {{arma3}})'''
* {{hl|Limit FPS Random 10-60}} - 7th time cheat entered '''(Not in {{arma3}})'''
* {{hl|Limit FPS 0}} - 8th time cheat entered (FPS and counter reset)


== MISSIONS ==
Unlocks all missions.<br><br>
Unlocks all missions.  
Alternatively, to unlock stand-alone mission (older games), locate your ArmA profile first (it will be named {{hl|(username).ArmAProfile}}, and will be either in {{hl|My Documents\ArmA}} or in {{hl|My Documents\ArmA Other Profiles}}.
<br><br>Alternatively, to unlock stand-alone mission (older games), locate your ArmA profile first (it will be named {{hl|(username).ArmAProfile}}, and will be either in {{hl|My Documents\ArmA}} or in {{hl|My Documents\ArmA Other Profiles}}.
Open it in a text editor and change the section:
Open it in a text editor and change the section:
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
Line 88: Line 67:
to:
to:
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
activeKeys[] = {"M00","M01","M02","M03","M04","M05","M06","M07","M08","M09","M10","TT01","TT02","TT03","TT04","TT05","TT06"};
activeKeys[] = { "M00", "M01", "M02", "M03", "M04", "M05", "M06", "M07", "M08", "M09", "M10", "TT01", "TT02", "TT03", "TT04", "TT05", "TT06" };
</syntaxhighlight>
</syntaxhighlight>


{{GameCategory|arma1|Tips}}
{{GameCategory|arma1|Tips}}

Latest revision as of 00:34, 7 March 2023

Arma 3
For the Arma 3 version, see Arma 3: Cheats.


All of the following cheats require you to hold ⇧ Shift down and then press the NUM - key, then let go and type the appropriate cheat code (capitalization doesn't matter). Nothing is displayed while you are typing, however the key strokes are being recorded and a quick confirmation might shortly flash on the screen upon successful entry.

Example procedure entering GETALLGEAR cheat


Cheats

ENDMISSION

Ends the mission.

CAMPAIGN

Unlocks all campaign missions; this must be entered in the appropriate campaign screen you want unlocked. Unlocking one campaign will result in other campaigns that are unlocked to be re-locked.

MISSIONS

Unlocks all single player missions; this must be entered in the appropriate single missions screen.

SAVEGAME

Saves the game in your current mission. Can be useful as a quicksave function.

TOPOGRAPHY

(German Users: Enter TOPOGRAPHZ instead)

Generates selected map in EMF vector format. The file is (not) always created at the root directory of the C: drive (Windows 7 with UAC might put the file in Virtualstore, "C:\Users\<username>\AppData\Local\Virtualstore" ).

GETALLGEAR

Unlocks all Armory items.

FLUSH

Flush all video memory to cure performance issue caused by textures being placed in the AGP memory

FREEZE

Instantaneous "freezing" the game. For debugging of freeze dump creation process.

CRASH

Forced game crash. For debugging of crash dump creation process.

FPS

Allows to artificially limit FPS for testing:

  • Limit FPS 40 - 1nd time cheat entered
  • Limit FPS 20 - 2rd time cheat entered
  • Limit FPS 10 - 3th time cheat entered
  • Limit FPS 5 - 4th time cheat entered
  • Limit FPS 0 - 5th time cheat entered (FPS and counter reset)

MISSIONS

Unlocks all missions.

Alternatively, to unlock stand-alone mission (older games), locate your ArmA profile first (it will be named (username).ArmAProfile, and will be either in My Documents\ArmA or in My Documents\ArmA Other Profiles. Open it in a text editor and change the section:

activeKeys[] = {};

to:

activeKeys[] = { "M00", "M01", "M02", "M03", "M04", "M05", "M06", "M07", "M08", "M09", "M10", "TT01", "TT02", "TT03", "TT04", "TT05", "TT06" };