Page 3 of 7

Re:Order Of Battle Editor - Alpha version available

Posted: Sat Apr 10, 2010 1:39 am
by sweeteye
The Brickyard scenario.csv file shows the layout of the columns. Mainly,It differs in that there are fewer columns than the master OOB


scenario.csv column names:

Name,ID,SIDE,ARMY,CORPS,DIV,BGDE,REG,AMMO,dir x,dir z,loc x,loc z,Formation,Head Count,Fatigue,Morale



Master OOB Column names:

Name,ID,NAME1,NAME2,SIDE,ARMY,CORPS,DIV,BGDE,REG,CLASS,PORTRAIT,Weapon,AMMO ,FLAGS,FLAG2,Formation,Head Count,Ability,Command,Control,Leadership,Style,Experience,Fatigue,Morale,Close,Open,Edged,Firearm,Marksmanship,Horsemanship,Surgeon,Calisthenics



Getting the unit information from the Master OOB to show up in the corresponding columns of the Scenario.csv file would be the trick to do I would think.If it worked you might only have to do a small amount of hand editing to finish it out but it would save an enormous amount of time.

Re:Order Of Battle Editor - Alpha version available

Posted: Sat Apr 10, 2010 7:06 am
by Garnier
Thanks, I had the wrong scenario file header. It should be properly layed out now.

Re:Order Of Battle Editor - Alpha version available

Posted: Sat Apr 10, 2010 8:42 am
by sweeteye
Excellent. That is a great little file to see produced. Will certainly save some time. Now if you could just get it to produce some default dir x,dir z,loc x,loc z, coordinates.

Re:Order Of Battle Editor - Alpha version available

Posted: Sat Apr 10, 2010 8:44 am
by Garnier
Now if you could just get it to produce some default dir x,dir z,loc x,loc z, coordinates.
It produces "default" zeroes in each of those spots.

Explain how you go about setting those numbers up and I may figure out a way to help automate it.

Re:Order Of Battle Editor - Alpha version available

Posted: Sat Apr 10, 2010 9:00 am
by sweeteye
I will have to look through my TC2M scenario files to find an example. There is a very simple way for TC2M using only 0's and 1's. Puts all the units stacked up together on the edge of the map. Not sure if that would work for SOW without crashing.

Here it is.


,dir x,dir z,loc x,loc z,
1 0 1 1



Where : dir x =1
dir z =0
loc x =1
loc z =1

Re:Order Of Battle Editor - Alpha version available

Posted: Sat Apr 10, 2010 9:05 am
by Garnier
Try it in SOW and if it works let me know, it's easy to switch to that.

Re:Order Of Battle Editor - Alpha version available

Posted: Sat Apr 10, 2010 10:09 am
by sweeteye
Yes....... it appears to work in SOW. The scenario.csv file is kind of tricky to work with.
Will still have to do some slight hand editing to get it to work.

Re:Order Of Battle Editor - Alpha version available

Posted: Sat Apr 10, 2010 10:12 am
by Garnier
What exactly do you have to change to make it work? If its similar stuff every time, it most likely can be done automatically. I'll change the location numbers from 0,0,0,0, to 1,0,1,1,

Re:Order Of Battle Editor - Alpha version available

Posted: Sat Apr 10, 2010 10:17 am
by sweeteye
Kind of hard to explain. Maybe it has to do with the Substitute commanders in the Master OOB. For example in the Brickyard scenario.csv Howard is listed as the top federal Commander. Compared to its Master OOB which has Meade listed as top commander.
I still am not sure of all the different ways that will work.

Re:Order Of Battle Editor - Alpha version available

Posted: Sat Apr 10, 2010 10:29 am
by Garnier
I see.

Well I could implement substitute commanders, by having multiple units tied to the same node on the tree, and you can pick which one will show up when exporting as a scenario. That shouldn't be too complicated, I'll see.

For now I've added the rest of the scenario file header and changed the location numbers, so hopefully you can export a scenario and have it work in game, even if the commanders are not historically accurate?