I have done some tests in creating MP scenarios. I use a custom OOB, launch a sandbox game and then I start editing the resulting scenario.csv file.
Everything seems fine, but the starting locations of brigades and regiments are ignored, they always stick to their division. Is this hard-coded in sandbox play? Is there a toggle somewhere to change this?
In the SDK you are told to edit an existing scenario, but then it seems I can only use stock OOBs...
Scenario starting locations Help
Re: Scenario starting locations Help
March your troops around to where you want them to be when the scenario starts. Hit the 'L' key which writes the locations file to the Work directory. This file will have a name like: startlocs_03-04-12_21-43-25.csv. Open this file up in excel and copy the location values (cols C-F) as well as the formations (col G) into your scenario.csv file (cols J - M). Save the scenario.csv file and load your scenario. The troops should show up where you want them to be.
-Jim
-Jim
"My God, if we've not got a cool brain and a big one too, to manage this affair, the nation is ruined forever." Unknown private, 14th Vermont, 2 July 1863
Re: Scenario starting locations Help
Hi Jim, yes I already tried that. I launched a sandbox game, moved the troops, created the starlocs.csv dump and copied this to the scenario.csv file. But the units still stick to their division.
- Little Powell
- Reactions:
- Posts: 4884
- Joined: Thu Sep 18, 2008 10:25 am
Re: Scenario starting locations Help
You must not be copying over the correct lines, or all of the lines. Make sure you copy the data in columns C, D, E, F, and G. Also just to rule it out, make sure you are editing the scenario.csv with Excel. Open Office has been known to cause issues with the CSV files.Hi Jim, yes I already tried that. I launched a sandbox game, moved the troops, created the starlocs.csv dump and copied this to the scenario.csv file. But the units still stick to their division.
Re: Scenario starting locations Help
I am using Garniers GEditCSV to edit the scenario.csv.
And I edited the data in columns loc x, loc z, dir x and dir z.
And I edited the data in columns loc x, loc z, dir x and dir z.
- Little Powell
- Reactions:
- Posts: 4884
- Joined: Thu Sep 18, 2008 10:25 am
Re: Scenario starting locations Help
It must be that editor then, that's the only thing I can think of. I have been editing scenario.csv's for years now and have never had a problem, if the correct columns/data are copied over.I am using Garniers GEditCSV to edit the scenario.csv.
And I edited the data in columns loc x, loc z, dir x and dir z.
Also, there's a command in the SDK (sorry don't have it in front of me) to dump the entire scenario.csv so no copying/pasting is necessary. This might be a better solution for you. I think its dumpoobscen or something like that. I'll look it up in a bit.
Last edited by Little Powell on Thu Mar 29, 2012 3:55 pm, edited 1 time in total.
Re: Scenario starting locations Help
I have found the missing toggle now. It is in the scenario.ini file. When editing sandbox scenarios there is a line
[init]
sandbox=1 (value 1 to 4 for the sandbox types like attack, defend, ...)
This must be set to
sandbox=0
then you can edit the locations and formations of every unit.
@Little Powell: If you could find a way to dump the scenario.csv directly, this would be very nice.
[init]
sandbox=1 (value 1 to 4 for the sandbox types like attack, defend, ...)
This must be set to
sandbox=0
then you can edit the locations and formations of every unit.
@Little Powell: If you could find a way to dump the scenario.csv directly, this would be very nice.