Thanks a lot!Oops!I didn't notice that such a description had already been posted. So, this ought to contain everything needed to play Hilda Sparre, former Swedish noblewoman and now anti-French rebel.



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!
Quick links for Beyond New Horizons
- Download latest version
- Wiki
- FAQ
- Report bugs here
- Bug Tracker on Github
Quick links for Maelstrom
- Download the latest version of Maelstrom
- Download the latest version of ERAS II
- Download the latest version of New Horizons on Maelstrom
Quick links for PotC: New Horizons
- Download latest version
- Wiki
- FAQ
- Report bugs here
Thanks to YOUR votes, GOG.com now sells:
- Sea Dogs
- Sea Dogs: Caribbean Tales
- Sea Dogs: City of Abandoned Ships
Vote now to add Pirates of the Caribbean to the list!
Quick links for AoP2: Gentlemen of Fortune 2
- Downloads and info
- ModDB Profile
- Forums Archive
A Pirate Podcast with Interviews
Music, Comedy and all things Pirate!
- Episode Guide - About - Subscribe -
- Twitter - Facebook - iTunes - Android -
- Youtube - Fill the Coffers -
Thanks a lot!Oops!I didn't notice that such a description had already been posted. So, this ought to contain everything needed to play Hilda Sparre, former Swedish noblewoman and now anti-French rebel.
No one likes an upper class rebelThere's plenty of room in the character selection screen, and that's exactly what the "model.storytext" line is for. You probably don't need to specify the start time down to the exact second, though.But specifying the start date is worthwhile, especially the year, as that puts the character into the period of your choice. 1694 is "Golden Age of Piracy". In fact, it's in the middle of the Nine Years War, alias War of the League of Augsburg, and the game sets international relations accordingly. The problem with a "Rebel" start is that you have the international relations of your nation, except that your own nation hates you. The War of the League of Augsburg was basically France trying to muscle in on Spain and everyone else ganging up to try to stop them, which means almost everyone hates France, and that means they all hate you - and so does France...
Incidentally, note that I've uploaded a revised version of the zip, due to a problem with "pictures.ini".
model.description = "Piratess with a stylish purple coat";
model.id = "HildaPiratess";
model.FaceId = 538;
model.nation = FRANCE;
model.price = 2000;
model.assigned = true;
model.sex = "woman";
model.ani = "33_Piratess10";
model.height = 1.75;
model.name = "Hilda";
model.lastname = "Sparre";
model.storytitle = "The Road Back to Greatness";
model.storytext = "You are a noblewoman, part of Sweden's most ancient nobility, but the reign of Charles XI had come with ever diminishing power and privilege. Conspiring to take back what was lost, you instead found yourself on the run from a death sentence. With nowhere else to go and hunted by the king and his allies, you fled to the New World.";
model.playertype = PLAYER_TYPE_REBEL;
model.difficulty = DIFFICULTY_MARINER;
model.Flags.Pirate = 19;
model.Flags.Personal = 31;
model.ship = "Lugger1";
model.shipname = "Robber Queen";
model.date.hour = 7;
model.date.day = 24;
model.date.month = 10;
model.date.year = 1673;
AddCharacterModel(model);
It is actually static per period, but @Grey Roger added some exceptions to that purely for the Free Play storyline.But turns out things are not static by era but actually very varied
Ah well, that's what I get for writing before I do enough checkingIt is actually static per period, but @Grey Roger added some exceptions to that purely for the Free Play storyline.
Can't remember now what exceptions he added, but they're all in the Free Play StartStoryline.c file.
At present the only dateline exception for relations is the one you added at my suggestion, which is the one for the War of the League of Augsburg.I'd already set relations that way for the "Ardent" storyline, then suggested doing likewise for FreePlay because one of the character definitions specifically refers to the War of the League of Augsburg.
One of these days I'm going to add a bunch more into the "Spanish Main" period to cover the yo-yo relationship between England and Holland. At present England and Holland are at war for the whole period for the benefit of Michiel de Ruyter, but in fact there were three short wars, so Michiel de Ruyter could be set up to start his game in one of them. (England was actually allied to France for the third war, making for a big difference with the rest of the period!)
There's also one more dated exception - Spain's king is Carlos IV for the early part of "Napoleonic". It doesn't affect relations, just the name that Spanish governors give if you have a LoM and earn a promotion, for example.
@DeathDaisy: you can easily have Hilda start in the Golden Age of Piracy. Just avoid any year between 1688 and 1697.
Alright, let's do this!
"Periods.c" now has Holland and England allied by default in "Spanish Main".
"StartStoryline.c" includes:
But apart from that, normal relations for "Spanish Main" period apply.
- Dutch-Portuguese War 1602-1663
- Breakup of Iberian Union 1640: Portugal turns hostile to Spain and allies with England
- First Anglo-Dutch War 1652 - 1654
- Second Anglo-Dutch War 1665-1667
- Third Anglo-Dutch War 1672-1674
- If you're playing Michiel de Ruyter then you're at war with England regardless of date
- Franco-Dutch War 1672-1678
- War of the League of Augsburg 1688-1697
And as it's all in "StartStoryline.c" for FreePlay, it won't affect the "Assassin" or "Bartolomeu" storylines.
Alright, let's do this!
"Periods.c" now has Holland and England allied by default in "Spanish Main".
"StartStoryline.c" includes:
But apart from that, normal relations for "Spanish Main" period apply.
- Dutch-Portuguese War 1602-1663
- Breakup of Iberian Union 1640: Portugal turns hostile to Spain and allies with England
- First Anglo-Dutch War 1652 - 1654
- Second Anglo-Dutch War 1665-1667
- Third Anglo-Dutch War 1672-1674
- If you're playing Michiel de Ruyter then you're at war with England regardless of date
- Franco-Dutch War 1672-1678
- War of the League of Augsburg 1688-1697
And as it's all in "StartStoryline.c" for FreePlay, it won't affect the "Assassin" or "Bartolomeu" storylines.
COMPILE ERROR - file: Periods.c; line: 165
Invalid Expression
COMPILE ERROR - file: Periods.c; line: 165
missed ')'
if (SWEDEN_ALLOWED)
{
period.Nations.Guest1 = "Sweden";
period.Royal.Sweden.Name = "Charles X Gustav";
period.Royal.Sweden.Title = XI_ConvertString(" of Sweden");
}
Correct, indeed they don't.Actually it seems I've lost my mind and towns don't change hands during periods
Is that fully functional already?Ah. That's the version which is going into the next update, and includes the option of having Sweden in the game, from this thread:
Need Help - Adding New Nations
Oooh, how serendipitous for me!Ah. That's the version which is going into the next update, and includes the option of having Sweden in the game, from this thread:
Need Help - Adding New Nations
For now, I've put a different version of "Periods.c" into post #1418 with the change to Dutch-English relations and without the Swedish stuff.
It's in the state shown in the Adding New Nations thread. "InternalSettings.h" contains a toggle "SWEDEN_ALLOWED", setby default to 0. If you set it to 1, Sweden enters the game in the "Spanish Main", "Golden Age of Piracy" and "Colonial Powers" periods. You can play a Swedish character. Last time I tried, no Swedish ships showed up on worldmap, possibly because none are defined in "Ships_init.c" or possibly if no icon is defined for Swedish ships on the worldmap. No relations are set so Sweden is allied to everyone except Pirates.Is that fully functional already?
Or still more to be done?
Sounds like a storyline in the making...Oooh, how serendipitous for me!maybe I could use that at some point to add some vicious hunters or something after our latest swedish traitor and make it a whole thing. so many dreams
ships_init.c has nothing to do with that; any ship where Sweden isn't specifically defined is available.Last time I tried, no Swedish ships showed up on worldmap, possibly because none are defined in "Ships_init.c" or possibly if no icon is defined for Swedish ships on the worldmap.
That should help!It does indeed seem as though "nations_init.c" refers to 'rNation.worldMapShip = "Swedish"' but no Swedish ship icon exists. I've knocked up something based on the French one, recoloured to look a