[Guide] How to enable and use the developer console.

User avatar
Reinhard
Posts: 4709
Joined: 20 Dec 2012 16:46
Location: Berlin, Germany

Re: [Guide] How to enable and use the developer console.

#311 Post by Reinhard » 22 Jan 2021 10:35

Only way I know is to edit ".history.sii", in the home folder.

But be careful, there is a total line number count in line 4, and line numbers all the way down. All this must be kept consistent. It can help to use the wrong console command again, to have it in the lowest position, in the file.

Better make a backup of that file, first. And of course do your etits while the game isn't running.

EDIT: In your case, it is enough to fix the faulty line, instead of deleting anything.
Scania_V8super
Posts: 2
Joined: 20 Jan 2021 18:58

Re: [Guide] How to enable and use the developer console.

#312 Post by Scania_V8super » 15 Feb 2021 04:36

how do i control the free cam without a num pad, I dont have one.
User avatar
Reinhard
Posts: 4709
Joined: 20 Dec 2012 16:46
Location: Berlin, Germany

Re: [Guide] How to enable and use the developer console.

#313 Post by Reinhard » 15 Feb 2021 08:14

The controls.sii file of my profile has these lines:

Code: Select all

 config_lines[164]: "mix dbgfwd `keyboard.num8?0`"
 config_lines[165]: "mix dbgback `keyboard.num5?0`"
 config_lines[166]: "mix dbgleft `keyboard.num4?0`"
 config_lines[167]: "mix dbgright `keyboard.num6?0`"
 config_lines[168]: "mix dbgup `keyboard.num9?0`"
 config_lines[169]: "mix dbgdown `keyboard.num3?0`"
That reflects the key numbers used for the free cam on the keypad:

Code: Select all

8,9
4,5,6
2,3
I have never changed keybindings in that file. But you have of course to find combinations that don't interfere with keybindings that are defined in the game options. Good luck. And make a backup of that file, first.

(EDIT: fixed a nasty typo)
Last edited by Reinhard on 15 Feb 2021 08:46, edited 1 time in total.
User avatar
plykkegaard
Posts: 7204
Joined: 26 Oct 2014 13:42

Re: [Guide] How to enable and use the developer console.

#314 Post by plykkegaard » 15 Feb 2021 08:37

Speaking of the developer console :)
Is it possible to increase font size for easier reading?
As you increase the screen resolution the console is scaled down as the size is fixed with number of pixels not relative with the screen

This signature virus has been spliced with the Fundementalism-B virus to create a new more contagious strain. Please look for it infecting a signature near you.
a3kp
Posts: 45
Joined: 28 Jan 2016 19:57

Re: [Guide] How to enable and use the developer console.

#315 Post by a3kp » 16 Feb 2021 14:37

In version 1.40 beta it says "debug camera not present"? (in red color.)
This is when i type a goto luxembourg or any other name
Is this a beta item?
User avatar
NemesysTrans
Posts: 683
Joined: 30 Dec 2019 20:01

Re: [Guide] How to enable and use the developer console.

#316 Post by NemesysTrans » 30 Apr 2021 16:02

I have the developer console displayed in the top left corner with the fps and other information. How do I bring up the console to type new commands?
User avatar
Reinhard
Posts: 4709
Joined: 20 Dec 2012 16:46
Location: Berlin, Germany

Re: [Guide] How to enable and use the developer console.

#317 Post by Reinhard » 30 Apr 2021 16:10

What you see is the "minicon". The console is usually called by hitting the key below the escape key.
User avatar
NemesysTrans
Posts: 683
Joined: 30 Dec 2019 20:01

Re: [Guide] How to enable and use the developer console.

#318 Post by NemesysTrans » 30 Apr 2021 17:39

The key on my keyboard below the Escape key is the tilde (~). I use Shift-~ to display the console. But I want to be able to enter a command in the console. Right now, it just displays the frame rate and other information like warnings and errors. I once accidentally brought up the console to issue commands but I don't remember what I did.

I guess after doing some reading that what I see it he mini console. Because it just displays stuff.

I got it. I had to set g_console to 1 in the config file. Now, shift-~ displays or hides the mini console and when the mini console is displayed, tilde (~) open the console.
User avatar
Reinhard
Posts: 4709
Joined: 20 Dec 2012 16:46
Location: Berlin, Germany

Re: [Guide] How to enable and use the developer console.

#319 Post by Reinhard » 30 Apr 2021 17:54

Again, the thing with "FPS" and other shiny info isn't called "the console", it is the "minicon", usually activated by

Code: Select all

uset g_minicon "1"
I didn't knew this could be enabled with a key, also, and it doesn't work for me using "shift".

No idea why your console don't show up. I use a German keyboard and never had such problems. There is a thread somewhere discussing such problems, but I have to leave now, wife is calling, I'm done for today. :lol:
User avatar
dsf.fernando
Posts: 587
Joined: 15 May 2017 09:16
Location: Leiria, Portugal
Contact:

Re: [Guide] How to enable and use the developer console.

#320 Post by dsf.fernando » 21 Jun 2021 02:02

F9 now is reserved for chat messages in Convoy. How do i spawn the truck at a certain location in the 1.41 demo without recurring to the command line?
Proud student of Games and Multimedia in the Polytechnic of Leiria - the Portuguese capital of game development
(and still hopeful the city will feature in the game with a garage someday)
Post Reply

Return to “Frequently Asked Questions”

Who is online

Users browsing this forum: No registered users and 4 guests