Latest topics
» Impromptu Games
by Uncle Billy Today at 5:20 pm

» 2017 k/spiel game schedule
by King_Rufus Yesterday at 10:28 pm

» SoW DLC Maps
by rschilla Yesterday at 6:24 pm

» Club Election. A Triumph for Democracy! Swamp Drained!
by King_Rufus Wed Mar 22, 2017 11:19 pm

» Daytime Games - ACW or Nap
by Uncle Billy Wed Mar 22, 2017 3:23 pm

» Video demonstrating the Map Design Module for General Staff
by Dr Ezra Sidran Tue Mar 21, 2017 2:44 pm

» Hello wargamers!
by Mr. Digby Sun Mar 19, 2017 7:11 pm

» query about KS mod
by remus Fri Mar 17, 2017 2:07 pm

» Another mini-campaign idea
by Interlocutor Thu Mar 16, 2017 12:46 pm

» SOW Replay Viewer
by Mr. Digby Wed Mar 15, 2017 12:10 am

» Submarine Warfare
by King_Rufus Sun Mar 12, 2017 1:50 pm

» Survey on splash contours vs. elevation contours
by Dr Ezra Sidran Sat Mar 11, 2017 2:04 pm

Statistics
We have 900 registered users
The newest registered user is Crazychester1247

Our users have posted a total of 22893 messages in 1863 subjects
Log in

I forgot my password


SOW Scenario Generator

View previous topic View next topic Go down

SOW Scenario Generator

Post  Uncle Billy on Wed Feb 03, 2016 2:14 pm

For several months I've been using a scenario generator I wrote for SOWWL.  I decided to add a UI and give it the capability to create SOWGB scenarios too so that others can use it more easily.  I included the maps from the replay viewer and OOBs from the KS mods so you don't have to assemble them yourself.  Testing of the SG was done by Martin James, so any complaints should be directed at him.  

Once you have an idea for a battle, with a little experience, you should be able to create the scenario in under 5 minutes.  There is a "How To" manual included that walks you through the creation of a scenario.  I urge you to take the time to read it.  There is also a section which attempts to explain how to get the AI to do what you want it to do.  This will be the most frustrating part of designing a scenario for SP or co-op MP.  Complaints about that should be directed to NSD.

Here is the link: Scenario Generator 1.47 Download


Last edited by Uncle Billy on Sun Nov 27, 2016 11:51 pm; edited 3 times in total

_________________
I can make this march and I will make Georgia howl.
avatar
Uncle Billy

Posts : 2572
Join date : 2012-02-27
Location : western Colorado

Back to top Go down

Re: SOW Scenario Generator

Post  skelos on Wed Feb 03, 2016 2:47 pm

That is very, very nice! I will sit down and take a look! Might help to cut my learning curve a bit.

Thanks,
Tom W.
avatar
skelos

Posts : 65
Join date : 2015-07-30
Location : Dallas, Texas

Back to top Go down

Re: SOW Scenario Generator

Post  Mr. Digby on Wed Feb 03, 2016 3:28 pm

Cheers Kevin, great stuff.

I was wondering - does it include your gadget that checks the two sides for play balance? I could never get your stand-alone one to work for some reason that's probably attributable to user error.

_________________
The other Martin - Charles Reille, le dernier Maréchal de France.

"Any hussar who has not got himself killed by the age of 30 is a jackass." - Antoine Charles Louis Lasalle, commander of Napoleon's light cavalry, killed in battle at Wagram 6 July 1809, aged 34.

"I had forgotten there was an objective." - Generallieutenant Mikhail Borozdin I
avatar
Mr. Digby

Posts : 4581
Join date : 2012-02-14
Age : 57
Location : UK Midlands

Back to top Go down

Re: SOW Scenario Generator

Post  Uncle Billy on Wed Feb 03, 2016 3:36 pm

Yes Martin, it does. A box pops up after the scenario is created that gives all the balance information.

_________________
I can make this march and I will make Georgia howl.
avatar
Uncle Billy

Posts : 2572
Join date : 2012-02-27
Location : western Colorado

Back to top Go down

Re: SOW Scenario Generator

Post  Mr. Digby on Wed Feb 03, 2016 4:48 pm

Astounding sir. Borozdhin will be hat stomping in pure joy!

_________________
The other Martin - Charles Reille, le dernier Maréchal de France.

"Any hussar who has not got himself killed by the age of 30 is a jackass." - Antoine Charles Louis Lasalle, commander of Napoleon's light cavalry, killed in battle at Wagram 6 July 1809, aged 34.

"I had forgotten there was an objective." - Generallieutenant Mikhail Borozdin I
avatar
Mr. Digby

Posts : 4581
Join date : 2012-02-14
Age : 57
Location : UK Midlands

