Check out our discord at https://discord.gg/3u69jMa
Cheats and Console Commands: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 72: | Line 72: | ||
== Other Commands == | == Other Commands == | ||
= Core.dll = | === Core.dll === | ||
<pre> | <pre> | ||
confighash -Writes the amount of items in all config hash slots to the log file | confighash -Writes the amount of items in all config hash slots to the log file | ||
decwatermark | decwatermark | ||
dumpallocprofile | dumpallocprofile | ||
dumpallocsbysize -Writes a list of all memory allocations sorted by their size to the log file | dumpallocsbysize -Writes a list of all memory allocations sorted by their size to the log file | ||
dumpfreelist | dumpfreelist | ||
dumpnatives -Displays all available indices for native functions | dumpnatives -Displays all available indices for native functions | ||
dumpobjectprofile | dumpobjectprofile | ||
dumpresourcehash -Writes the number of resources contained in each resource hash bin to the log file | dumpresourcehash -Writes the number of resources contained in each resource hash bin to the log file | ||
endfullscreen -Exits full screen. Sets value to 0 | endfullscreen -Exits full screen. Sets value to 0 | ||
getcurrentres -Gets current resolution. | getcurrentres -Gets current resolution. | ||
getsystemlanguage -Gets language of game. | getsystemlanguage -Gets language of game. | ||
gtime | gtime | ||
incwatermark | incwatermark | ||
meminfo -Gets memory usage information. | meminfo -Gets memory usage information. | ||
memstat -Displays memory statistics. | memstat -Displays memory statistics. | ||
namecount -Returns number of registered names. | namecount -Returns number of registered names. | ||
resetallocprofile | resetallocprofile | ||
startobjectprofile | startobjectprofile | ||
togglefullscreen -Toggles between fullscreen and windowed. | togglefullscreen -Toggles between fullscreen and windowed. | ||
toggleime | toggleime | ||
watermark | watermark | ||
</pre> | </pre> |
Revision as of 01:44, 18 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 theX
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
Core.dll
confighash -Writes the amount of items in all config hash slots to the log file decwatermark dumpallocprofile dumpallocsbysize -Writes a list of all memory allocations sorted by their size to the log file dumpfreelist dumpnatives -Displays all available indices for native functions dumpobjectprofile dumpresourcehash -Writes the number of resources contained in each resource hash bin to the log file endfullscreen -Exits full screen. Sets value to 0 getcurrentres -Gets current resolution. getsystemlanguage -Gets language of game. gtime incwatermark meminfo -Gets memory usage information. memstat -Displays memory statistics. namecount -Returns number of registered names. resetallocprofile startobjectprofile togglefullscreen -Toggles between fullscreen and windowed. toggleime watermark