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

Animists Quest Fix

<!--QuoteBegin-CouchcaptainCharles+Apr 25 2005, 01:27 AM--><div class='quotetop'>QUOTE(CouchcaptainCharles @ Apr 25 2005, 01:27 AM)</div><div class='quotemain'><!--QuoteEBegin-->Hey, smart bodybuilding type there  <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" /><!--QuoteEnd--></div><!--QuoteEEnd--> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/oops3.gif" style="vertical-align:middle" emoid=":eek:ops2" border="0" alt="oops3.gif" /> Thank you. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />
<!--QuoteBegin-CouchcaptainCharles+--><div class='quotetop'>QUOTE(CouchcaptainCharles)</div><div class='quotemain'><!--QuoteEBegin-->I often find these "ambient" ghostvoices most annoying. Probably they are supposed to create atmosphere, but they are often totally out of place, like some ghostvoice in Oxbay constantly offering me "French service"  <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />  I solved that problem for me by replacing the most annoying voicefiles with environment sounds like seagulls etc.<!--QuoteEnd--></div><!--QuoteEEnd-->Great idea! I usually rename something else that's less offensive, but still voices. That "French quality and service" line is waaaaaay overused. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/urgh.gif" style="vertical-align:middle" emoid=":urgh" border="0" alt="urgh.gif" /> I usually end up exclaiming, "But you're DUTCH (or English, or Spanish, or Portuguese) (because they ARE)!!!" <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/mybad.gif" style="vertical-align:middle" emoid=":facepalm" border="0" alt="mybad.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />

I'm only working on this quest right now because it's something I know I can do - I got bogged down in my Sneaky Trader quest as it's become much more complicated than I initially envisioned. This is not BAD, mind you, just frustrating...

I'm kind of waiting for the new trading interface to settle itself down - before I get too much deeper into my ST mod, anyhow... The new islands and the new locations are also going to be a factor in what I do with the guy, too...

And the new locations will give me a chance to finally dust off the rest of the Estrella and Armand story - I see Armand as another "pirate king" type, with Estrella running an inn - in a hidden cove somewhere that you wouldn't be able to find unless you were "in the know"... Armand can be a quest generator, too, ala the governor's "Pirate Hunting" missons - only from a pirate, they can be raids on military envoys, capturing the treasure fleet, &tc... That kind of thing can be added to easily enough - and expanded to include many many many random tasks...

So much to do, so little time! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/modding.gif" style="vertical-align:middle" emoid=":modding" border="0" alt="modding.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/huhh.gif" style="vertical-align:middle" emoid=":eek:k" border="0" alt="huhh.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="icon_wink.gif" />
 
<!--QuoteBegin-CatalinaThePirate+Apr 25 2005, 07:07 AM--><div class='quotetop'>QUOTE(CatalinaThePirate @ Apr 25 2005, 07:07 AM)</div><div class='quotemain'><!--QuoteEBegin-->Think this would be better than the Neanderthal man?  <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="icon_wink.gif" />
Will I have to change the texture or will it wrap, regardless of size?<!--QuoteEnd--></div><!--QuoteEEnd-->
Definitely better, yes.
The texture will give you no problems.
 
Catalina, I´m sorry, but I must tell it. This old man seemes to me better than the new one. This old (Neanderthal) man looked at least as a good swashbuckler but this new one looks somehow strange, too much effeminately, by my opinion. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" />
 
Rad, we're here talking about a "young lad" (the son of the blacksmith - or cooper), if I'm getting it right.
 
Yes, I second Inez. It ill look real cool if we shrink it! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />
 
<!--QuoteBegin-Inez Dias+Apr 25 2005, 09:55 AM--><div class='quotetop'>QUOTE(Inez Dias @ Apr 25 2005, 09:55 AM)</div><div class='quotemain'><!--QuoteEBegin-->Rad, we're here talking about a "young lad" (the son of the blacksmith - or cooper), if I'm getting it right.<!--QuoteEnd--></div><!--QuoteEEnd-->Yes, I wanted the "lad" to look like an innocent who could be easily corrupted by the likes of the Animists. Not too YOUNG (like 13 or 14), mind you, but a late teen or someone in his early 20's and not very worldly.

I was thinking of Rolfe, the young Austrian courier in the movie "The Sound Of Music", who joins up with the Nazis when they occupy Austria, when I made this character.
 
<!--QuoteBegin-NathanKell+Apr 21 2005, 06:29 PM--><div class='quotetop'>QUOTE(NathanKell @ Apr 21 2005, 06:29 PM)</div><div class='quotemain'><!--QuoteEBegin-->Changing somebody's model is very simple.
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->string modelid = "some_model_name";
string charid = "some_character_id";
ref model = &Models[AppearanceMod_GetModelIndex(modelid)];
AppearanceMod_SetModel(CharacterFromID(charid), modelid, model.ani, model.sex, stf(model.height), false);<!--c2--></div><!--ec2-->

Just pop that somewhere in reinit and you're all set. If you want to do the change only if the model isn't right:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->string modelid = "some_model_name";
string charid = "some_character_id";
ref chr = CharacterFromID(charid);
if(chr.model != modelid) {
ref model = &Models[AppearanceMod_GetModelIndex(modelid)];
AppearanceMod_SetModel(&chr, modelid, model.ani, model.sex, stf(model.height), false); }<!--c2--></div><!--ec2--><!--QuoteEnd--></div><!--QuoteEEnd-->Nathan, or anybody, I'm confused...

I tried to change the model for Jordano from "man4" to "Diller" (my new character) using the code above but the ModHelper keeps kicking it back as "invalid syntax".

Not sure I have it right (this is in reinit.c) - <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->  string modelid = "Diller";
 string charid = "Jordano";
 ref chr = CharacterFromID("Jordano");
 if(chr.model != "Diller")
 {
     ref model = &Models[AppearanceMod_GetModelIndex("Diller")];
     AppearanceMod_SetModel(&chr, modelid, model.ani, model.sex, stf(model.height), false);
 }<!--c2--></div><!--ec2-->The line that's making the game kick it back out is this one:

<span style='color:red'>ref model = &Models[AppearanceMod_GetModelIndex("Diller")];</span> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />

Any clue what I might have done wrong? I can't even get into the game. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/urgh.gif" style="vertical-align:middle" emoid=":urgh" border="0" alt="urgh.gif" />
 
