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

Fix needed for the Nigel quest

Petros

Captain of "La Nao"
Storm Modder
Anyone know how to edit code so that Nigel does not sit in the same spot as other NPCs.

When the characters are merged, it can be very confusing.
At times however, depending on how many other NPC are seated at the tables, the characters are offset in a way as to be somewhat ... shall we say ... inappropriate for young ones.
 
Aye Petros,Program/ quests/quest reaction_c.scroll near botttom fer Nigel quest an change sit location number by enabl'n location locator,this sit location was changed due ter fact Nigel never appeared at all in stock version so quest was ondoable

case "Nigel_Adventure_Conc":
if (!CharacterIsDead(&characters[GetCharacterIndex("Nigel Blythe")]))
{
if(FindFellowTravellers(PChar, CharacterFromId("Nigel Blythe")) == FELLOWTRAVEL_PASSENGER || FindFellowTravellers(PChar, CharacterFromId("Nigel Blythe")) == FELLOWTRAVEL_OFFICER)
{
AddQuestRecord("nigel", "10");
Pchar.quest.Nigel_Blythe5.win_condition.l1 = "location";
Pchar.quest.Nigel_Blythe5.win_condition.l1.location = "Conceicao_Tavern";
Pchar.quest.Nigel_Blythe5.win_condition = "Blythe_Setup_Conc";
pchar.quest.Nigel_lost = "1";

LAi_SetActorType(Pchar);
Pchar.Temp.self.dialog = Pchar.dialog.currentnode;
Pchar.dialog.currentnode = "nigel_lost";
LAi_ActorSelfDialog(Pchar, "player_back");
RemoveOfficersIndex(pchar, GetCharacterIndex("Nigel Blythe"));
RemovePassenger(pchar, characterFromID("Nigel Blythe"));
LAi_SetSitType(CharacterFromID("Nigel Blythe"));
ChangeCharacterAddressGroup(CharacterFromID("Nigel Blythe"), "Conceicao_tavern", "sit", "sit7"); //skull<<< change sit #here
 
LOL!
Find anywhere that says ChangeCharacterAddress and the char to be changed is Nigel (usually listed as CharacterFromID("Nigel Blythe") ), and change "sitXX" to whatever sit location you want for him.
 
<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" /> and thanks Skull and NK!

I'll do some experimenting to see what spot I can assign him to with the least ill effects.

Sure am glad no one asked for further explanations or screen shots. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/whistling.gif" style="vertical-align:middle" emoid=":wp" border="0" alt="whistling.gif" />
 
I hope you'll manage to fix this bug. I can't wait to play this quest; especially with your new ship skin in it. <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" />
 
I'll second that.

Cheers <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" />
 
Taverns that 'ave an upstairs are less populated,One time I'd be see'n Nigel sitt'n on a lap O'' a burly pirate <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" /> knew he was a rascal,didn't know he had a thing fer burly pirates <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_eek.gif" style="vertical-align:middle" emoid=":shock:" border="0" alt="icon_eek.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" />
 
<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/24.gif" style="vertical-align:middle" emoid=":rofl" border="0" alt="24.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/24.gif" style="vertical-align:middle" emoid=":rofl" border="0" alt="24.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/24.gif" style="vertical-align:middle" emoid=":rofl" border="0" alt="24.gif" />

While we be hav'n a way wid words, Nigel be hav'n his way wid tavern folk.
 
I'm going to need more help!

Any change to the sit location is going to have to be reinitialized into the game for testing.

How do I do that?
 
I'd say: Just add the "ChangeCharacterAddressGroup(CharacterFromID("Nigel Blythe"), "Conceicao_tavern", "sit", "sit7");" line to reinit.c . <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
To the right place in reinit.c, of course. But you now know how to do that, so that shouldn't be a problem. <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-Pieter Boelen+Sep 11 2005, 09:31 AM--><div class='quotetop'>QUOTE(Pieter Boelen @ Sep 11 2005, 09:31 AM)</div><div class='quotemain'><!--QuoteEBegin-->I'd say: Just add the "ChangeCharacterAddressGroup(CharacterFromID("Nigel Blythe"), "Conceicao_tavern", "sit", "sit7");" line to reinit.c . <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
To the right place in reinit.c, of course. But you now know how to do that, so that shouldn't be a problem. <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" />
<div align="right">[snapback]130307[/snapback]</div><!--QuoteEnd--></div><!--QuoteEEnd-->
I didn't know what syntax to use, exactly how to list that line in reinit.
I think I give the impression that I know more ,about C++ and all this code than I really do, which is practically nothing.

Anyway, I did as you instructed and was able to find the most appropriate seating for Nigel at both Oxbay and Conceicao.

Note, when I listed both lines in reinit, it would not work.

Could you change the lines in "quest_reaction.c" to read:
ChangeCharacterAddressGroup(CharacterFromID("Nigel Blythe"), "Oxbay_tavern", "sit", "sit8");

ChangeCharacterAddressGroup(CharacterFromID("Nigel Blythe"), "Conceicao_tavern", "sit", "sit4"); //skull
 
If ye enable locations locator,ye will be able ter see sit locations in taverns,and pick an appropiate location,O' course ye may 'ave already done this. <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-skull+Sep 12 2005, 08:56 AM--><div class='quotetop'>QUOTE(skull @ Sep 12 2005, 08:56 AM)</div><div class='quotemain'><!--QuoteEBegin-->If ye enable locations locator,ye will be able ter see sit locations in taverns,and pick an appropiate location,O' course ye may 'ave already done this. <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" />
<div align="right">[snapback]130355[/snapback]</div><!--QuoteEnd--></div><!--QuoteEEnd-->

I don't even know what that is.
Where is it found?
 
I think, if you change the locators in quest_reaction.c, that should do the trick. I reckon it might not even be nescessary to reinit. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/no.gif" style="vertical-align:middle" emoid=":no" border="0" alt="no.gif" />
 
<!--QuoteBegin-Petros+Sep 13 2005, 12:47 AM--><div class='quotetop'>QUOTE(Petros @ Sep 13 2005, 12:47 AM)</div><div class='quotemain'><!--QuoteEBegin--><!--QuoteBegin-skull+Sep 12 2005, 08:56 AM--><div class='quotetop'>QUOTE(skull @ Sep 12 2005, 08:56 AM)</div><div class='quotemain'><!--QuoteEBegin-->If ye enable locations locator,ye will be able ter see sit locations in taverns,and pick an appropiate location,O' course ye may 'ave already done this. <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" />
<div align="right">[snapback]130355[/snapback]</div><!--QuoteEnd--></div><!--QuoteEEnd-->

I don't even know what that is.
Where is it found?
<div align="right">[snapback]130362[/snapback]</div>
<!--QuoteEnd--></div><!--QuoteEEnd-->

Go to Programs/Location loader c file scroll down to visible locators an remove /*
above an below, save file,open POTC Mod helper in tools , pick yer start location Conceico Tavern fer example and ye will start game at that location,once in tavern , you will see round dots with sit location numbers at de tavern tables ,hope that helps ye out mate:cheers
 
Yup, do the change in QR only. If you add the line to reinit, he'll be teleported there every time you reinit. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />
The way ChangeCharacterAddress() works is basically like a teleport (in fact it calls a function called teleport): that is, whenever you run it, the target character is zapped to the target locator.
So you need only change how it's called to change where the teleporting goes.

<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-skull+Sep 12 2005, 05:09 PM--><div class='quotetop'>QUOTE(skull @ Sep 12 2005, 05:09 PM)</div><div class='quotemain'><!--QuoteEBegin-->Go to Programs/Location loader c file scroll down to visible locators an remove /*
above an below, save file,open POTC Mod helper in tools , pick yer start location Conceico Tavern fer example and ye  will start game at that location,once in tavern , you will see round dots with sit location numbers at de tavern tables ,hope that helps ye out mate:cheers
<div align="right">[snapback]130407[/snapback]</div><!--QuoteEnd--></div><!--QuoteEEnd-->

Neat, that should help me in the future! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" />

I had already done it for both taverns the hard way.
 
This has te be one o' most underated quests in de game mate,probly cause it wasn't doable in stock version, thanks to nathan's help its been doable fer some time,Iv'e played this game since it hit the shelves an everbody seems te go wid Artois an thats the only quest I haven't played in the entire game,why! cause Nigel is a pain in der arse,first time play'n this quest,thar's no hint in yer log to what he's gonna do,he jest does it,and ye pay fer what he does,ur ye can be a wussy an fire em an miss out on de end booty an retribution,aside frem that Artois looks bor'n <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" /> O' course I'm a big fan O' skelly Bobs Gunboat, an I luv nuth'n more than going against a Man O' War wid it,Why! cause I'd be want'n the challenge. <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" />
 
Back
Top