Check out our discord at https://discord.gg/3u69jMa 

Cheats and Console Commands: Difference between revisions

From SWRC Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:


<pre>
<pre>
AllWeapons                      -Drops every weapon in game. Campaign Only
AllWeapons                      -Spawns every weapon.
Avatar                          -Destroys current Player Pawn, and allows you to choose another.
Avatar                          -Destroys current player pawn and allows you to choose another.
BlindAI                        -Makes AI almost non-interactable with other AI, and Environment.
BlindAI                        -Makes AI almost non-interactable with other AI and Environment.
BlindEnemies                    -All enemies will not interact with Player or AI of same faction.
BlindEnemies                    -All enemies will not interact with player or other AI.
CauseEvent                      -Allows you to trigger a campaign related event.
CauseEvent                      -Trigger a level event.
ChangeSize                      -Allows you to change player or pawn scale.
ChangeSize                      -Change player and/or pawn scale.
CheatView                      -Allows player to view specified class.
CheatView                      -View specified pawn class.
Darman                          -Loads next level.
Darman                          -Loads next level.
DeafAI                          -AI will be deaf to gunfire, movement, and explosions.
DeafAI                          -AI will be deaf to gunfire, movement and explosions.
DeafEnemies                    -Only Enemies will be deaf.
DeafEnemies                    -Only Enemies will be deaf.
EndPath                        -Does nothing
EndPath                        -Does nothing.
Fierfek                        -Reloads and restores full ammo to weapons and nades.
Fierfek                        -Reloads and restores full ammo to weapons and grenades.
Fly                            -Fly like a bird, Campaign Only
Fly                            -Fly like a bird.
FreeCamera                      -Seperates camera from player and allows you to move around map freely.
FreeCamera                      -Seperates camera from player pawn and allows you to move around map freely.
FreezeFrame                    -Freezes the game. Enter a number to delay until that frame happens.
FreezeFrame                    -Freezes the game. Enter a number to delay until that frame happens.
Ghost                          -Allows you to fly and clip through walls and pawns.
Ghost                          -Allows you to fly and clip through walls.
HOG                            -Kills anything that the crosshair is pointing at.
HOG                            -Kills anything that the crosshair is pointing at.
Invisible                      -Makes your pawn disappear.
Invisible                      -Makes your pawn invisible.
KillAll                        -Kills everything on map, including meshes and actors.
KillAll                        -Kills everything on map.
KillPawns                      -Kills every pawn on map.
KillPawns                      -Kills every pawn on map.
KillViewedActor                -Kills destructible objects on screen.
KillViewedActor                -Kills destructible objects on screen.
Lamasu                          -Unlocks all levels.
Lamasu                          -Unlocks all levels.
ListDynamicActors              -Lists actors that are unique in-game to the log file.
ListDynamicActors              -Lists actors that are dynamic in-game to the log file.
Loaded                          -Gives all weapons and ammunition.
Loaded                          -Gives all weapons and ammunition.
LockCamera                      -Locks camera into place or area.
LockCamera                      -Locks camera into place or area.
Line 42: Line 42:
LoopAnim                        -Loops the animation played.
LoopAnim                        -Loops the animation played.
PlayAnim                        -Plays animation if it isn't already.
PlayAnim                        -Plays animation if it isn't already.
PlayersOnly                    -Disables AI
PlayersOnly                    -Disables AI.
RememberSpot                    -Not well known other than it allows either pawn or AI to remember location.
RememberSpot                    -Not well known other than it allows either pawn or AI to remember location.
ReviewJumpSpots                -Tests the jumping in various conditions. Ex: Low-Gravity, Normal, etc...
ReviewJumpSpots                -Tests the jumping in various conditions. Ex: Low-Gravity, Normal, etc...
SetCameraDist                  -Allows you to set the camera distance from a target.
SetCameraDist                  -Set the camera distance from a target.
SetCoords                      -Allows you to set coordinates of player.
SetCoords                      -Set coordinates of player pawn.
SetFlash                        -Allows you to set duration of a screen flash to fade away.
SetFlash                        -Set duration of a screen flash to fade away.
SetFogB                        -Sets a Blue component of fog.
SetFogB                        -Sets a Blue component of fog.
SetFogG                        -Sets a Green component of fog.
SetFogG                        -Sets a Green component of fog.
SetFogR                        -Sets a Red component of fog.
SetFogR                        -Sets a Red component of fog.
SetGravity                      -Allows modification of gravity.
SetGravity                      -Allows modification of gravity.
SetJumpZ                        -Allows modification of current set jump scale.
SetJumpZ                        -Allows modification of current jump scale.
SetMesh                        -Allows modification of current mesh.
SetMesh                        -Allows modification of current mesh.
SetSpeed                        -Allows modification of player ground speed.
SetSpeed                        -Allows modification of player pawn ground speed.
SloMo                          -Changes gamespeed.
SloMo                          -Changes gamespeed.
SmiteEvil                      -Kills all enemies. Campaign Only.
SmiteEvil                      -Kills all enemies.
StopAnim                        -Stops animation that is being played.
StopAnim                        -Stops animation that is being played.
Summon                          -Allows you to spawn a pawn, requires specific package name of pawn.
Summon                          -spawn a specific class (note: this does not work because the spawn location is too close to player pawn resulting in collision conflict and therefore abortion. To make it work, disable player pawn collision).
Teleport                        -Allows teleportation of player pawn.
Teleport                        -Teleport the player pawn.
TheMatulaakLives                -God Mode
TheMatulaakLives                -God Mode.
Trig                            -Allows you to trigger a campaign related event.
Trig                            -Trigger a level event.
ViewActor                      -Allows player to view a specified actor in game.
ViewActor                      -View a specific actor.
ViewBot                        -Allows player to view bots currently in game.
ViewBot                        -View an AI bot.
ViewClass                      -Allows player to view specified class.
ViewClass                      -View a specific class.
ViewPlayer                      -Allows you to view a player.
ViewPlayer                      -View another player.
ViewSelf                        -Allows you to return to your pawn.
ViewSelf                        -View yourself.
Walk                            -Changes your groundspeed to a walking pace.
Walk                            -Return to normal state from fly/ghost and reset pawn ground speed.
WriteToLog                      -Writes information in-game to log. Useful for debugging issues.
WriteToLog                      -Writes information in-game to log. Useful for debugging issues.
</pre>
</pre>

