• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Need Help Adding New Nations

If a ship encounter chance for a nation is not defined, then it is assumed to be MAXIMUM!
So either we have to swap that around in code or Sweden must be set to zero for every ship.

As for making Swedish ships less common, that will be a tricky one.
The game first decides the nation and then decides the ship, so the encounter chances will not help.
So we'd have to influence that first decision, which is probably repeated in various spots and forms throughout the code.

But if that IS done, it could be made a more common function.
With that, it would become feasible to make the chance of a nation depend on the number of colonies they have.
So capturing colonies would then have an effect on the nations of the ships you encounter.
Could be cool!
 
I've had to re-do the pennant files as the ones you supplied had the old British pennants, not the ones I'd made with the reproportioned St. George's cross part.
Well I used the latest zip etc. Were they not included?
 
Maybe it would have been better if we had chosen Denmark as I think they had more
colonies in the Caribbean than Sweden. Or maybe it can be added too as Guest Nation2?
Reason for Sweden was the initial request plus the fact that you had already done half the work.
But indeed there is also guest nation 2, which exists for exactly that reason. :yes
 
If we add Denmark maybe the "30-years" soldiers I made for Sweden could pass for Denmark too.
And perhaps english redcoats with tricorns for later periods. The titles maybe @ANSEL can convert.
 
Maybe it would have been better if we had chosen Denmark as I think they had more
colonies in the Caribbean than Sweden. Or maybe it can be added too as Guest Nation2?
The danish islands was St. John, St.Thomas and St. Croix. The period 1666-1917.
 
The danish islands was St. John, St.Thomas and St. Croix. The period 1666-1917.
Been there! On all three.
The former Danish presence is still very obvious from the town names.
"Frederiksted" was one, if I recall.
 
Oh well, if we're actually counting the ones in actual Denmark, I hardly covered them all either. ;)
 
Well I used the latest zip etc. Were they not included?
They are in both the final post 7th January archive and the first post 31st August archive. Anyway, it doesn't matter, as the files to go into the next post 31st August archive now have both the updated British pennants and the Swedish pennants.

I did a bit of testing. There are no interface flag or shield, which means the nation selection screen while starting a FreePlay game, and the international relations screen while the game is in progress, look like this:
select_storyline.jpg international.jpg
It's a good bet that if Sweden is available as a nation then someone will want to play it, so I tried starting that FreePlay game as a Swedish character. This was the "Questbook" screen:
questbook.jpg
This screen should show your served nation in yellow, but "Sweden" doesn't show up. That was easily fixed. The attached version of "common.ini" has an entry for "Sweden", and with that in place, "Sweden" does indeed show up yellow on the "Questbook" screen.

Whether because Sweden has no ships or because I didn't play long enough to find them, I never saw any Swedish ships on worldmap. For that matter, which ship icon will represent Sweden on the worldmap? Also, during ship selection while setting up a FreePlay game, Sweden is not among the list of ship nations.

I've implemented the toggle, currently set by default to disallow Sweden. It's near the top of "InternalSettings.h" and at the bottom of the "Realism" section as I regard it as a realism issue - in reality Sweden had little if any presence in the Caribbean, but you can put it there if you like. The toggle is checked in "Periods.c". At present the conditions only check the toggle, but if you want, it should be possible to have the one in "Golden Age of Piracy" check if you're playing "Woodes Rogers" and override the toggle. When the above problems are sorted out, and if Swedish ships are suitably rare, I'd be willing to have the toggle set to 1 by default, meaning Sweden would be allowed unless you actively change the setting.
 

Attachments

  • InternalSettings.h
    69.3 KB · Views: 162
  • Periods.c
    44.4 KB · Views: 167
  • common.ini
    71.9 KB · Views: 165
Obviously, there are no Swedish interface and ship flags – they must be created. I'm in the process doing it. There are also changes in code required to reflect a fact, that now we have two nations with index of 6 during separate periods.
 
It occurs to me that the interface flag and shield should already exist. The Swedish flag was already available as a Personal flag, which presumably has its interface flag and shield, so all that should be needed is to find those, copy them and rename them to fit in as interface pictures for Sweden as a nation.
 
The interface flag and shield are "Personal34". So the shield which is based on the flag looks like this:
Crest_Personal34.jpg


Alternatively, here's a version I made using the Swedish coat of arms:
Crest_Guest11.jpg


Pick one, then I'll TX Convert it and put it into the next update. I may do revised shields for a few other nations based on coats of arms as well.
 
Here are the versions for England / Britain:
Crest_England0.jpg
Crest_England2.jpg
Crest_England5.jpg


Source: Wikipedia article on Royal Arms of England

The first one is only for "Early Explorers". There was a period when England, under Catholic Queen Mary and allied to Spain, had a different coat of arms including parts of the Spanish royal arms, but when Protestant Elizabeth became queen she restored the version seen here.

When James VI of Scotland became James I of England, effectively uniting the kingdoms, the Scottish lion rampant was added, along with the harp of Ireland. This version remained in use until the formal Act of Union in 1707 merged the kingdoms of England and Scotland, so it covers "Spanish Main" and "Golden Age of Piracy".

The third version is the royal arms of the United Kingdom, including the arms of Hanover in the lower right quadrant. England and Scotland had been merged into a single kingdom, so the upper left quadrant is a mixture of English and Scottish emblems. This version was used until 1801, so is suitable for "Colonial Powers", "Revolutions" and at least part of "Napoleonic" - in particular, it's valid for the early part in which the "Hornblower" storyline is set.
 
Back
Top