Panzer Corps 2 – Console Commands
Press 1 to enter a cheat code. Here is a list of supported codes.
setany round X
Sets current turn
setany weather
Sets current weather. Possible values of are (case sensitive):
Clear, Cloudy, Rain, Snow
setany ground_state
Sets current ground state. Possible values of are (case sensitive):
Dry, Muddy, Snowy, Frozen
setany shroud 1
setany shroud 0
Turns shroud ON/OFF
setany iseeyou 1
Disables fog of war for the current player. Other players continue to play with fog of war present.
setany always_retreat 1
Activates “always retreat” mode. Defender will retreat after every combat.
setany prestige X
Sets prestige of the current player
setany max_core_slots X
Sets core slots of the current player (UI does not update instantly)
setany max_aux_slots X
Sets aux slots of the current player (UI does not update instantly)
runany AddTransport X
Adds X transports of type to current player’s transport pool. is unit ID from Content/Data/Units.csv.
setany strength X
Sets strength of the selected unit. Works on enemies too.
setany max_strength X
Sets max strength of the selected unit. Works on enemies too.
setany suppression X
Sets suppression of the selected unit. Works on enemies too.
setany attacks X
Sets the number of attack actions of the selected unit. Works on enemies too. The game normally uses values 0 and 1.
setany moves X
Sets the number of move actions of the selected unit. Works on enemies too. The game normally uses values 0 and 1. Adding more than 1 move action does not automatically increase move points.
setany move_points X
Sets the number of move points of the selected unit. Works on enemies too.
setany ammo X
Sets ammo of the selected unit. Works on enemies too.
setany ammo_cap X
Sets max ammo of the selected unit. Works on enemies too.
setany fuel X
Sets fuel of the selected unit. Works on enemies too.
setany fuel_cap X
Sets max fuel of the selected unit. Works on enemies too.
setany entrenchment X
Sets entrenchment of the selected unit. Works on enemies too.
setany experience X
Sets experience of the selected unit. Works on enemies too.
setany randomness X
Sets randomness level (in percent) from 0 to 100. When randomness is 100%, only real combat results are used. When randomness is 0%, only predicted combat results are used. For all other intermediate values, combat results are calculated as:
(randomness*real + (100 – randomness)*predicted) / 100
runany Victory 0
Instantly triggers victory in the current scenario and proceeds to the next campaign scenario.