Trying to add Canada v.104

Please post here for questions and discussion about scenario, art and sound modding.

Moderator: doomtrader

Post Reply
rmonical
Posts: 2474
Joined: Fri Apr 01, 2011 8:05 pm
Location: United States

Trying to add Canada v.104

Post by rmonical »

Started with 1939 Grand Campaign

Edited Canada onto the map with Montreal. Rearranged the sea zones and create the Saint Lawrence Seaway.
Saved the new map. Copied the v104 .ini and unit files back into the mod. So the changed files from stock are:
map.wim
cities.csv
sea_nodes.csv
countries.csv
Info.ini
Sea_edges.csv

Here is where it crashes. Am I pushing a rope?

[thread: 25740, -2] Loading INI file data\scenarios\GC-NewMap\consts.ini ...
[thread: 25740, -2] Loaded
[thread: 25740, -2] (null) DEFBUG : 慌摮潃扭瑡敄敦摮牥潍楤楦牥⽳潆瑲渀慴敧敐慮瑬䙹牯慅档潆瑲敌敶lȸ켩斤䞀˲ || 0.100000
[thread: 25740, -2] (null) DEFBUG : 慌摮潃扭瑡敄敦摮牥潍楤楦牥⽳汐楡n慴敧敐慮瑬䙹牯慅档潆瑲敌敶lȸ켩斤䞀˲ || 1.000000
[thread: 25740, -2] (null) DEFBUG : 慌摮潃扭瑡敄敦摮牥潍楤楦牥⽳潆敲瑳愀敧敐慮瑬䙹牯慅档潆瑲敌敶lȸ켩斤䞀˲ || 1.500000
[thread: 25740, -2] (null) DEFBUG : 慌摮潃扭瑡敄敦摮牥潍楤楦牥⽳潒杵h愀敧敐慮瑬䙹牯慅档潆瑲敌敶lȸ켩斤䞀˲ || 1.700000
[thread: 25740, -2] (null) DEFBUG : 慌摮潃扭瑡敄敦摮牥潍楤楦牥⽳睓浡p愀敧敐慮瑬䙹牯慅档潆瑲敌敶lȸ켩斤䞀˲ || 1.250000
[thread: 25740, -2] (null) DEFBUG : 慌摮潃扭瑡敄敦摮牥潍楤楦牥⽳楈汬s愀敧敐慮瑬䙹牯慅档潆瑲敌敶lȸ켩斤䞀˲ || 1.400000
[thread: 25740, -2] (null) DEFBUG : 慌摮潃扭瑡敄敦摮牥潍楤楦牥⽳潍湵慴湩攀敐慮瑬䙹牯慅档潆瑲敌敶lȸ켩斤䞀˲ || 2.000000
[thread: 25740, -2] (null) DEFBUG : 慌摮潃扭瑡敄敦摮牥潍楤楦牥⽳敄敳瑲渀攀敐慮瑬䙹牯慅档潆瑲敌敶lȸ켩斤䞀˲ || 1.000000
[thread: 25740, -2] (null) DEFBUG : 慌摮潃扭瑡敄敦摮牥潍楤楦牥⽳楃祴琀渀攀敐慮瑬䙹牯慅档潆瑲敌敶lȸ켩斤䞀˲ || 2.000000
[thread: 25740, -2] (null) DEFBUG : 慌摮潃扭瑡敄敦摮牥潍楤楦牥⽳敎牡祢敄敦摮牥噳污敵愀档潆瑲敌敶lȸ켩斤䞀˲ || 0.050000
[thread: 25740, -2] Progress = 15%
[thread: 25740, -2] Otwieram plik z pa�stwami ze �cie�k�...
[thread: 25740, -2] data\scenarios\GC-NewMap\countries.csv
[thread: 25740, -2] Otwarcie OK
User avatar
Razz1
Posts: 2560
Joined: Sun Oct 21, 2007 3:09 pm
Location: CaLiForNia

RE: Trying to add Canada v.104

Post by Razz1 »


I assume you copied the existing map and renamed it. Then made modifications.
I could never get the editor to load correctly and work.

I'm not sure the editor remakes the links. Did you update the map after changes? Usually there is an update button.

There are allot of links that need to be changed and then you have to add connections for the AI to recognize the city.

I don't know if you can add another line for a country.


Try creating Canada and making it active and Allied, then you have to set relations.

No matter what you can not create convoy as they are programmed behind the scenes.
rmonical
Posts: 2474
Joined: Fri Apr 01, 2011 8:05 pm
Location: United States

RE: Trying to add Canada v.104

Post by rmonical »

Canada is already in the country list. It is just not a real country in TOF. Since I was only adding land and cities, the connections were pretty easy. I think I got the sea zones landing hexes and ports right - but who knows.

I did not edit the relations. Having done so it crashes in the same place. The messages do not show an error and what happens next in a clean stare - loading the Polish country flag, appears to be innocuous.

[thread: 19012, -2] Loading file "data\gfx\Flags\Poland.png" (1) [OK]
[thread: 19012, -2] Added country Iceland (ID: 4, AllianceID: 0)
[thread: 19012, -2] Loading file "data\gfx\Flags\Norway.png" (1) [OK]
[thread: 19012, -2] Added country Norway (ID: 5, AllianceID: 0)

It may be that it crashes loading Canada without leaving any country load messages

[thread: 19012, -2] Added country Ethiopia (ID: 50, AllianceID: 0)
[thread: 19012, -2] Loading file "data\gfx\Flags\Liberia.png" (1) [OK]
[thread: 19012, -2] Added country Liberia (ID: 51, AllianceID: 0)
[thread: 19012, -2] Loading file "data\gfx\Flags\Canada.png" (1) [OK]
[thread: 19012, -2] Added country Canada (ID: 52, AllianceID: 0)
[thread: 19012, -2] Loading file "data\gfx\Flags\USA.png" (1) [OK]
User avatar
Razz1
Posts: 2560
Joined: Sun Oct 21, 2007 3:09 pm
Location: CaLiForNia

RE: Trying to add Canada v.104

Post by Razz1 »

There are two types of connections, land and sea.

Make sure land is to land and sea to sea.

Was there a way to delete the connections before you started?

Originally the hexes were sea, so you have to delete all those connections.

One thing to do is to change Canada to alliance 1, as 0 is neutral.

Have you set a Capital?

Did you make the country active?

Maybe you can post a snap shot of Canada here and then post the country, city, sea node files here.
Post Reply

Return to “Design and Modding”