#1 2022-04-20 19:50:27

GenericJohnDoe
Member

Quake difficulty via command line parameter?

Good evening, as the title says: Can someone set up the difficulty (skill 0-3) via command line parameter BEFORE the game starts? Or is this just ingame or eventually autoexec.cfg?

#2 2022-04-20 20:53:48

Gila
Member

Re: Quake difficulty via command line parameter?

Yes you can. For example:

Quakespasm.exe +skill 2

(the .exe can be engine of your choice, and skill value can be 0, 1, 2, 3 as you said).

If you're going to use it in conjunction with launching a map, make sure you have +skill command before +map command, for example:

vkQuake.exe -hipnotic +skill 3 +map hip3m4

#3 2022-04-20 20:59:45

GenericJohnDoe
Member

Re: Quake difficulty via command line parameter?

Thank you!

#4 2022-04-20 21:05:44

Spirit
Administrator

Re: Quake difficulty via command line parameter?

You can append any command with a +, just need to make sure the order makes sense.

executable -stuff -morestuff -game foo +skill 2 +map bar

Edit: too late :)

#5 2022-04-20 22:06:01

GenericJohnDoe
Member

Re: Quake difficulty via command line parameter?

Thank you both! I could know add an difficulty selection to the batch file of my pack for the next patch. :)

#6 2022-04-23 07:01:05

Gioyo3aa
Member

Re: Quake difficulty via command line parameter?

On a side note, I've been wondering whether it's possible to select Hell mode (in Tronyn's ARWOP and Something Wicked... maps) on the command line. When you select it "the normal way", the HUD displays "Skill 4", but typing skill 4 in the console does not work.

#7 2022-04-24 08:32:24

GenericJohnDoe
Member

Re: Quake difficulty via command line parameter?

I guess it is a specific property of the maps, not of the framework (quake engine...).

Board footer