Scenario battlescript, what functions can be called?

This is where our experts try to teach you the very flexible modding system for our previous release - SOW Gettysburg and its add-ons. It's powerful, but dangerous. Post your tips and your questions.
Post Reply
Garnier
Reactions:
Posts: 1258
Joined: Thu May 07, 2009 6:43 pm

Scenario battlescript, what functions can be called?

Post by Garnier »

I tried to call the dumpgamedb, dumplocs and dumpdead functions in a scenario's battlescript.csv file, like so:

11:59:59,,dumpgamedb
11:59:59,,dumplocs
11:59:59,,dumpdead

But that time came and no files were created. Any ideas of a way to do this?

The intent is to automatically dump the gamedb before the scenario ends.
Last edited by Garnier on Thu Nov 25, 2010 1:49 am, edited 1 time in total.
Play Scourge of War Multiplayer! www.sowmp.com
Also try the singleplayer carryover campaign
User avatar
Little Powell
Reactions:
Posts: 4884
Joined: Thu Sep 18, 2008 10:25 am

Re: Scenario battlescript, what functions can be called?

Post by Little Powell »

I tried to call the dumpgamedb, dumplocs and dumpdead functions in a scenario's battlescript.csv file, like so:

11:59:59,,dumpgamedb
11:59:59,,dumplocs
11:59:59,,dumpdead

But that time came and no files were created. Any ideas of a way to do this?

The intent is to automatically dump the gamedb before the scenario ends.
FYI Garnier - These commands won't work in the scenario scripts at this time. A report has been submitted though.
Garnier
Reactions:
Posts: 1258
Joined: Thu May 07, 2009 6:43 pm

Re: Scenario battlescript, what functions can be called?

Post by Garnier »

Are there any that will work in multiplayer scenario battlescripts? And if so is there any info on which ones will work?

Thanks
Play Scourge of War Multiplayer! www.sowmp.com
Also try the singleplayer carryover campaign
ADukes
Reactions:
Posts: 862
Joined: Mon Nov 26, 2007 10:38 pm

Re: Scenario battlescript, what functions can be called?

Post by ADukes »

MP doesn't support scripts.
Garnier
Reactions:
Posts: 1258
Joined: Thu May 07, 2009 6:43 pm

Re: Scenario battlescript, what functions can be called?

Post by Garnier »

Ok.
Play Scourge of War Multiplayer! www.sowmp.com
Also try the singleplayer carryover campaign
Garnier
Reactions:
Posts: 1258
Joined: Thu May 07, 2009 6:43 pm

Re: Scenario battlescript, what functions can be called?

Post by Garnier »

Actually that's not quite true, because I use the command "12:00:00,,endscenario" to end the battle, and that works in MP. So perhaps that isn't the only command that works in MP.
Play Scourge of War Multiplayer! www.sowmp.com
Also try the singleplayer carryover campaign
User avatar
Little Powell
Reactions:
Posts: 4884
Joined: Thu Sep 18, 2008 10:25 am

Re: Scenario battlescript, what functions can be called?

Post by Little Powell »

Actually that's not quite true, because I use the command "12:00:00,,endscenario" to end the battle, and that works in MP. So perhaps that isn't the only command that works in MP.
You're probably right. I guess the phrase doesn't support should be underlined. Who knows what else will work in a script but use at your own risk.. ;)

I remember in early testing, we tried to play a fully scripted scenario in MP... The game engine basically said NOPE... :laugh:
Last edited by Little Powell on Tue Dec 14, 2010 9:09 pm, edited 1 time in total.
Post Reply