Page 1 of 3
The Scenario Builder (Editor) thread
Posted: Thu Jul 01, 2010 2:29 pm
by doomtrader
In this thread I'm going to post new version of scenario builder, commonly known as editor as often as it will be updated.
All you have to do is to unzip files into
folder.
RE: The Scenario Builder (Editor) thread
Posted: Thu Jul 01, 2010 6:45 pm
by AH4Ever
Very good, I now have tabs with text and I was able to remove the Allow Invasion from the hexes I mentioned.
Thank you.
One observation - The last or bottom tab labeled
City doesn't seem to have anything to do with cities.
RE: The Scenario Builder (Editor) thread
Posted: Thu Jul 01, 2010 8:32 pm
by doomtrader
It has.
This needs a little bit of polishing, but its working as intended.
Please take a look at cities_diagram.csv file. This one tab is responsible for filling that.
What for is that?
So cities_diagram.csv tells AI how to move it's units, so all nearby cities should be connected each other.
Also AI plans where to make an invasion, so you have to connect ports using See (should be Sea) option.
RE: The Scenario Builder (Editor) thread
Posted: Thu Jul 01, 2010 8:50 pm
by AH4Ever
OK, that explains the choice between land or see
Thanks
RE: The Scenario Builder (Editor) thread
Posted: Fri Jul 02, 2010 12:34 pm
by AH4Ever
ORIGINAL: doomtrader
This needs a little bit of polishing, but its working as intended.
Please take a look at cities_diagram.csv file. This one tab is responsible for filling that.
I could not figure out what to enter to assign connections through the editor.
I entered (X,Y) coordinates directly and I get an error when I open the file.
My map has cities that cover 3 hexes, could the problem be that I connected all 3 hexes to one another?

RE: The Scenario Builder (Editor) thread
Posted: Fri Jul 02, 2010 1:00 pm
by Peter123
I could not figure out what to enter to assign connections through the editor
Click over a city on the map, then click over another city and then push add button.
RE: The Scenario Builder (Editor) thread
Posted: Fri Jul 02, 2010 1:14 pm
by AH4Ever
ORIGINAL: Peter123
I could not figure out what to enter to assign connections through the editor
Click over a city on the map, then click over another city and then push add button.
Boy, do I feel like an idiot.
Sometimes things are as easy as 1 2 3 - Wouldn't you say Peter.
Thank you very much
RE: The Scenario Builder (Editor) thread
Posted: Fri Jul 02, 2010 4:04 pm
by AH4Ever
POI - A little trial and error, along with taking a look at cities.csv for China '41.
Has shown me that you can't have cities with more than one hex.
ONE HEX PER NAME
At least this seems to be the case, I'm sure someone will let me know if I'm wrong.
RE: The Scenario Builder (Editor) thread
Posted: Fri Jul 02, 2010 6:18 pm
by doomtrader
Each city can be only at one hex, however you can give the same name for few hexes.
Take a look at Saipan scenario for example.
In terms of game logic those would be separate cities, but in terms of gameplay it's one city.
RE: The Scenario Builder (Editor) thread
Posted: Fri Jul 02, 2010 7:04 pm
by AH4Ever
My map has cities that cover 3 hexes, could the problem be that I connected all 3 hexes to one another?
ORIGINAL: doomtrader
Each city can be only at one hex, however you can give the same name for few hexes.
Take a look at Saipan scenario for example.
In terms of game logic those would be separate cities, but in terms of gameplay it's one city.
The trouble I was having was when I created connections between cities with two or more hexes
but with the same name the editor only recognized the (X,Y) of the 1st entry.

RE: The Scenario Builder (Editor) thread
Posted: Fri Jul 02, 2010 7:39 pm
by doomtrader
Will take care
RE: The Scenario Builder (Editor) thread
Posted: Sat Jul 03, 2010 5:31 am
by Peter123
ORIGINAL: AH4Ever
The trouble I was having was when I created connections between cities with two or more hexes
but with the same name the editor only recognized the (X,Y) of the 1st entry.
Hi AH; is not required to link every city hex, so you can first create a net of one hex cities and then add the aditional city hexes.
Also, I name only one of the city hexes with the city name and leave blank the others of the same city (well, space or two space, and so)
RE: The Scenario Builder (Editor) thread
Posted: Sat Jul 03, 2010 2:40 pm
by AH4Ever
ORIGINAL: doomtrader
From the Modding Tutorial for ToW:
I suggest you copy the whole game folder on to another drive. You can still run the game and can be sure no data will be lost and your game will be free of possible bugs and mistakes.
I think your level of support for both ToW and SOP is superb.
I am concerned about working with the editor when it's default location for opening and saving files is the "ed" folder within the game.
I feel in order to follow your above advise, you should consider moving the Builder/Editor outside the game.
I have been seeing changes I have made in the comment section of files reverting back to their original text.
I hope that by making the Editor a separate application you will let the user choose the default path and hopefully the saved files will not revert.
ORIGINAL: Peter123
...not required to link every city hex.
I realize this, but from looking at other files I thought it would be good to connect Multi-Hex Cities.
Thanks for your response.
RE: The Scenario Builder (Editor) thread
Posted: Sat Jul 03, 2010 3:26 pm
by doomtrader
Linking cities is required for AI strategic planning
RE: The Scenario Builder (Editor) thread
Posted: Sun Jul 04, 2010 12:13 pm
by doomtrader
Here is new version of editor
RE: The Scenario Builder (Editor) thread
Posted: Thu Jul 08, 2010 2:06 pm
by AH4Ever
Even though there is another version coming soon, I wanted to let you know what I've been dealing with in case there is something else you want to fix.
Working with the editor is challenging when you are building a scenario. The following tabs have been problematic:
Coastal Zone - the drop down menu still references ToW.
Hex Ownership - was working fine but now it crashes the Editor.
Cities - you cannot create cities, only mod or delete.
Units - units added manually are not seen, those generated through the Editor still need a lot of tweaking after the fact.
Sea Edges - does not recognize the sea nodes that I configured.
Countries - was showing the countries but was crashing when I tried to modify them. Now the don't show at all and they are deleted when you close the Editor.
I have already reported the problem with City Diagram.
Errors:

RE: The Scenario Builder (Editor) thread
Posted: Thu Jul 08, 2010 10:43 pm
by bbmike
How do you start the editor? If I go into the ed directory and double click ed.exe all I get is an "ed has stopped working" error message. [&:][:(]
RE: The Scenario Builder (Editor) thread
Posted: Thu Jul 08, 2010 11:41 pm
by AH4Ever
I've created a shortcut for it, but that's how to do it.
It requires .net 3.5 and there is a new version available.
doomtrader says another update is comming.
It seems to be more suited to editing existing scenarios.

RE: The Scenario Builder (Editor) thread
Posted: Fri Jul 09, 2010 5:29 am
by doomtrader
It seems to be more suited to editing existing scenarios.
To be honest all scenarios in SoP has been created with this editor from scratch.
RE: The Scenario Builder (Editor) thread
Posted: Fri Jul 09, 2010 9:41 am
by Peter123
ORIGINAL: bbmike
How do you start the editor? If I go into the ed directory and double click ed.exe all I get is an "ed has stopped working" error message. [&:][:(]
I had that message because of my computer text fonts being set as big size. When I set the fonts to normal size, the Editor works fine.
I can also make to run the editor without changing font size: launch editor at 800x600, then switch to any resolution and the editor keeps working.
Hope this help u.