The Scenario Builder (Editor) thread

Post bug reports and ask for game support here.
User avatar
doomtrader
Posts: 5319
Joined: Tue Jul 22, 2008 5:21 am
Location: Poland
Contact:

The Scenario Builder (Editor) thread

Post 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

Code: Select all

/ed/
folder.
Attachments
ed.zip
(270.18 KiB) Downloaded 47 times
User avatar
AH4Ever
Posts: 628
Joined: Wed Jul 29, 2009 5:30 pm
Location: NU JOYZ

RE: The Scenario Builder (Editor) thread

Post 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.





JJMC

The next best thing to being clever is being able to quote someone who is.

You weren't there Thursday... You MISSED it!
User avatar
doomtrader
Posts: 5319
Joined: Tue Jul 22, 2008 5:21 am
Location: Poland
Contact:

RE: The Scenario Builder (Editor) thread

Post 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.
User avatar
AH4Ever
Posts: 628
Joined: Wed Jul 29, 2009 5:30 pm
Location: NU JOYZ

RE: The Scenario Builder (Editor) thread

Post by AH4Ever »

OK, that explains the choice between land or see

Thanks
JJMC

The next best thing to being clever is being able to quote someone who is.

You weren't there Thursday... You MISSED it!
User avatar
AH4Ever
Posts: 628
Joined: Wed Jul 29, 2009 5:30 pm
Location: NU JOYZ

RE: The Scenario Builder (Editor) thread

Post 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?

Image
Attachments
04.jpg
04.jpg (83.26 KiB) Viewed 463 times
JJMC

The next best thing to being clever is being able to quote someone who is.

You weren't there Thursday... You MISSED it!
Peter123
Posts: 203
Joined: Sat Feb 13, 2010 10:59 am

RE: The Scenario Builder (Editor) thread

Post 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.
User avatar
AH4Ever
Posts: 628
Joined: Wed Jul 29, 2009 5:30 pm
Location: NU JOYZ

RE: The Scenario Builder (Editor) thread

Post 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
JJMC

The next best thing to being clever is being able to quote someone who is.

You weren't there Thursday... You MISSED it!
User avatar
AH4Ever
Posts: 628
Joined: Wed Jul 29, 2009 5:30 pm
Location: NU JOYZ

RE: The Scenario Builder (Editor) thread

Post 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.
JJMC

The next best thing to being clever is being able to quote someone who is.

You weren't there Thursday... You MISSED it!
User avatar
doomtrader
Posts: 5319
Joined: Tue Jul 22, 2008 5:21 am
Location: Poland
Contact:

RE: The Scenario Builder (Editor) thread

Post 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.
User avatar
AH4Ever
Posts: 628
Joined: Wed Jul 29, 2009 5:30 pm
Location: NU JOYZ

RE: The Scenario Builder (Editor) thread

Post 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.

Image
Attachments
002.jpg
002.jpg (138.59 KiB) Viewed 463 times
JJMC

The next best thing to being clever is being able to quote someone who is.

You weren't there Thursday... You MISSED it!
User avatar
doomtrader
Posts: 5319
Joined: Tue Jul 22, 2008 5:21 am
Location: Poland
Contact:

RE: The Scenario Builder (Editor) thread

Post by doomtrader »

Will take care
Peter123
Posts: 203
Joined: Sat Feb 13, 2010 10:59 am

RE: The Scenario Builder (Editor) thread

Post 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)
User avatar
AH4Ever
Posts: 628
Joined: Wed Jul 29, 2009 5:30 pm
Location: NU JOYZ

RE: The Scenario Builder (Editor) thread

Post 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.


JJMC

The next best thing to being clever is being able to quote someone who is.

You weren't there Thursday... You MISSED it!
User avatar
doomtrader
Posts: 5319
Joined: Tue Jul 22, 2008 5:21 am
Location: Poland
Contact:

RE: The Scenario Builder (Editor) thread

Post by doomtrader »

Linking cities is required for AI strategic planning
User avatar
doomtrader
Posts: 5319
Joined: Tue Jul 22, 2008 5:21 am
Location: Poland
Contact:

RE: The Scenario Builder (Editor) thread

Post by doomtrader »

Here is new version of editor
Attachments
ed.zip
(270.19 KiB) Downloaded 38 times
User avatar
AH4Ever
Posts: 628
Joined: Wed Jul 29, 2009 5:30 pm
Location: NU JOYZ

RE: The Scenario Builder (Editor) thread

Post 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:



Image
Attachments
01.jpg
01.jpg (70.61 KiB) Viewed 463 times
JJMC

The next best thing to being clever is being able to quote someone who is.

You weren't there Thursday... You MISSED it!
bbmike
Posts: 224
Joined: Sun May 13, 2007 3:00 pm
Contact:

RE: The Scenario Builder (Editor) thread

Post 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. [&:][:(] 
User avatar
AH4Ever
Posts: 628
Joined: Wed Jul 29, 2009 5:30 pm
Location: NU JOYZ

RE: The Scenario Builder (Editor) thread

Post 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.

JJMC

The next best thing to being clever is being able to quote someone who is.

You weren't there Thursday... You MISSED it!
User avatar
doomtrader
Posts: 5319
Joined: Tue Jul 22, 2008 5:21 am
Location: Poland
Contact:

RE: The Scenario Builder (Editor) thread

Post 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.
Peter123
Posts: 203
Joined: Sat Feb 13, 2010 10:59 am

RE: The Scenario Builder (Editor) thread

Post 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.
Post Reply

Return to “Tech Support”