Quote:
Capt_Jack said:
OK , I will make a suggestion. It will keep me from writing it myself.
Problem: Provence numbers and names are used inconsistantly by the messaging log. On large maps, the names are duplicated and messaging does not (or rarely) use province numbers. searching for something by province number can be a hassle because the numbers array horizontally instead of closest.
My Solution; Name the Province and the Kingdom (i.e. Sleepy Hollow, Avalon)
Names can repeat in different kingdoms. Each Kingdom uses a different letter for the first character.
Limitations: Nation Overview can only display 16 characters (at least on OSx).
If the Province name and separator are kept at 15, the 16th character will always be the first letter of the kingdom. Other display locations can go to 35 characters.
Programming challenge: finding and grouping neighboring provinces into kingdoms. Remember #neighbors only list a connection once on the earliest ocurrence.
|
Hum, changing province name is not hard at all, but if I understand your idea, you would like to have a script automatically assign the knigdoms.
Question : how do you define what a kingdom is ?
On maps like "Tyrande", an human can see where one region or kigdom start and name the province manually, but a script only know the provinces location and neighbours.
I already have a function that give the list of a province neighbours, up to a certain distance (so for exemple all the immediate neighbours and their own neighbours). I could use that to make a pseudo kingdom around an important province (maybe provinces set as "large") , ignoring province already affected to another kingdom ?
But of course this wouldn't be as good as naming the province manually.
If all goes as planned, my next big update of the map editor should be for the release of the first beta where it will be at last possible to submit your changes and get the edited map code.
The editor will still lack the part allowing to add/edit commanders/units./Features, but general map and province features should be available (for exemple you will be able to change province names)