Cheats – Arma 3

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<tt>([^= ]+)<\/tt>" to "{{hl|$1}}")
m (Text replacement - "{{KeyboardShortcut" to "{{Controls")
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{TOC|side}}
{{TOC|side}}
Cheats offer various different functionalities which are not meant to be easily accessible. Use cheats with care!
Cheats offer various different functionalities which are not meant to be easily accessible. Use cheats with care!
To enter a cheat press: {{KeyboardShortcut|LShift|NUM -}} and enter one of the cheat codes below. Capitalization does not matter.
To enter a cheat press: {{Controls|LShift|NUM -}} and enter one of the cheat codes below. Capitalization does not matter.


= 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.
Unlocks all campaign missions. This must be entered in the appropriate campaign screen.


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


== SAVEGAME ==
=== 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 ===
 
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" ).
(''German Users: Enter'' {{hl|TOPOGRAPHZ}} ''instead''). This function is '''deprecated''' and was replaced with [[diag_exportTerrainSVG]].
(''German Users: Enter'' {{hl|TOPOGRAPHZ}} ''instead''). This function is '''deprecated''' and was replaced with [[diag_exportTerrainSVG]].


=== Example export procedure for Arma 3 ===
==== Example Export Procedure ====
 
# '''Run {{arma3}} as administrator'''
# '''Run Arma 3 as administrator'''
#* Open your {{arma3}} main folder
#* Open your Arma 3 main folder
#* Locate {{hl|arma3.exe}}
#* 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
#* 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 {{arma3}} as administrator should resolve this
# '''Select desired map'''
# '''Select desired map'''
#* Open [[Eden Editor]] with the map you want to export
#* Open [[Eden Editor]] with the map you want to export
Line 36: Line 41:
#* 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
#* 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'''
# '''Finish exporting'''
#* Close Arma 3 because it will not release the file otherwise
#* Close the game for it to release the file
#* Copy resulting {{hl|.emf}} file into some location where any user can write to the disk
#* 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)
#* 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)
Line 44: Line 49:
#* If everything went ok, you would have {{hl|<worldname>.png}} file created next to {{hl|<woldname>.emf}} file
#* If everything went ok, you would have {{hl|<worldname>.png}} file created next to {{hl|<woldname>.emf}} file


== EXPORTNOGRID ==
=== EXPORTNOGRID ===
 
{{GVI|arma3|1.44}} 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/]
{{GVI|arma3|1.44}} 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 ==
=== GETALLGEAR ===
 
Entering this cheat will execute statement defined by [[Description.ext#onCheat|'''onCheat''']] property in [[Description.ext|description.ext]]. For example:
Entering this cheat will execute statement defined by [[Description.ext#onCheat|'''onCheat''']] property in [[Description.ext|description.ext]]. For example:
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
Line 56: Line 63:
[[Magic Variables#this|_this]] variable will contain "GETALLGEAR" text. Currently this is the only cheat that can activate '''onCheat''' event handler.
[[Magic Variables#this|_this]] variable will contain "GETALLGEAR" text. Currently this is the only cheat that can activate '''onCheat''' event handler.


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


== FREEZE ==
=== FREEZE ===
{{Feature|Warning|Disabled in {{arma3}} retail version!}}
 
{{Feature|Warning|Disabled in retail version!}}
Instantaneous "freezing" the game. For debugging of freeze dump creation process.
Instantaneous "freezing" the game. For debugging of freeze dump creation process.


== CRASH ==
=== CRASH ===
{{Feature|Warning|Disabled in {{arma3}} retail version!}}
 
{{Feature|Warning|Disabled in retail version!}}
Forced game crash. For debugging of crash dump creation process.
Forced game crash. For debugging of crash dump creation process.


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


{{GameCategory|arma3}}
{{GameCategory|arma3}}

Revision as of 12:48, 20 December 2021

Cheats offer various different functionalities which are not meant to be easily accessible. Use cheats with care! To enter a cheat press: ⇧ Shift + NUM - and enter one of the cheat codes below. Capitalization does not matter.


Cheats

ENDMISSION

Ends the mission.

CAMPAIGN

Unlocks all campaign missions. This must be entered in the appropriate campaign screen.

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

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" ). (German Users: Enter TOPOGRAPHZ instead). This function is deprecated and was replaced with diag_exportTerrainSVG.

Example Export Procedure

  1. Run Arma 3 as administrator
    • Open your Arma 3 main folder
    • Locate arma3.exe
    • Right click on it and select Run as administrator. The reason for it is that .emf file will be saved at 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
  2. Select desired map
  3. Enter required cheat
    • Press and hold Left Shift
    • Tap - (minus) on the NUM pad while still holding Left Shift
    • Release both keys then blindly type TOPOGRAPHY. If everything done correctly, a small message will flash saying that topography is activated. German users might need to type TOPOGRAPHZ instead, since they use QWERTZ layout instead of QWERTY
  4. Locate exported file
    • Go to c:\ and check for <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
  5. Finish exporting
    • Close the game for it to release the file
    • Copy resulting .emf file into some location where any user can write to the disk
    • Copy 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)
  6. Convert exported map to .png
    • At this point you can just drag your resulting .emf file over the converter .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 EmfToPng.exe without params
  7. Done!
    • If everything went ok, you would have <worldname>.png file created next to <woldname>.emf file

EXPORTNOGRID

Arma 3 logo black.png1.44 Does what TOPOGRAPHY cheat does, but generates a grid-less map in EMF format XXNAMEXX_nogrid.emf. More on map topography export [1]

GETALLGEAR

Entering this cheat will execute statement defined by onCheat property in description.ext. For example:

// description.ext
onCheat = "hint str _this";

_this variable will contain "GETALLGEAR" text. Currently this is the only cheat that can activate onCheat event handler.

FLUSH

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

FREEZE

Disabled in retail version!

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

CRASH

Disabled in retail version!

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

FPS

Allows to artificially limit FPS for testing. Every time the FPS cheat is entered, it cycles through the following list (message shown):

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