Back to top Go down

Re: SOW Scenario Generator

Post  CaptainAndrew on Wed Feb 03, 2016 5:37 pm

Oooh that sounds pretty neat.
avatar
CaptainAndrew

Posts : 147
Join date : 2015-11-28
Age : 21
Location : Läti

Back to top Go down

Re: SOW Scenario Generator

Post  Guest on Wed Feb 03, 2016 7:16 pm

cheers cheers cheers cheers

Guest
Guest


Back to top Go down

Re: SOW Scenario Generator

Post  pancerni on Fri Feb 05, 2016 2:11 pm

I may have to try this...the sandbox scenario generator has been a disappointment for me. I recently created a scenario featuring Davout's large 1812 corps (48,000)...the French were on the defense and I expected hordes of Russians descending on Davout's position...what I got was what appeared to be the entire Russian artillery park ambling down one of the roads and upon contact scurrying around in confusion while my infantry shot them down and the cavalry cut off their retreat...a brilliant victory for Davout but ultimately unsatisfying.

pancerni

Posts : 7
Join date : 2015-09-07

Back to top Go down

Re: SOW Scenario Generator

Post  Uncle Billy on Tue Jun 07, 2016 2:41 pm

I have updated the Scenario Generator, version 1.46. It now has the ability, (campaign mode), to help you recreate historic battles or any battle where specific units must be included in the scenario. You can select specific army, corps and division commanders. By selecting a division commander, all the brigades under his command are automatically included in the scenario. No attempt at balancing the scenario is made in this mode although you will receive information about the balance.

The list of maps and OOBs have been updated to include the ones from the KS Napoleon Mod 1.19.

Text files listing the strengths and experience levels of the Nappy OOBs are included in the Maps and OOBs folder. That way you can easily see if a certain OOB will contain the units you wish to use.

The pdf manual has been updated to more fully explain the use of the new feature.

_________________
I can make this march and I will make Georgia howl.
avatar
Uncle Billy

Posts : 2572
Join date : 2012-02-27
Location : western Colorado

Back to top Go down

Re: SOW Scenario Generator

Post  Morsey on Tue Jun 07, 2016 3:17 pm

Awesome!
avatar
Morsey

Posts : 714
Join date : 2016-04-21
Age : 51

Back to top Go down

Re: SOW Scenario Generator

Post  Mr. Digby on Tue Jun 07, 2016 6:16 pm

Nice. Thanks.

_________________
The other Martin - Charles Reille, le dernier Maréchal de France.

"Any hussar who has not got himself killed by the age of 30 is a jackass." - Antoine Charles Louis Lasalle, commander of Napoleon's light cavalry, killed in battle at Wagram 6 July 1809, aged 34.

"I had forgotten there was an objective." - Generallieutenant Mikhail Borozdin I
avatar
Mr. Digby

Posts : 4581
Join date : 2012-02-14
Age : 57
Location : UK Midlands

Back to top Go down

Startloc.csv

Post  rschilla on Fri Oct 07, 2016 1:36 am

I've followed the directions in the manual to "adjust the position" of units, created the startlocs file which comes out looking like this startlocs_10-06-16_15-49-55 and dragged it to the SOW add startlocs to scenario application and it tells me that it was successful but when I then open the game everyone is still where they were before.

And, yes. I did edit the .ini file and that does prevent the troops from walking around on their own.

I feel like I've missed a step but can't imagine what it could be. Am I supposed to save the game after putting the troops where I want them or does the startlocs file do that?

rschilla

Posts : 86
Join date : 2016-09-12

Back to top Go down

Re: SOW Scenario Generator

Post  Uncle Billy on Fri Oct 07, 2016 2:10 pm

What battle type did you select? If you chose anything other than 'None', all the units will deploy wherever the division commander is located. If you want brigades in certain locations, that is the only setting that will allow it. This is another failing of SOW and is not something we can mod.

If you want to fix your scenario, open scenario.ini and change the value of sandbox=, (near the bottom of the file), to 0.

_________________
I can make this march and I will make Georgia howl.
avatar
Uncle Billy

Posts : 2572
Join date : 2012-02-27
Location : western Colorado

Back to top Go down

Re: SOW Scenario Generator

Post  rschilla on Fri Oct 07, 2016 4:45 pm

Ah ha. Battle type was "attack." I will try it again set on "none." Fortunately, I did save my work. I figured I was missing something.
Thanks again.

rschilla

Posts : 86
Join date : 2016-09-12

Back to top Go down

Re: SOW Scenario Generator

Post  rschilla on Mon Jan 09, 2017 9:08 pm

Another question has arisen with the Generator.

In trying to do a battlescript the game refuses to read the Commander ID column.

In the KS scenario generator the OOB comes out with this for Napoleon in the ID column: PRU06_FR_1

