• 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!

New piratess character model

Oops! :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.
Thanks a lot! :cheers When trying to come up with a description it kinda turned into a whole story in my head to the point where I had a hard time condensing it to fit the character selection :p My thoughts were that the french and swedish were chummy during that time, definitely chummy enough where france would help hunt a traitor, so an anti-french rebel fit pretty well xD
 
There'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".
 
There'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".
No one likes an upper class rebel :p but jokes aside, I wanted to set it in the golden age of piracy because I'm a tool and didn't think to check if the starting situation changed with specific years and not just era and I didn't want everything to be spanish. A slightly earlier or a somewhat later start year would work better for my premise, and I felt Hilda's clothing was definitely more 17th century than late 18th. But turns out things are not static by era but actually very varied, so a 1670s start is much better as sweden was actually allied with/had promised to provide troops to help france in the Franco-Dutch war instead of "chummy but also kinda mad" because france forced a peace between sweden and denmark in 1682

however, seems france are friends with the netherlands in game during the 1670s, which is probably an oversight. :eek:

New code!
Code:
    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);

Defining time down to the second is a bit silly now that I think about it, I just copied from Beatrice Devlin's code and assumed it should be that way :p

Also, because this is a screenshot thread; Hilda walking through the Pirate Settlement during a raging storm and a new rain_storm sound to make storms feel more windy and violent to go with it!
ENGINE 2017-10-03 00-14-29.jpg

EDIT: Oops, FaceId was wrong in the code for initModel! Fixed now
 

Attachments

  • rain_storm.rar
    107.7 KB · Views: 167
Last edited:
But turns out things are not static by era but actually very varied
It 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.
 
It 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.
Ah well, that's what I get for writing before I do enough checking :p Thanks @Grey Roger for all attention to the details I also love to tinker with :cheers I'll check and see if maybe I can figure out how to add the Franco-Dutch war too then

But what colony belongs to whom changes, right?
 
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.
 
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.

Using the existing exceptions, it was no problem adding the relations of the Franco-Dutch war between 1672-1677 xD France are now friends with england, enemies with everyone else except the portuguese due to Holland allying with spain in that war too! Attaching a StartStoryline for Free Play with that change! Now 1670s works very well, the islands seem to have roughly the same nation ownership as early age of pirates so should be good variety :beer:

But I've been thinking, maybe a pirate start is more appropriate? would other nations be okay with a noble who committed high treason even if it was not against their ally? not versed enough in 17th century politics to say :confused: rebel is probably alright..

Also another tangent; maybe I should add that the rain_storm is a wav file for use in the game, not just atmosphere for the picture, realised it might sound like that :p
 

Attachments

  • StartStoryline.c
    26.2 KB · Views: 218
Alright, let's do this!

"Periods.c" now has Holland and England allied by default in "Spanish Main".
"StartStoryline.c" includes:
  • 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
But apart from that, normal relations for "Spanish Main" period apply. xD And as it's all in "StartStoryline.c" for FreePlay, it won't affect the "Assassin" or "Bartolomeu" storylines.
 

Attachments

  • StartStoryline.c
    27.5 KB · Views: 202
  • Periods.c
    43.9 KB · Views: 200
Last edited:
Alright, let's do this!

"Periods.c" now has Holland and England allied by default in "Spanish Main".
"StartStoryline.c" includes:
  • 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
But apart from that, normal relations for "Spanish Main" period apply. xD And as it's all in "StartStoryline.c" for FreePlay, it won't affect the "Assassin" or "Bartolomeu" storylines.

Daym son, awesome work! :thumbs1 makes spanish main a more dynamic and fun option xD
 
Now it's almost a shame that nation relations don't change on the correct pre-defined dates during The Spanish Main.
 
Actually it seems I've lost my mind and towns don't change hands during periods, I must've mixed up early explorers with the spanish main, there almost everything is spanish.. Well, still works!

Alright, let's do this!

"Periods.c" now has Holland and England allied by default in "Spanish Main".
"StartStoryline.c" includes:
  • 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
But apart from that, normal relations for "Spanish Main" period apply. xD And as it's all in "StartStoryline.c" for FreePlay, it won't affect the "Assassin" or "Bartolomeu" storylines.

It seems there's some code included in Periods.c that's part of an unreleased update or somesuch; I get:
Code:
COMPILE ERROR - file: Periods.c; line: 165
Invalid Expression
COMPILE ERROR - file: Periods.c; line: 165
missed ')'

which is this

Code:
if (SWEDEN_ALLOWED)
    {
        period.Nations.Guest1 = "Sweden";
        period.Royal.Sweden.Name = "Charles X Gustav";
        period.Royal.Sweden.Title = XI_ConvertString(" of Sweden");
    }

that isn't in my old version so I suspect it's not for the public yet? :p
 
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.
 
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.
Oooh, how serendipitous for me! :p 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
 
Is that fully functional already?
Or still more to be done?
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.

Oooh, how serendipitous for me! :p 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
Sounds like a storyline in the making... ;)
 
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.
ships_init.c has nothing to do with that; any ship where Sweden isn't specifically defined is available.
It is indeed more likely that it has to do with the worldmap ship. Is that really not defined in nations_init.c?
If so, I'd recommend to add that. Then copy an existing GM and make some texture adjustment to make it look more Swedish.
We made it work for America; it should be possible for Sweden as well.
 
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 bit like the Swedish East Indiaman.
swedish.jpg

I'll leave it to @Jack Rackham to sort through "Ships_init.c", and possibly also arrange for a Swedish envoy to appear somewhere so that Swedish characters can get LoM's and promotions.
 
I have no idea what you're talking about.
I just helped with Swedish titles and soldier models.
 
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
That should help! :onya
 
Back
Top