Modding Convoy Routes...

Post Reply
User avatar
CaesarAug
Posts: 504
Joined: Tue Jun 23, 2015 4:54 am

Modding Convoy Routes...

Post by CaesarAug »

OK, I've been trying to set up new convoy routes in the editor.
And something isn't quite working... namely the convoy route [:D]

For example, I've set the alignment of Algeria (from default Neutral) to Allies, maintaining of course its parent ally as France.
The reasoning behind this is that I assume that makes the MPP value of the city of Algiers "independent" from the French MPP collection, thus the "need" for that MPP value to be convoyed to France?

So, I have attempted setting up a convoy from Algiers to Toulon, using the game-default Swedish Iron Ore Shipments to Germany as a model to set up the French North African Convoys to France, and changing all the pertinent data.

And no white nor red convoy route line ever shows up on the map... Could it be that it requires some sort of trigger script or something?
User avatar
BillRunacre
Posts: 6828
Joined: Mon Jul 22, 2013 2:57 pm
Contact:

RE: Modding Convoy Routes...

Post by BillRunacre »

Is Algeria an independent country in your mod, i.e. the hexes in North Africa that have been changed in ownership from France to Algeria?

If not, that will be necessary, and additionally the resource at Algiers will need to be changed to be a Capital.

Other than that, once the scripts have updated it should work, but if not then paste the script here. [:)]
Follow us on Twitter: https://twitter.com/FurySoftware

We're also on Facebook! https://www.facebook.com/FurySoftware/
User avatar
CaesarAug
Posts: 504
Joined: Tue Jun 23, 2015 4:54 am

RE: Modding Convoy Routes...

Post by CaesarAug »

Ah, I see. That could be it. I’ll try this out as soon as I can, and report back.
Thank you!
User avatar
CaesarAug
Posts: 504
Joined: Tue Jun 23, 2015 4:54 am

RE: Modding Convoy Routes...

Post by CaesarAug »

ORIGINAL: BillRunacre

Is Algeria an independent country in your mod, i.e. the hexes in North Africa that have been changed in ownership from France to Algeria?

If not, that will be necessary, and additionally the resource at Algiers will need to be changed to be a Capital.

Other than that, once the scripts have updated it should work, but if not then paste the script here. [:)]

OK, I've done all this, and in addition, gave a 100% Allies mobilisation to Algeria, parent France, Algerian hexes owned by Algeria, controlled by France.

A red convoy route line now does show on the map from Algiers to Toulon... good! But there is a persistent error * that cannot be updated in the editor, specifically pertaining to Surrender #1 events.
Not sure how to procede. But it may not be worth the trouble to make all the pertinent changes to the Surrender #1 events.
User avatar
CaesarAug
Posts: 504
Joined: Tue Jun 23, 2015 4:54 am

RE: Modding Convoy Routes...

Post by CaesarAug »

I’ve been able to edit different convoy routes, i.e., the historical Oran to Marseilles and Casablanca to Brest.
I’m getting that right at least.

But the automatic update for the events in the Surrender #1 text unfortunately does not work.
I suppose it’s only the events related to France and Algeria (French North Africa), and those
pertaining to the French Government fleeing to Algiers.

Still, I figure the game is still playable (hopefully without crashing) since the game engine will completely ignore all the events in Surrender #1.

User avatar
BillRunacre
Posts: 6828
Joined: Mon Jul 22, 2013 2:57 pm
Contact:

RE: Modding Convoy Routes...

Post by BillRunacre »

Yes, if you search the Surrender_1 file you should find something for the formation of Algeria. You can always search by hex number, e.g. for Algiers.

If you remove it from the file and Update then everything should be fine.
Follow us on Twitter: https://twitter.com/FurySoftware

We're also on Facebook! https://www.facebook.com/FurySoftware/
User avatar
Elessar2
Posts: 1465
Joined: Wed Nov 30, 2016 12:35 am

RE: Modding Convoy Routes...

Post by Elessar2 »

Piggybacking on CaeserAug's (if he doesn't mind [8D])...

#1 Can a convoy operate from a country which hasn't been conquered, but where the enemy (the country running the convoy) has taken a substantial number of hexes? Looks like one can't, unless I am missing something. [This is for Japanese-controlled China]

#2, Vanilla World 1939 has two convoys for the DEI. I believe this is just for redundancy in case one of the ports isn't controlled and/or repaired up to 5 yet, and they can't run simultaneously (1st one in the file is the active one). If I were to have an event split the DEI into 3-4 separate countries tho I could set up convoys for each one, am I right? Now my question would become how do I split them up... I want to avoid having all of the oil convoys in one basket so to speak, where the Allied player could park all of his subs on the line and sink all of the tankers in question.
User avatar
BillRunacre
Posts: 6828
Joined: Mon Jul 22, 2013 2:57 pm
Contact:

RE: Modding Convoy Routes...

Post by BillRunacre »

ORIGINAL: Elessar2

Piggybacking on CaeserAug's (if he doesn't mind [8D])...

#1 Can a convoy operate from a country which hasn't been conquered, but where the enemy (the country running the convoy) has taken a substantial number of hexes? Looks like one can't, unless I am missing something. [This is for Japanese-controlled China]

If you mean from China to Japan, no, though if you give the Nanjing state a port then that could send MPPs via convoy to Japan.
#2, Vanilla World 1939 has two convoys for the DEI. I believe this is just for redundancy in case one of the ports isn't controlled and/or repaired up to 5 yet, and they can't run simultaneously (1st one in the file is the active one). If I were to have an event split the DEI into 3-4 separate countries tho I could set up convoys for each one, am I right? Now my question would become how do I split them up... I want to avoid having all of the oil convoys in one basket so to speak, where the Allied player could park all of his subs on the line and sink all of the tankers in question.

Yes, that would work, you would just need to make other portions of the DEI belong to other Minors with their own capitals.

The only thing is not only would they need their own convoy scripts to Japan, but they would all need to presumably be merged back into the DEI proper when that enters the war. Annexation scripts could do that.
Follow us on Twitter: https://twitter.com/FurySoftware

We're also on Facebook! https://www.facebook.com/FurySoftware/
Post Reply

Return to “MODS and Scenarios”