try it in two steps? And use ref mdl instead of model (in case model's already used)?
i.e. int idx = AppearanceMod_GetModelIndex("diller");
ref mdl; makeref(mdl, Models[idx]);

Make sure you reinit models first though, so "diller" gets added.
 
Heh. English, please? <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />

Okay, I tried THIS:<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->  string modelid = "Diller";
 string charid = "Jordano";
 ref model = &Models[AppearanceMod_GetModelIndex("Diller")];
 AppearanceMod_SetModel(CharacterFromID("Jordano"), modelid, model.ani, model.sex, stf(model.height), false);<!--c2--></div><!--ec2-->And got this:

Error summary
-----------------------------------------------------------
File ....: program\Reinit.c
Line ....: 740
Type ....: RUNTIME ERROR
Error ...: function 'Reinit' stack error
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2005.04.26 03:21:14
Build file : 2004.04.01 13:45:16
Local CRC : 209f1711
Build CRC : 18b3d51d
-----------------------------------------------------------
Error.log
-----------------------------------------------------------
RUNTIME ERROR - file: Reinit.c; line: 740
invalid index -1 [size:255]
RUNTIME ERROR - file: Reinit.c; line: 740
function 'Reinit' stack error
-----------------------------------------------------------
pertinent from compile.log
-----------------------------------------------------------
Template <follow> -> timeout chr.id = Jordano
Template <follow> -> teleport chr.id = Jordano to pos(-4.8847, -6.6543e-004, -9.5555)
-----------------------------------------------------------

Line 740 is -

<span style='color:red'>ref model = &Models[AppearanceMod_GetModelIndex("Diller")];</span>

<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" /> I'm stuck... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/oops3.gif" style="vertical-align:middle" emoid=":eek:ops2" border="0" alt="oops3.gif" />

Thanks for all your help! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
 
Don' t really understand much of this, but it looks like you get -1 for index because "diller" just isn't there.
If you try as Nathan says (first fetch the index into a variable (idx) and then in a second step get the array element Models[idx] with that index) you could in between check with trace or log_setStringToLog what the index is (and I suspect it'll be -1).
 
Well, I'll muddle through, as usual. Inez, thanks for the thought, I'll check it out. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />
 
<span style='font-size:14pt;line-height:100%'><b><i><span style='color:green'>WhooHOO!</span></i></b></span>

<img src="http://www.ganotherapyusa.com/extras/diller_1.jpg" border="0" class="linked-image" />

Figured it out - this was just fine:

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->    // --> CatalinaThePirate - Animist Quest Fix
 string modelid = "Diller";
 string charid = "Jordano";
 ref model = &Models[AppearanceMod_GetModelIndex("Diller")];
 AppearanceMod_SetModel(CharacterFromID("Jordano"), modelid, model.ani, model.sex, stf(model.height), false);
    // <-- CatalinaThePirate - Animist Quest Fix<!--c2--></div><!--ec2-->

<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/mybad.gif" style="vertical-align:middle" emoid=":facepalm" border="0" alt="mybad.gif" /> I just forgot that I needed to put his model on the list at Program\Models\initModels.c <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/mybad.gif" style="vertical-align:middle" emoid=":facepalm" border="0" alt="mybad.gif" />

Stupid mistake. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> Ah well, at least he works, now. I like how he looks. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/yes.gif" style="vertical-align:middle" emoid=":yes" border="0" alt="yes.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
 
Looks great <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" /> .
<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->Yes, I wanted the "lad" to look like an innocent who could be easily corrupted by the likes of the Animists. Not too YOUNG (like 13 or 14), mind you, but a late teen or someone in his early 20's and not very worldly.<!--QuoteEnd--></div><!--QuoteEEnd-->
Well, that you managed with the new model.
 
It looks great ingame! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_praise.gif" style="vertical-align:middle" emoid=":bow" border="0" alt="icon_praise.gif" />
 
WhooHOO!
<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/william.gif" style="vertical-align:middle" emoid=":will" border="0" alt="william.gif" />
 
Hee hee... Thanks! (gotta put the rest of the smileys in!!!)

I've been a bit busy lately so haven't had the time to get back on track with this mod, but hopefully I'll find some time this weekend. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />

Life sure takes some strange turns sometimes! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />

Inez, if you could (when you can find a moment) please make this model just slightly smaller - maybe so he's the height of a woman instead of a man? I would like it to be noticeable that he's smaller, but not TOO small...

And thank you! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" />
 
Yeah I haven't forgotten. Will try it as soon as I've slept. It's just the standard "killer" model, right ?
 
Yep, standard "killer" model is right. No rush... Just whenever you can find the time. I'll be at this fix for a bit, yet. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />

THANK YOU! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
 
<!--QuoteBegin-CatalinaThePirate+Apr 27 2005, 10:43 AM--><div class='quotetop'>QUOTE(CatalinaThePirate @ Apr 27 2005, 10:43 AM)</div><div class='quotemain'><!--QuoteEBegin-->WhooHOO!

<img src="http://www.ganotherapyusa.com/extras/diller_1.jpg" border="0" class="linked-image" />

Figured it out - this was just fine:

CODE// --> CatalinaThePirate - Animist Quest Fix
string modelid = "Diller";
string charid = "Jordano";
ref model = &Models[AppearanceMod_GetModelIndex("Diller")];
AppearanceMod_SetModel(CharacterFromID("Jordano"), modelid, model.ani, model.sex, stf(model.height), false);
// <-- CatalinaThePirate - Animist Quest Fix

I just forgot that I needed to put his model on the list at Program\Models\initModels.c 

Stupid mistake.  Ah well, at least he works, now. I like how he looks.  <!--QuoteEnd--></div><!--QuoteEEnd-->

hehe looks nice <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />, altough he looks like a gay <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />
 
Back
Top