If you want to help us maintaining this wiki, check out our discord server: https://discord.gg/3u69jMa 

Difference between revisions of "Console"

From SWRC Wiki
Jump to navigation Jump to search
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The Console in Republic Commando can be brought up by pressing ~ (US Keyboard) or ^ (EU Layout) on your keyboard. If you still can't open it ingame, go to your profile folder and open User.ini in notepad. Select a key for the console to assign and add the "toggleconsole" command. Also remove semicolon otherwise game will ignore the key.
The Console in Republic Commando can be brought up by pressing ~ (US Keyboard) or ^ (EU Layout) on your keyboard. If you still can't open it ingame, go to your profile folder and open User.ini in notepad. Select a key for the console to assign and add the "consoletoggle" command. Also remove semicolon otherwise game will ignore the key.


Example:
Example:
Line 5: Line 5:
In ..\GameData\Save\Profile_XXX\User.ini
In ..\GameData\Save\Profile_XXX\User.ini


F1 = toggleconsole
F1 = consoletoggle
</pre>
</pre>


Note: Console can only be opened while being ingame, not in the menu!
Note: Console can only be opened while being ingame, not in the menu!
Also, ??? indicates effects are unknown or need to be more looked at.


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


Line 73: Line 75:
Found in Core.dll
Found in Core.dll
<pre>
<pre>
getsystemlanguage                      //Todo!: Add explaining to all commands! ...And maybe sort alphabetic.
confighash                  -Writes the amount of items in all config hash slots to the log file
endfullscreen
decwatermark                -???
togglefullscreen
dumpallocprofile            -???
toggleime
dumpallocsbysize            -Writes a list of all memory allocations sorted by their size to the log file
getcurrentres
dumpfreelist                -???
dumpresourcehash
dumpnatives                  -Displays all available indices for native functions
gtime
dumpobjectprofile            -???
dumpnatives
dumpresourcehash             -Writes the number of resources contained in each resource hash bin to the log file
dumpfreelist
endfullscreen                -Exits full screen. Sets value to 0
startobjectprofile
getcurrentres                -Gets current resolution.
dumpobjectprofile
getsystemlanguage            -Gets language of game.
resetallocprofile
gtime                        -???
dumpallocprofile
incwatermark                -???
namecount
meminfo                      -Gets memory usage information.
watermark
memstat                      -Displays memory statistics.
decwatermark
namecount                   -Returns number of registered names.
incwatermark
resetallocprofile            -???
dumpallocsbysize
startobjectprofile          -???
meminfo
togglefullscreen            -Toggles between fullscreen and windowed.
memstat
toggleime                    -???
confighash
watermark                    -???
</pre>
</pre>


Line 99: Line 101:
Found in Engine.dll
Found in Engine.dll
<pre>
<pre>
checksoundplaying                       //Todo!: Add explaining to all commands! ...And maybe sort alphabetic.
aimhelp                    -???
showstreamed
axis                       -???
showambient
bloom                      -???
showvoice
bloomfilter                -???
showduck
bloomquality              -???
showsounds
blur                      -???
showqmem
bump                      -???
showchannels
button                    -???
showsfx
checkpad                  -???
showenv
checksoundplaying          -???
showastat
cinematics                -???
stopsounds
cinematicsratio            -???
unpausesounds
count                      -???
pausesounds
debugregionmatrix          -???
exec
dumpdynenvlight           -???
togglerefrast
dumpmem                    -???
cinematicsratio
dumptime                  -???
cinematics
endgame                    -???
dumpdynenvlight
endlevel                  -???
lightenvflag
exec                      -Executes console commands from a specified txt file
shadowlength
flush                      -Flushes engine cache
shadowsperframe
framefx                    -Toggles fx like bloom or blur
shadows
gamelog                    -Opens log window
hwcull
getcurrenttickrate        -Gets the current tickrate of the game
lightopt
getmaxtickrate            -Gets the maximum tickrate of the game
bloomfilter
getping                    -Returns always 0
bloom
graph                      -???
bloomquality
hwcull                    -???
blur
inject                     -???
nohud
isfullscreen               -Toggle fullscreenmode
framefx
lanspeed                  -Sets your LAN speed
bump
lightenvflag              -???
shot
lightopt                  -???
report
listanims                  -Writes all animations linked with specified skeletal mesh to the log file
showall
netspeed                  -Set your internet speed
lanspeed
nohud                      -Hides HUD
netspeed
pausesounds                -Pauses music and ambient sounds
inject
pulse                      -???
getping
reload                    -???
isfullscreen
report                    -Writes a game report in MS Excel format and puts it in Save/Out folder out.
checkpad
shadowlength              -???
tvsafezone
shadows                    -???
stat
shadowsperframe            -???
flush
shot                      -Takes a screenshot
endgame
showall                    -Makes all actors visible regardless if bHidden is true
endlevel
showambient                -???
dumptime
showastat                  -???
dumpmem
showchannels              -Shows all sound channels and which sound they're currently playing
sound_reboot
showduck                  -???
gamelog
showenv                    -???
debugregionmatrix
showextentlinecheck        -Shows the player's bounding box while moving
showpointcheck
showlinecheck              -???
showlinecheck
showpointcheck            -???
showextentlinecheck
showqmem                  -???
reload
showsfx                    -???
sockets
showsounds                -???
dumptime
showstreamed              -???
dumpmem
showvoice                  -Displays the name of the voice sound that is currently playing using a different text color and position for each character
sound_reboot
sockets                    -Shows every connected actor
getmaxtickrate
sound_reboot              -Reboots sound engine
getcurrenttickrate
stat                      -See STAT
count
stopsounds                -Stops every sound of the game
axis
toggle                    -???
toggle
togglerefrast              -???
pulse
tvsafezone                -Draws a red square across screen borders
button
unpausesounds             -Resume music and ambient sounds
debugregionmatrix
showpointcheck
showlinecheck
showextentlinecheck
listanims
aimhelp
graph
SHOWEXTENTLINECHECK  – Draw debug lines for non-zero extent line checks and debug boxes at end of checks.
SHOWLINECHECK        – Draw debug lines for zero extent line checks.
SHOWPOINTCHECK        – Draw boxes at extent of point checks.
CRACKURL             - breaks down passed URL and parameters to the engine for the map/game and displays all parameters
</pre>
</pre>


Line 181: Line 172:
Found in GameSpyMgr.dll
Found in GameSpyMgr.dll
<pre>
<pre>
GAMESPY GET_CDKEY_RESULT                      //Todo!: Add explaining to all commands! ...And maybe sort alphabetic.
GAMESPY BEGIN_INTERNET_QUERY            -Start querying for internet servers
GAMESPY CHECK_CDKEY
GAMESPY BEGIN_LAN_QUERY                -Start querying for LAN servers
GAMESPY SET_QUERY_FILTER_STRING
GAMESPY CANCEL_QUERY                    -Stop any running query
GAMESPY GET_EXT_SERVER_QUERY_RESULTS
GAMESPY CHECK_CDKEY                    -Check a CD Key Hash Code of a connected player (Server only)
GAMESPY GET_EXT_PLAYER_QUERY_RESULTS
GAMESPY CLEAR_QUERY_RESULTS            -Clear any queried servers
GAMESPY CANCEL_QUERY
GAMESPY GET_CDKEY_RESULT                -Get the result of the CD Key check wether it's validated or not
GAMESPY CLEAR_QUERY_RESULTS
GAMESPY GET_EXT_PLAYER_QUERY_RESULTS    -???
GAMESPY SORT_QUERY_RESULTS
GAMESPY GET_EXT_SERVER_QUERY_RESULTS    -???
GAMESPY GET_QUERY_RESULTS
GAMESPY GET_QUERY_COUNT                -???
GAMESPY GET_QUERY_COUNT
GAMESPY GET_QUERY_RESULTS              -Get the query results
GAMESPY GET_QUERY_STATUS
GAMESPY GET_QUERY_STATUS               -Status of query: in progress, done, timed out...
GAMESPY BEGIN_LAN_QUERY
GAMESPY SET_QUERY_FILTER_STRING        -Add a string to filter
GAMESPY BEGIN_INTERNET_QUERY
GAMESPY SORT_QUERY_RESULTS              -Sort results for browser
</pre>
</pre>

Revision as of 01:51, 19 January 2018

The Console in Republic Commando can be brought up by pressing ~ (US Keyboard) or ^ (EU Layout) on your keyboard. If you still can't open it ingame, go to your profile folder and open User.ini in notepad. Select a key for the console to assign and add the "consoletoggle" command. Also remove semicolon otherwise game will ignore the key.

Example:

In ..\GameData\Save\Profile_XXX\User.ini

F1 = consoletoggle

Note: Console can only be opened while being ingame, not in the menu!

Also, ??? indicates effects are unknown or need to be more looked at.

Cheats Commands

Found in CheatManager.uc

AllWeapons                      -Drops every weapon in game. Campaign Only
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 AI of same faction.
CauseEvent                      -Allows you to trigger a campaign related event.
ChangeSize                      -Allows you to change player or pawn scale.
CheatView                       -Allows player to view specified 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 nades.
Fly                             -Fly like a bird, Campaign Only
FreeCamera                      -Seperates camera from player 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 and pawns.
HOG                             -Kills anything that the crosshair is pointing at.
Invisible                       -Makes your pawn disappear.
KillAll                         -Kills everything on map, including meshes and actors.
KillPawns                       -Kills every pawn on map.
KillViewedActor                 -Kills destructible objects on screen.
Lamasu                          -Unlocks all levels.
ListDynamicActors               -Lists actors that are unique 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                   -Allows you to set the camera distance from a target.
SetCoords                       -Allows you to set coordinates of player.
SetFlash                        -Allows you to 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 set jump scale.
SetMesh                         -Allows modification of current mesh.
SetSpeed                        -Allows modification of player ground speed.
SloMo                           -Changes gamespeed.
SmiteEvil                       -Kills all enemies. Campaign Only.
StopAnim                        -Stops animation that is being played.
Summon                          -Allows you to spawn a pawn, requires specific package name of pawn.
Teleport                        -Allows teleportation of player pawn.
TheMatulaakLives                -God Mode
Trig                            -Allows you to trigger a campaign related event.
ViewActor                       -Allows player to view a specified actor in game.
ViewBot                         -Allows player to view bots currently in game.
ViewClass                       -Allows player to view specified class.
ViewPlayer                      -Allows you to view a player.
ViewSelf                        -Allows you to return to your pawn.
Walk                            -Changes your groundspeed to a walking pace.
WriteToLog                      -Writes information in-game to log. Useful for debugging issues.

Core Commands

Found in 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                    -???

Engine Commands

Found in Engine.dll

aimhelp                    -???
axis                       -???
bloom                      -???
bloomfilter                -???
bloomquality               -???
blur                       -???
bump                       -???
button                     -???
checkpad                   -???
checksoundplaying          -???
cinematics                 -???
cinematicsratio            -???
count                      -???
debugregionmatrix          -???
dumpdynenvlight            -???
dumpmem                    -???
dumptime                   -???
endgame                    -???
endlevel                   -???
exec                       -Executes console commands from a specified txt file
flush                      -Flushes engine cache
framefx                    -Toggles fx like bloom or blur
gamelog                    -Opens log window
getcurrenttickrate         -Gets the current tickrate of the game
getmaxtickrate             -Gets the maximum tickrate of the game
getping                    -Returns always 0
graph                      -???
hwcull                     -???
inject                     -???
isfullscreen               -Toggle fullscreenmode
lanspeed                   -Sets your LAN speed
lightenvflag               -???
lightopt                   -???
listanims                  -Writes all animations linked with specified skeletal mesh to the log file
netspeed                   -Set your internet speed
nohud                      -Hides HUD
pausesounds                -Pauses music and ambient sounds
pulse                      -???
reload                     -???
report                     -Writes a game report in MS Excel format and puts it in Save/Out folder out.
shadowlength               -???
shadows                    -???
shadowsperframe            -???
shot                       -Takes a screenshot
showall                    -Makes all actors visible regardless if bHidden is true
showambient                -???
showastat                  -???
showchannels               -Shows all sound channels and which sound they're currently playing
showduck                   -???
showenv                    -???
showextentlinecheck        -Shows the player's bounding box while moving
showlinecheck              -???
showpointcheck             -???
showqmem                   -???
showsfx                    -???
showsounds                 -???
showstreamed               -???
showvoice                  -Displays the name of the voice sound that is currently playing using a different text color and position for each character
sockets                    -Shows every connected actor
sound_reboot               -Reboots sound engine
stat                       -See STAT
stopsounds                 -Stops every sound of the game
toggle                     -???
togglerefrast              -???
tvsafezone                 -Draws a red square across screen borders
unpausesounds              -Resume music and ambient sounds

Gamespy Commands

Found in GameSpyMgr.dll

GAMESPY BEGIN_INTERNET_QUERY            -Start querying for internet servers
GAMESPY BEGIN_LAN_QUERY                 -Start querying for LAN servers
GAMESPY CANCEL_QUERY                    -Stop any running query
GAMESPY CHECK_CDKEY                     -Check a CD Key Hash Code of a connected player (Server only)
GAMESPY CLEAR_QUERY_RESULTS             -Clear any queried servers
GAMESPY GET_CDKEY_RESULT                -Get the result of the CD Key check wether it's validated or not
GAMESPY GET_EXT_PLAYER_QUERY_RESULTS    -???
GAMESPY GET_EXT_SERVER_QUERY_RESULTS    -???
GAMESPY GET_QUERY_COUNT                 -???
GAMESPY GET_QUERY_RESULTS               -Get the query results
GAMESPY GET_QUERY_STATUS                -Status of query: in progress, done, timed out...
GAMESPY SET_QUERY_FILTER_STRING         -Add a string to filter
GAMESPY SORT_QUERY_RESULTS              -Sort results for browser