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

Build Mod 14: How to change nationality?

Aconcagua

Sailor Apprentice
Storm Modder
How do I change the initial nationality of the main character?

Selected the Spanish flag, started in Isla Muelle then. There was a soldier patrol, and they recognized me as... ENGLISH!

In original version, this was easy, just change it in the character_init.c, but in the mod, I cannot find the relevant file. Does anyone know?
 
<!--quoteo(post=210097:date=Aug 4 2007, 01:17 AM:name=Aconcagua)--><div class='quotetop'>QUOTE(Aconcagua @ Aug 4 2007, 01:17 AM) [snapback]210097[/snapback]</div><div class='quotemain'><!--quotec-->How do I change the initial nationality of the main character?

Selected the Spanish flag, started in Isla Muelle then. There was a soldier patrol, and they recognized me as... ENGLISH!

In original version, this was easy, just change it in the character_init.c, but in the mod, I cannot find the relevant file. Does anyone know?<!--QuoteEnd--></div><!--QuoteEEnd-->

i didnt thnk Build 14 was out yet. Are u refering to Build 14 alpha. havnt actually played it so im just wasting ur time. <img src="style_emoticons/<#EMO_DIR#>/icon_wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="icon_wink.gif" />
 
Uh? That's really quite weird. I'm pretty sure if you select your nationality in the Choose Character interface, that does set the <i>pchar.nation</i> attribute properly. Which soldier were you talking to? I'm not aware of any patrols... <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
 
At first - yes, this is build 14 alpha (7).

This occured at the tavern. There was some text warning about patrols - I think this was when leaving a building in the city or so, don't have this savegame any more.

Started several a new game several times, but could not reproduce it.

In the tavern, some guy spoke to me, telling me that I did not look Spanish to him, rather English. My only possible anser then is "We are discovered" and some name-calling on the Spanish. Then he attacked me (maybe some other guys, too, do not remember that exactly).

Two other things :

- Some officers did not have a reputation status (the field was just empty). Any hints? Possibly a small problem, might fix it myself.

- It is somehow irritating if I'm talking to myself in the game. Do you know where the characters are assigned their models? I'd like to add something preventing other chars to get the player's model.

Of course I'll post the code here, so if this is a fine feature, it can easily go into the build...
 
changing nationality never worked in my experience. <img src="style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid=":shrug" border="0" alt="dunno.gif" /> on the other hand, i never really cared about it.
 
<!--quoteo(post=212261:date=Aug 18 2007, 03:24 PM:name=Aconcagua)--><div class='quotetop'>QUOTE(Aconcagua @ Aug 18 2007, 03:24 PM) [snapback]212261[/snapback]</div><div class='quotemain'><!--quotec-->This occured at the tavern. There was some text warning about patrols - I think this was when leaving a building in the city or so, don't have this savegame any more.<!--QuoteEnd--></div><!--QuoteEEnd-->
Sounds like it might have to do something with one of the quests? Of course in the original main quest the player is supposed to be English and there might be some references to that still, even when the player isn't.

<!--quoteo(post=212261:date=Aug 18 2007, 03:24 PM:name=Aconcagua)--><div class='quotetop'>QUOTE(Aconcagua @ Aug 18 2007, 03:24 PM) [snapback]212261[/snapback]</div><div class='quotemain'><!--quotec-->- Some officers did not have a reputation status (the field was just empty). Any hints? Possibly a small problem, might fix it myself.<!--QuoteEnd--></div><!--QuoteEEnd-->
I saw that myself once on the player, but I easily fixed that. The problem was that the reputation texts were not being translated properly. Does this also occur on the player or only on officers? If it's officers only, then it is a bit more serious. Although I don't think the reputation for officers is actually used for anything at the time.

<!--quoteo(post=212261:date=Aug 18 2007, 03:24 PM:name=Aconcagua)--><div class='quotetop'>QUOTE(Aconcagua @ Aug 18 2007, 03:24 PM) [snapback]212261[/snapback]</div><div class='quotemain'><!--quotec-->- It is somehow irritating if I'm talking to myself in the game. Do you know where the characters are assigned their models? I'd like to add something preventing other chars to get the player's model.<!--QuoteEnd--></div><!--QuoteEEnd-->
That would indeed be a nice feature. There is some code to assign random models to random characters. You need to find that code and add some to prevent that code from randomly choosing the player model. Of course the player model can be changed in mid-game, so that's also something to take into account. Probably you just don't want to encounter the current player model.
 
There's not much to do about that, I think. Unless you would want to randomly replace their models as well, but that might make for some weird results. Especially if the quest character is Jack Sparrow and the player plays as Jack Sparrow, for example. I recommend not bothering doing anything about the quest characters. It's more trouble than it's worth.
 
that's exactly what i meant. the thing is, wouldn't the quest characters also change if this would be implemented? i guess not, but hey.
 
Not if the code is added in the "assign random model to character" function, because this function is only used for random characters. Pre-set characters have pre-set models.
 
Back
Top