Changing campaign variables for single scen play

Order of Battle is a series of operational WW2 games starting with the Pacific War and then on to Europe!

Moderators: The Artistocrats, Order of Battle Moderators

Post Reply
GabeKnight
Lieutenant-General - Karl-Gerat 040
Lieutenant-General - Karl-Gerat 040
Posts: 3700
Joined: Mon Nov 27, 2017 10:24 pm

Changing campaign variables for single scen play

Post by GabeKnight »

I've been trying to start a scen with a predefined campaign variable setting - out of the campaign. I've found a way using console commands from this thread.

Pity, I didn't figure out a way to do the same with the single scen mode. I've tried using the command during the scen and then restart, but sadly that won't work :cry:
You'll have to start a new campaign (or a savegame) and use #igotnukes to advance to the campaign screen previous to the scen you want to play. :roll:

Basically you have to input the console command "#variable <CV-name> <value>" during one of the prior scens or in the campaign screen before the mission you want to play. You'll get the CV names with the campaign editor.

For example, I wanted to have Tobruk captured during Operation Crusader in Sandstorm:

Screenshot 895.jpg
Screenshot 895.jpg (205.75 KiB) Viewed 970 times


Screenshot 898.jpg
Screenshot 898.jpg (623.04 KiB) Viewed 968 times


Screenshot 899.jpg
Screenshot 899.jpg (808.01 KiB) Viewed 968 times
GabeKnight
Lieutenant-General - Karl-Gerat 040
Lieutenant-General - Karl-Gerat 040
Posts: 3700
Joined: Mon Nov 27, 2017 10:24 pm

Re: Changing campaign variables for single scen play

Post by GabeKnight »

Important: The variables are case-sensitive!
GabeKnight
Lieutenant-General - Karl-Gerat 040
Lieutenant-General - Karl-Gerat 040
Posts: 3700
Joined: Mon Nov 27, 2017 10:24 pm

Re: Changing campaign variables for single scen play

Post by GabeKnight »

Works the other way, too:

Just now I had a "Major Victory" at the BeyondKasserine scen in Sandstorm, but wanted to start the next scen without the rewards from the sec. objectives:

#variable fuel_protected 0

et voilà, no more deployment at LeKef:

Screenshot 912.jpg
Screenshot 912.jpg (764.67 KiB) Viewed 887 times
Post Reply

Return to “Order of Battle Series”