I want to ask you (all) to help me out with a little problem, I have.
I want to add a new island and with a harbour. I have written down the steps I did. Please be so kind and have a look, where I have done something wrong.
A. Making a new island:
1. Scenario folder
First chose the scenario you want to edit. I took 1939. There I made a total copy of the folder with all files in it. Then I renamed the new folder: '1939_Spain'. Then I edited the file 'info.ini' and rewrote the second line so that it read: Name =1939_Spain
This is to find the new scenario within the game itself.
Now I started SWIE and found me a place where my new island will be placed. I wanted the canaries and chose the hex (12,39) for the island and the harbour. The hex for the friendly fleet will be (11,39) and the one for the enemy will be (11,40). The new island will be placed in the "South Atlantic". The Node-ID for this Sea-Node will be revealed later.
I fired up the SWIE-Editor and open the new scenario '1939_Spain'. Then I placed at hex 12,39 a plain hex. The editor came up with an error-message but I ignored it and saved the Scenario anyway. Then I closed and restarted the Editor. No Problems!
Now I chose the 'owner and controler button' in the editor and set the hooks at 'draw controller', 'draw owner' and 'draw original owner'. Then I made Spain the owner and controller of the new Island. I saved the scenario again started the game. Voila, Spain has a new island :)
B. Making a new port:
I edited the file cities.csv. The columns will be: Name, X-Position, Y-position, Type (3 for port), Victory Points, Production points, Own Supply, Strategic Bombardement.
I add a new row and filled in: Canaries, 12, 39, 3, 5, 10, 10, 0
(okay, a really big port. But it is just for testing ;) )
I edited the file sea_nodes.csv and made a new port. The columns will be:Node-ID (!), Name, Size, actual size, X-Position of the port city, Y-Position of the port city, X-Position of the Place, where the own fleet will be placed on the map, Y-Position too, X-Position of the Place, where the enemy fleet will be placed on the map, Y-Position too.
I add a new row and filled in: 67, Canaries, 9, 9, 12, 39, 11, 39,11, 40
(as I said, a big port!)
Here I can reveal the Node-ID of the 'South Atlantic'. It is: 57.
Here will be placed the connections between the new port and the Sea-Node in which the port is placed. Since there is no strait, it is just simple.
Important is, that we have to add two rows. One for the way there and one for the way back.
The columns will be Node-ID 1, Node-ID two, -1, -1
The '-1' has to be, since there is no strait.
I add two new rows and filled in:
67, 57, -1, -1
57, 67, -1, -1
I now start the game and cose the scenario '1939_Spain'. Everything there!
Since I have to edit the file cities_diagram.csv, I chose two ports to which the new port of the canaries will have connections. That would be Tangier and Lisbon. I wrote down the coordinates: Tangier (17/37), Lisbon (16/31).
Here will be noted the connections between the cities itself. It is for the AI to have a clue, what to do with the canaries.
Important here too, to add two rows each. One for the way there and one for the way back.
The columns will be City 1 X-Pos, City 1 Y-Pos, City 2 X-Pos, City 2 Y-Pos, Connection Type (1 = Sea, 0 = Land).
I add four new rows and filled in:
12, 39, 17, 37, 1
17, 37, 12, 39, 1
12, 39, 16, 31, 1
16, 31, 12, 39, 1
That should be all. Should be. And here comes my problem:
I am not able to move a fleet into or out of the port. In the port, there is no destination and in the South Atlantic there are not the Canaries as destination.
Please be so kind and tell me, what I did wrong.
Thank you all,