Page 1 of 1

Editor for Existing Campaign Maps?

Posted: Sun Oct 25, 2015 10:35 pm
by GBISSET
I am greatly enjoying the new campaign system, but I was wondering how hard it would be write an editor for the maps we already have, so as to do army list balanced campaigns, and even historical (not balanced) campaigns with existing army lists? The historical campaigns we have now cover Europe fairly well, and cover enough territory to game most historical campaigns. I suppose it would be useful to have an editor that could leave some provinces out, and change values of the active provinces.

Note I have not had any success trying to mod these things. I think it would have to be dumbed down to the level of an editor.
(I am happy to assist anyone modding a campaign map)

Is an editor something we are likely to see for P&S and perhaps the other BA engine type games?

Re: Editor for Existing Campaign Maps?

Posted: Mon Oct 26, 2015 7:16 am
by rbodleyscott
I doubt if a campaign map editor is going to be feasible, because it would require incorporating a full graphics package into the game. The campaign map is essentially a set of graphic files, created in a specific way.

See:

http://www.colourandnoise.com/blog/pike ... -creation/

and

viewtopic.php?f=319&t=67037

Having created a map, however, it is relatively easy to script it, starting with a clone of one of the existing campaigns.

The key script is CustomCampaignTools.BSF in \Campaigns\name of campaign\Data\Battle\Scripts. You modify this to customise your campaign.

The function IsRegionAdjacent() is essentially just a list of permitted province to province moves.

You can make a province "out of bounds" by scripting the IsProvinceOutOfBounds() function accordingly. (See CustomCampaignTools.BSF in \Campaigns\7ECWCampaign\Data\Battle\Scripts

---------

I am sorry that creating campaigns cannot be done without some scripting, but I fear that that is how it is, and how we had to do it. If we had a province editor for internal use, we would, of course, put it in the program.