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

User avatar
Grimples
Posts: 934
Joined: 20 Dec 2014 17:33
Location: in a tea cup

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

#191 Post by Grimples » 13 May 2017 09:10

You can set warp but only if you use -force_mods.

You need autoexec.cfg from base.scs.

Code: Select all

exec /home/config.cfg
warp 0.8

If you dont have base.scs extracted just create an autoexec.cfg, copy the above into it & put in any mod you have.
WARNING: Using -force_mods will disable the Mod Manager & mods will be loaded in a alpha-numerical order.

(edit)
you need to press enter after warp 0.8 so there is an empty line after it, dont ask why as i have no idea.
User avatar
Cadde
Posts: 6800
Joined: 24 Apr 2013 18:08
Location: Have no fear, i am from the internets!

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

#192 Post by Cadde » 07 Jun 2017 21:42

Grimples wrote: 13 May 2017 09:10...
you need to press enter after warp 0.8 so there is an empty line after it, dont ask why as i have no idea.
Some kind of code:

Code: Select all

string fileContents = File.ReadAllText("autoexec.cfg");
string lineContents = "";
for (int i = 0; i < fileContents.Length; i++) {
    if (fileContents[i] != "\n" || fileContents[i] != "\r")
        lineContents += fileContents[i];
    if (fileContents[i] == "\n") {
        ExecuteCommand(lineContents);
        lineContents = "";
    }
}
Now, if you think about it some... You might have figured out what the problem is.
Hint: If you base the condition for executing a command on a linefeed ("\n") character, then there has to be one at the end of the file as well or it won't execute.
I assume SCS did something silly like that in this case.
On extended hiatus.
JenniferBeautyGaming
Posts: 3
Joined: 29 Aug 2017 07:39

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

#193 Post by JenniferBeautyGaming » 29 Aug 2017 07:43

And how is this going on macbook?
User avatar
Cadde
Posts: 6800
Joined: 24 Apr 2013 18:08
Location: Have no fear, i am from the internets!

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

#194 Post by Cadde » 29 Aug 2017 08:41

JenniferBeautyGaming wrote: 29 Aug 2017 07:43 And how is this going on macbook?
Same same, different paths and possibly a different key that's all.
On extended hiatus.
User avatar
Reef
Posts: 3903
Joined: 27 Dec 2012 23:16
Location: Everywhere and nowhere baby

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

#195 Post by Reef » 29 Aug 2017 09:41

WarthogCC wrote: 13 May 2017 08:58 Is there a way to code the warp speed into the profile settings so that my game runs at my preferred speed all the time? (Without having to go into the console and type warp 0.8 on every game load).
Hmm what the heck? I'm almost positive at one point this was introduced, I remember stumbling across it by accident that it stayed as what I'd set it (whereas it didn't before), so I thought I'd just test this again now today by setting warp 0.2 so I could instantly tell the difference then exited and reloaded and indeed the warp had defaulted again..

I'm convinced it stayed set at one point and it wasn't long after Scan DLC iirc, so was that a freaky glitch or has it indeed been added and now taken away again, I'm confused?

Oh and Max, either way, can you please 'profile config' this param? Having to keep it set using -force_mods is a horrible workaround and one I'll never use, and it does offer a more relaxed game play (and smoother steering believe it or not) so I'm sure many of us would appreciate it being a consistent option.
JenniferBeautyGaming
Posts: 3
Joined: 29 Aug 2017 07:39

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

#196 Post by JenniferBeautyGaming » 02 Sep 2017 13:36

@ Cadde


And what path?

even when i use: SHIFT + CMD + > to locate all hidden files, it doesnt show a config file
User avatar
Cadde
Posts: 6800
Joined: 24 Apr 2013 18:08
Location: Have no fear, i am from the internets!

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

#197 Post by Cadde » 02 Sep 2017 17:29

Jen, sorry i don't know. I am not a Mac user.
On extended hiatus.
User avatar
Axel Slingerland
Posts: 6470
Joined: 22 Oct 2013 07:55
Location: The Lost Coast

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

#198 Post by Axel Slingerland » 02 Sep 2017 18:50

JenniferBeautyGaming wrote: 02 Sep 2017 13:36 even when i use: SHIFT + CMD + > to locate all hidden files, it doesnt show a config file
I read somewhere that on OS X that the path to one of the two config.cfg is ~/Library/Application Support/Euro Truck Simulator 2/config.cfg. I copied that not knowing whether it was accurate or not, and you're the first person that asked about it... So you're the lucky person who gets to check it out. (Oh, Joy!) So could you please let me know if it does? Thanks!
[ external image ]

Boycott YouTube for Blocking Ad Blockers
User avatar
ohaha
Posts: 11345
Joined: 07 Dec 2012 06:31
Location: Watchin' y'all
Contact:

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

#199 Post by ohaha » 03 Sep 2017 13:01

the config file is next to the mod folder, in windows version... maybe it's in the same place for Mac?
Retired, but still loving it.
JenniferBeautyGaming
Posts: 3
Joined: 29 Aug 2017 07:39

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

#200 Post by JenniferBeautyGaming » 03 Sep 2017 16:53

@ Axel Slingerland

Yes, there it is, Thanks!
Last edited by ohaha on 03 Sep 2017 19:39, edited 1 time in total.
Post Reply

Return to “Frequently Asked Questions”

Who is online

Users browsing this forum: No registered users and 3 guests