Indeed it would.so changing model would give you other dialog options ... interesting
Checking gender is what @Grey Roger does in his Ardent storyline too.
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 -
Indeed it would.so changing model would give you other dialog options ... interesting
if(PChar.sex == "man")
{
<do man stuff>
}
else
{
<do woman stuff>
}
if (PChar.sex == "man") Preprocessor_Add("person", "man");
else Preprocessor_Add("person", "woman");
d.Text = DLG_TEXT[45] + GetMyName(Pchar) + DLG_TEXT[46];
Link.l1 = DLG_TEXT[47];
"Do you consider me a worthy #sperson#?",
Something I stopped bothering with a long time ago because it takes extra time, makes the code more complex and, historically speaking, nobody ever finishes their translation efforts anyway.What's a translate string function?
TranslateString("","man")
I try at least to always put a comment with TODO next to it so if someday someone actually gets close to finishing it I can search for those things and change it .Something I stopped bothering with a long time ago because it takes extra time, makes the code more complex and, historically speaking, nobody ever finishes their translation efforts anyway.
I very much support that!As we do now have someone working on a translation, I'd rather not make things harder for him, so if you can tell me what I should use in that 'Preprocessor_Add("person", "man")' command, I'll use it.
No, it doesn't. Because the game code is not capital-sensitive, we've had to work around that for that very reason.Does 'TranslateString' correctly take account of whether a word is at the start of a sentence?
There is also XI_ConvertString, which I think checks only common.ini .I've a vague feeling I've seen other translation functions. Which is the correct one to use?
I can guarantee you with 100% certainty that I will NOT do so.feel free to investigate it a bit.
I actually mean @Grey Roger to investigate itI can guarantee you with 100% certainty that I will NOT do so.
Once I finally find the time to do stuff, I really have more important things to tackle.