Whereas in the vanilla OOBs the same column shows: OOB_Fr_Napoleon_Bonaparte


When the game is run the program does not seem to read the script for the most part.
And here is the exception.

When the game starts I try to put all the French units on Atcallon. I did this for Napoleon and each corps commander. Doesn't work at all.

However, the Prussians, using their corps commander ( PRU06_PRU_3) - all 11 Prussian divisions are in one corps - get an Atcommon order at 14:00 hours and an Atcommoff order at 15:00 and those work fine. The Prussians stand there while the French get in position and then as soon as 15:00 hours are reached they start heading for the Objective #1.

The problem is I have tried to set it up so that only 3 Prussian divisions are released at 15:00. They get a tactics5 order and are directed to each of the 3 objectives. They do release, but they ignore the target and all head for Objective #1 which tells me that they are following the standard AI plan for an Attack scenario. The other 8 divisions get Astop orders for their Divisional commanders and they ignore that completely and start moving towards Objective 1.

I can't tell from the instructions I have read if some of these commands are strictly for brigades or not? It doesn't say that but I don't understand why some commands work in the script and others do not.

I'd attach the file but I don't see an option for that.

Any thoughts?

rschilla

Posts : 86
Join date : 2016-09-12

Back to top Go down

Re: SOW Scenario Generator

Post  Uncle Billy on Mon Jan 09, 2017 9:52 pm

We do not make scripted scenarios since scripting is disabled for MP, so I doubt you'll find any experts here. Nevertheless several things come to mind.

First, scripted scenarios use a different scenario.csv format than that which is created by the KS scenario generator. Just compare it to one of the stock scenario files and you'll see the difference. I don't know if that would have an effect.

Second, the KS SG adds the command sandbox= to scenario.ini. Scripted scenarios should not have that command. Remove it if it is in your ini file.

Third, have you set up the cmdlvl# in scenario.ini properly? That may also effect how the scripting is handled.

These are just ideas, I don't know if they will help.

I can't tell from the instructions I have read if some of these commands are strictly for brigades or not? It doesn't say that but I don't understand why some commands work in the script and others do not.
In general, an 'A' at the beginning of the command indicates the command is for and officer at brigade level or above. No 'A' commands are generally for battalions/guns. The list of valid commands are near the end of the SDK manual.

_________________
I can make this march and I will make Georgia howl.
avatar
Uncle Billy

Posts : 2572
Join date : 2012-02-27
Location : western Colorado

Back to top Go down

Re: SOW Scenario Generator

Post  rschilla on Tue Jan 10, 2017 3:11 am

Okay, first off, the different .csv file seems to have less of an impact than I thought. Certain commands seem to work and certain commands are totally useless. I gave up on the idea of Taking Command of the French units. I'll do that myself. That's why I built an extra hour into the scenario. The Atcommon command works fine for the Prussians; they stand there while I'm moving the French around ( meant to simulate an Approach March to the field.) The Atcommoff command also works fine but you have to be careful how you use it. My initial idea to take all the Prussians "off" resulted in them all running around willy-nilly. Putting in a subsequent "HOLD" command for each division I wanted to stay put did nothing. One of those commands that does not work. But, taking the divisions off TC one at a time solves the problem. One then follows the Atcommoff command with the Tactics command and the division in question marches off towards the objective assigned. I just have to adjust the release times. The AI is a bit slower than I figured.

The sandbox line in the .ini file did nothing. In fact, it made things worse. The AI did not move at all so I quickly gave up on that.

Your point about the commands being listed at the end of the SDK manual helped because it showed me that I made a real boner with the tactics command. I had written Tactics5 when the proper syntax is Tactics:5. No wonder it didn't work! Works now.

Grazie.

rschilla

Posts : 86
Join date : 2016-09-12

Back to top Go down

Re: SOW Scenario Generator

Post  rschilla on Wed Jan 11, 2017 4:19 pm

Yes, the key is to manage the release times for the AI. The KS generator reads the ID column from the OOB just fine. It is just that some commands do not work while others do. C'est la guerre. The battlescript ends up looking something like this:

Event ToID Command FromID X Coord Z Coord timevar
14:00:00 PRU06_PRU_3 Atcommon
14:59:30 PRU06_PRU_4 Atcommoff
15:00:00 PRU06_PRU_4 Tactics:5 112022 116366
15:00:00 PRU06_PRU_61 Atcommoff
15:00:00 PRU06_PRU_61 Tactics:5 139841 77981

This prevents absurd traffic jams as all 11 Prussian divisions do not release at once and choke the single road leading to the primary objective.

rschilla

Posts : 86
Join date : 2016-09-12

Back to top Go down

Re: SOW Scenario Generator

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum