Cheats – Arma 3
Lou Montana (talk | contribs) m (Text replacement - "{{KeyboardShortcut" to "{{Controls") |
Lou Montana (talk | contribs) (Add REMAINS cheat) |
||
(10 intermediate revisions by 2 users 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: {{Controls|LShift| | To enter a cheat press: {{Controls|LShift|Num-}} and enter one of the cheat codes below. Capitalisation does not matter. | ||
Line 24: | Line 24: | ||
=== 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, {{hl|"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]]. | ||
Line 33: | Line 33: | ||
#* 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 | #* 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 [[:Category:Eden Editor|Eden Editor]] with the map you want to export | ||
# '''Enter required cheat''' | # '''Enter required cheat''' | ||
#* Press and hold {{ | #* Press and hold {{Controls|Shift}} | ||
#* Tap {{ | #* Tap {{Controls|Num-}} on the while still holding {{Controls|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 | #* 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''' | # '''Locate exported file''' | ||
Line 42: | Line 42: | ||
# '''Finish exporting''' | # '''Finish exporting''' | ||
#* Close the game for it to release the file | #* 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 the 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) | ||
# '''Convert exported map to .png''' | # '''Convert exported map to .png''' | ||
Line 49: | 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 | ||
{{ArgTitle|3|EXPORTNOGRID|{{GVI|arma3|1.44}}}} | |||
{{ | Does what the {{Link|#TOPOGRAPHY}} cheat does, but generates a ''grid-less'' map in EMF format {{hl|XXNAMEXX_nogrid.emf}}. See the following for more on map topography export {{Link|http://killzonekid.com/arma-scripting-tutorials-how-to-export-topography/|KK's How to Export Topography}} | ||
=== GETALLGEAR === | === GETALLGEAR === | ||
Line 61: | Line 61: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Magic Variables#this|_this]] variable will contain "GETALLGEAR" text. Currently this is the only cheat that can activate '''onCheat''' event handler. | The [[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 | ||
In {{arma3}}, up until {{GVI|arma3|2.18|size= 0.75}} this had no effect. | |||
{{ArgTitle|3|SUPERFLUSH|{{GVI|arma3|2.18}}}} | |||
Flush all video memory and as much system memory as possible. Empties all caches. Tries to free as much memory as possible. | |||
{{ArgTitle|3|ENDLOAD|{{GVI|arma3|2.18}}}} | |||
Forcefully ends a scripted [[startLoadingScreen|loading screen]]. | |||
{{ArgTitle|3|ENTITIES|{{GVI|arma3|1.24}}}} <!-- perhaps 1.26 --> | |||
{{Feature|important|Only available in {{Link|Arma 3: Diagnostics Exe|Diagnostic}}/{{Link|Performance Profiling|Profiling}} branch.}} | |||
Triggers [[logEntities]]. | |||
{{ArgTitle|3|REMAINS|{{GVI|arma3|2.20}}}} | |||
{{Feature|important|Only available in {{Link|Arma 3: Diagnostics Exe|Diagnostic}}/{{Link|Performance Profiling|Profiling}} branch.}} | |||
Logs remains collector entities into a file in the [[arma.RPT|RPT]] directory. See also <sqf inline>diag_remainsCollector -1</sqf> and {{hl|{{Link|Multiplayer Server Commands#Performance Profiling|#logremains}}}} {{Link|Multiplayer Server Commands|server command}}. | |||
{{ArgTitle|3|FRAME|{{GVI|arma3|1.24}}}} <!-- perhaps 1.26 --> | |||
{{Feature|important|Only available in {{Link|Arma 3: Diagnostics Exe|Diagnostic}}/{{Link|Performance Profiling|Profiling}} branch.}} | |||
Triggers [[diag_captureFrame]]. | |||
{{ArgTitle|3|SFRAME|{{GVI|arma3|2.16}}}} | |||
{{Feature|important|Only available in {{Link|Arma 3: Diagnostics Exe|Diagnostic}}/{{Link|Performance Profiling|Profiling}} branch.}} | |||
Triggers [[diag_captureSlowFrame]] with <sqf inline>["total", 0.03]</sqf> arguments. | |||
=== FREEZE === | === FREEZE === | ||
{{Feature| | {{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| | {{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. | ||
Latest revision as of 02:37, 22 November 2024
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. Capitalisation 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:
Example Export Procedure
- 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
- Select desired map
- Open Eden Editor with the map you want to export
- Enter required cheat
- Press and hold ⇧ Shift
- Tap NUM - on the while still holding ⇧ 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
- 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
- Go to c:
- Finish exporting
- Close the game for it to release the file
- Copy the 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)
- 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
- Done!
- If everything went ok, you would have <worldname>.png file created next to <woldname>.emf file
EXPORTNOGRID
Does what the TOPOGRAPHY cheat does, but generates a grid-less map in EMF format XXNAMEXX_nogrid.emf. See the following for more on map topography export KK's How to Export Topography
GETALLGEAR
Entering this cheat will execute statement defined by onCheat property in description.ext. For example:
// description.ext
onCheat = "hint str _this";
The _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
In Arma 3, up until 2.18 this had no effect.
SUPERFLUSH
Flush all video memory and as much system memory as possible. Empties all caches. Tries to free as much memory as possible.
ENDLOAD
Forcefully ends a scripted loading screen.
ENTITIES
Triggers logEntities.
REMAINS
Logs remains collector entities into a file in the RPT directory. See also diag_remainsCollector -1 and #logremains server command.
FRAME
Triggers diag_captureFrame.
SFRAME
Triggers diag_captureSlowFrame with ["total", 0.03] arguments.
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. 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)