Scenario Editor

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.
Michael Slaunwhite
Reactions:
Posts: 4358
Joined: Fri Jan 08, 2010 8:15 am

Re: Scenario Editor

Post by Michael Slaunwhite »

Nope, that didn't work either (renaming Mods to Mods_bak)

Here is the Error Report for NetFramework.
SPOILER: SHOW
Cheers...
Last edited by Michael Slaunwhite on Tue Aug 23, 2011 5:21 am, edited 1 time in total.
Kalliser
Reactions:
Posts: 70
Joined: Sun Feb 06, 2011 5:33 am

Re: Scenario Editor

Post by Kalliser »

You used the last fixed exe ? because the message :
System.NullReferenceException: Object reference not set to an instance of an object.
at Gettysburg.Main.Main_Load(Object sender, EventArgs e)

Seems to be the registry bug.

Because at this moment the soft will perform 4 steps:

1. setup the gamepath, from registry or from config file.


When done the editor made 3 actions :
2. preload of stock oobs if available in work/sdk/oobs directory
3. preload all mods present in mods directory
4. load sowgb.ini from work directory

if your mods directory was renamed it's not an error in step 3, so only 2 remain, I will add more trace in order to locate the source of the problem.

Here is the new exe with a more complete logging error :
http://www.megaupload.com/?d=IFRMHC0Y

With that you'll have an errorlog.txt created ni the same directory than the software.
Last edited by Kalliser on Tue Aug 23, 2011 1:57 pm, edited 1 time in total.
Michael Slaunwhite
Reactions:
Posts: 4358
Joined: Fri Jan 08, 2010 8:15 am

Re: Scenario Editor

Post by Michael Slaunwhite »

Kalliser Wrote:
Here is the new exe with a more complete logging error : http://www.megaupload.com/?d=IFRMHC0Y
Mega Upload is saying "The file you are trying to access is temporarily unavailable. Please try again later."

Cheers.
Last edited by Michael Slaunwhite on Tue Aug 23, 2011 3:48 pm, edited 1 time in total.
Michael Slaunwhite
Reactions:
Posts: 4358
Joined: Fri Jan 08, 2010 8:15 am

Re: Scenario Editor

Post by Michael Slaunwhite »

:)

It appears that this latest fixed .exe (version 1.5) is working. This is a very nice editor, I like it.

So far it's has been worth some of the headaches over the last couple days. I will let you know if I come across any problems.
The attachment editor.jpg is no longer available
Thanks! :)
Attachments
editor.jpg
editor.jpg (69.41 KiB) Viewed 460 times
Last edited by Michael Slaunwhite on Tue Aug 23, 2011 4:22 pm, edited 1 time in total.
Michael Slaunwhite
Reactions:
Posts: 4358
Joined: Fri Jan 08, 2010 8:15 am

Re: Scenario Editor

Post by Michael Slaunwhite »

Kalliser.

This is simply incredible. Excellent, well I'm off to create my very first scenario.

Again, thank you for all the help! :)
Kalliser
Reactions:
Posts: 70
Joined: Sun Feb 06, 2011 5:33 am

Re: Scenario Editor

Post by Kalliser »

No thank you for your patience, find and correct bug is always a pain for developper :) without your help there is nothing much I can do.
Michael Slaunwhite
Reactions:
Posts: 4358
Joined: Fri Jan 08, 2010 8:15 am

Re: Scenario Editor

Post by Michael Slaunwhite »

No thank you for your patience, find and correct bug is always a pain for developper :) without your help there is nothing much I can do.
Well, I am happy that I helped (I don't think I did all that much really). :)

I would like to make my first request (I know your a busy man so I'll keep it short).

REQUEST:
While placing troops on the map, could you add a function which would allow you to set their facing? I know you can already to this by using the parameters in the right panel, but what I mean is holding either the CTRL or ALT key, and a small arrow would appear, you swivel the troops to their new facing, or while on a unit, right click, and a small compass appears, and you choose your facing.
Just a thought Sir. Anyway I'm off...

Thanks again! :)
Michael Slaunwhite
Reactions:
Posts: 4358
Joined: Fri Jan 08, 2010 8:15 am

Re: Scenario Editor

Post by Michael Slaunwhite »

Hi me again.

Well so far so good. Since I am making a Scenario from scratch, and when I load an OOB, of course the troop placements are all in the top left hand corner since I do not have a startlocation.csv to load.

REQUEST:
Would it be possible to have the ability to click & drag from the drop down list of troops in the right hand panel onto the map?
Anyway, man this is a great tool to have, finally something that makes sense to me.

Cheers.
SPOILER: SHOW
Kalliser
Reactions:
Posts: 70
Joined: Sun Feb 06, 2011 5:33 am

Re: Scenario Editor

Post by Kalliser »

I have 2 workaround :
1. when you select an element in the oob it become selected on the map so you can drag&drop from the map (but in your exe the highligting has been disabled, the element is just coming to top of the pile)

Or

2. When the oob has been imported launch the game in debug mode, then load your scenario. Move the troop at the desired location then when your are satisfied export the placement in startlocation.csv (you must bind the key according to the SDK instruction). Then come back in editor and merge startlocation.csv with your scenario.

About facing the troop you can already do it in editor, just do a drag&drop with the right mouse button instead of left mouse button (who is for troop displacement), you will see a red line showing the facing of the unit. ;)
Last edited by Kalliser on Tue Aug 23, 2011 7:17 pm, edited 1 time in total.
Michael Slaunwhite
Reactions:
Posts: 4358
Joined: Fri Jan 08, 2010 8:15 am

Re: Scenario Editor

Post by Michael Slaunwhite »

I have 2 workaround :
1. when you select an element in the oob it become selected on the map so you can drag&drop from the map (but in your exe the highligting has been disabled, the element is just coming to top of the pile)

Or

2. When the oob has been imported launch the game in debug mode, then load your scenario. Move the troop at the desired location then when your are satisfied export the placement in startlocation.csv (you must bind the key according to the SDK instruction). Then come back in editor and merge startlocation.csv with your scenario.

About facing the troop you can already do it in editor, just do a drag&drop with the right mouse button instead of left mouse button (who is for troop displacement), you will see a red line showing the facing of the unit. ;)
Cool, thank you very much! :)

Okay here is a problem I have found which caused an error.

[Screen Shot]
The attachment error.jpg is no longer available
[Error]
SPOILER: SHOW
=-=-=-=-=-=-=-=-=-=-=-=-=-=
I was working in the scenario.ini in the editor, and I selected SP (single player), and the editor crashed.

Also, I have noticed that if I change the map I wish to use in the scenario.ini then I go back to "troop Placement" the screen does not update with the new map.

I have also searched for the error dump (.log file), and I don't see it anywhere.

Hmmmm, Later!
Attachments
error.jpg
error.jpg (226.79 KiB) Viewed 460 times
Last edited by Michael Slaunwhite on Tue Aug 23, 2011 7:41 pm, edited 1 time in total.
Post Reply