Order Of Battle Editor

He's on the board and he writes tons of useful tools to make modding that much easier.
sweeteye
Reactions:
Posts: 118
Joined: Sat Mar 06, 2010 2:13 am

Re:Order Of Battle Editor - Alpha version available

Post 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.
Last edited by sweeteye on Sat Apr 10, 2010 1:55 am, edited 1 time in total.
26th Ohio Light Artillery
Sons of Union Veterans
Garnier
Reactions:
Posts: 1258
Joined: Thu May 07, 2009 6:43 pm

Re:Order Of Battle Editor - Alpha version available

Post by Garnier »

Thanks, I had the wrong scenario file header. It should be properly layed out now.
Play Scourge of War Multiplayer! www.sowmp.com
Also try the singleplayer carryover campaign
sweeteye
Reactions:
Posts: 118
Joined: Sat Mar 06, 2010 2:13 am

Re:Order Of Battle Editor - Alpha version available

Post 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.
26th Ohio Light Artillery
Sons of Union Veterans
Garnier
Reactions:
Posts: 1258
Joined: Thu May 07, 2009 6:43 pm

Re:Order Of Battle Editor - Alpha version available

Post 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.
Play Scourge of War Multiplayer! www.sowmp.com
Also try the singleplayer carryover campaign
sweeteye
Reactions:
Posts: 118
Joined: Sat Mar 06, 2010 2:13 am

Re:Order Of Battle Editor - Alpha version available

Post 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
Last edited by sweeteye on Sat Apr 10, 2010 9:07 am, edited 1 time in total.
26th Ohio Light Artillery
Sons of Union Veterans
Garnier
Reactions:
Posts: 1258
Joined: Thu May 07, 2009 6:43 pm

Re:Order Of Battle Editor - Alpha version available

Post by Garnier »

Try it in SOW and if it works let me know, it's easy to switch to that.
Last edited by Garnier on Sat Apr 10, 2010 9:05 am, edited 1 time in total.
Play Scourge of War Multiplayer! www.sowmp.com
Also try the singleplayer carryover campaign
sweeteye
Reactions:
Posts: 118
Joined: Sat Mar 06, 2010 2:13 am

Re:Order Of Battle Editor - Alpha version available

Post 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.
26th Ohio Light Artillery
Sons of Union Veterans
Garnier
Reactions:
Posts: 1258
Joined: Thu May 07, 2009 6:43 pm

Re:Order Of Battle Editor - Alpha version available

Post 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,
Play Scourge of War Multiplayer! www.sowmp.com
Also try the singleplayer carryover campaign
sweeteye
Reactions:
Posts: 118
Joined: Sat Mar 06, 2010 2:13 am

Re:Order Of Battle Editor - Alpha version available

Post 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.
Last edited by sweeteye on Sat Apr 10, 2010 10:20 am, edited 1 time in total.
26th Ohio Light Artillery
Sons of Union Veterans
Garnier
Reactions:
Posts: 1258
Joined: Thu May 07, 2009 6:43 pm

Re:Order Of Battle Editor - Alpha version available

Post 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?
Play Scourge of War Multiplayer! www.sowmp.com
Also try the singleplayer carryover campaign
Post Reply