Revision as of 17:53, 17 May 2024

The game console can be opened ingame (not inside main menu) by pressing ~ key (american keyboard) or ^ key (european keyboard).

If none of the keys work there is a workarround:

  • Create a shortcut of SWRepublicCommando.exe, right click on shortcut and open properties. At the end of the target field after ", add following commands: -log -windowed
  • The field should look something like that (absolute paths may be different): "C:\Program Files (x86)\Steam\steamapps\common\Star Wars Republic Commando\GameData\System\SWRepublicCommando.exe" -log -windowed
  • If you are using Steam, you can enter the commands via steam application. Right click on game in library, properties, add launch parameter.
  • When game boots up, it will run in window mode and a second window will open outputting game information. Inside that window, you can enter console commands.
  • To bind the console to a new key, type in that window: set input x consoletoggle - This will bind the console to the X key. Any other key will work just fine as well.

Cheats

Found in CheatManager.uc

AllWeapons                      -Spawns every weapon.
Avatar                          -Destroys current player pawn and allows you to choose another.
BlindAI                         -Makes AI almost non-interactable with other AI and Environment.
BlindEnemies                    -All enemies will not interact with player or other AI.
CauseEvent                      -Trigger a level event.
ChangeSize                      -Change player and/or pawn scale.
CheatView                       -View specified pawn class.
Darman                          -Loads next level.
DeafAI                          -AI will be deaf to gunfire, movement and explosions.
DeafEnemies                     -Only Enemies will be deaf.
EndPath                         -Does nothing.
Fierfek                         -Reloads and restores full ammo to weapons and grenades.
Fly                             -Fly like a bird.
FreeCamera                      -Seperates camera from player pawn and allows you to move around map freely.
FreezeFrame                     -Freezes the game. Enter a number to delay until that frame happens.
Ghost                           -Allows you to fly and clip through walls.
HOG                             -Kills anything that the crosshair is pointing at.
Invisible                       -Makes your pawn invisible.
KillAll                         -Kills everything on map.
KillPawns                       -Kills every pawn on map.
KillViewedActor                 -Kills destructible objects on screen.
Lamasu                          -Unlocks all levels.
ListDynamicActors               -Lists actors that are dynamic in-game to the log file.
Loaded                          -Gives all weapons and ammunition.
LockCamera                      -Locks camera into place or area.
LogScriptedSequences            -Places sequence into a log file.
LoopAnim                        -Loops the animation played.
PlayAnim                        -Plays animation if it isn't already.
PlayersOnly                     -Disables AI.
RememberSpot                    -Not well known other than it allows either pawn or AI to remember location.
ReviewJumpSpots                 -Tests the jumping in various conditions. Ex: Low-Gravity, Normal, etc...
SetCameraDist                   -Set the camera distance from a target.
SetCoords                       -Set coordinates of player pawn.
SetFlash                        -Set duration of a screen flash to fade away.
SetFogB                         -Sets a Blue component of fog.
SetFogG                         -Sets a Green component of fog.
SetFogR                         -Sets a Red component of fog.
SetGravity                      -Allows modification of gravity.
SetJumpZ                        -Allows modification of current jump scale.
SetMesh                         -Allows modification of current mesh.
SetSpeed                        -Allows modification of player pawn ground speed.
SloMo                           -Changes gamespeed.
SmiteEvil                       -Kills all enemies.
StopAnim                        -Stops animation that is being played.
Summon                          -spawn a specific class (note: this does not work because the spawn location is too close to player pawn resulting in collision conflict and therefore abortion. To make it work, disable player pawn collision).
Teleport                        -Teleport the player pawn.
TheMatulaakLives                -God Mode.
Trig                            -Trigger a level event.
ViewActor                       -View a specific actor.
ViewBot                         -View an AI bot.
ViewClass                       -View a specific class.
ViewPlayer                      -View another player.
ViewSelf                        -View yourself.
Walk                            -Return to normal state from fly/ghost and reset pawn ground speed.
WriteToLog                      -Writes information in-game to log. Useful for debugging issues.

Other Commands

todo :mreow: