Duke4.net Forums: HowTo: Open the console - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

HowTo: Open the console  "Instructions"

User is offline   Pat Glynn 

#1

Hey guys, here's a way to open the console. I originally posted this here but i thought i'd share here

Quote

Hey guys, I just thought i'd let you know something i figured out.

How to open the console:

  • Find your user.ini file, this will be located in your steam account folder or appdata ( it'd be great for someone to clear this up, as i'm relying on the demo )
  • Open it up in notepad and find the line of text saying B= or whatever key you wish to bind console to. to the right of the equals sign type in ShowLog
    (example)
    B=ShowLog

    if you change your controls in game this will be cleared
  • Launch the game and once started press alt+enter to put the game in a window.
  • Load up any level (without changing controls in options) and press the B or whatever key you set to ShowLog. ( you must be out of the main menu )
  • A window will now popup, this is the log which doubles as a developer console


What can you do with the console? Heres one thing i've been playing with:

Type
editactor class=DukePlayer
this will bring up a editor window with all variables for the player, which you can change such as movement speed, god mode, and other various things.

Within the None tree on the window you'll see a variable called LookActor which will be set at whatever your looking at. So if you were looking at a enemy this field would be set to the enemies class followed by the level name . actor name You can then take that name like this:
class'stripper'level0.stripper___0
taking the name of the actor you can then go to console and type in
editactor name=stripper___0


its important to note if you leave any of these windows except for the log when the level switches the game will crash

of course this only works on PC, but i'm interested to hear if anyone finds anything. Its kind of upsetting the took out the cheats so maybe this will make up for it.

Theres more commands here: http://unreal.epicga...m/UTConsole.htm but not all of them work, you can see more on the editactor command though

For most unreal engine games if you launch them with -showlog the log will show with the launch of the game, and this works for the demo but i heard it doesnt on the final game.

[editline]27th June 2011[/editline]



Also i should mention that changing some of the variables will cause a crash too (immediately, or not ) so don't be surprised if/when this happens.

0

User is offline   MusicallyInspired 

  • The Sarien Encounter

#2

The full console won't open in the full version. It was disabled. You can, however, enable the SOS console which is command line only without the ability to view command history or lists.
0

User is offline   Pat Glynn 

#3

View PostMusicallyInspired, on 27 June 2011 - 02:01 PM, said:

The full console won't open in the full version. It was disabled. You can, however, enable the SOS console which is command line only without the ability to view command history or lists.

I dont know what the SOS console is, But like i mentioned you can bring up the log similar to the demo by binding a key to ShowLog and pressing it in game.
1

User is offline   MusicallyInspired 

  • The Sarien Encounter

#4

The dev log is not the game console. They're two completely different things that can operate only a few of the same commands.
0

User is offline   Pat Glynn 

#5

View PostMusicallyInspired, on 28 June 2011 - 08:55 AM, said:

The dev log is not the game console. They're two completely different things that can operate only a few of the same commands.

Ah okay, So just to check do people know about the command
editactor class=DukePlayer
?
You need to windowed to see the window that pops up from it.
0

User is offline   MusicallyInspired 

  • The Sarien Encounter

#6

No, what does it do?
0

#7

View PostMusicallyInspired, on 28 June 2011 - 02:51 PM, said:

No, what does it do?


From the first post:

Quote

Type editactor class=DukePlayer; this will bring up a editor window with all variables for the player, which you can change such as movement speed, god mode, and other various things.



Good info. You should put it on the Duke Nukem wikia cheats page.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options