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

Few minor modifications/additions/`bug-fixes` for PotC

There appears to be two Fanielle heads (and ANIs), one with a 1 appended to the end (and as far as I can tell they're identical each with each); but since there's no Fanielle1.gm, it's never used...
 
<!--`QuoteBegin-NathanKell`+--><div class='quotetop'>QUOTE(NathanKell)</div><div class='quotemain'><!--QuoteEBegin-->And before I go any farther, I'd like to clear something up. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />

Pieter: _none_ of this is any comment upon your work; in fact I find the compiling--and modding!--work you've been and are doing excellent.
This goes for everyone else as well. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />

It's just my way to comment (to death) everything I see.  xD:  :eek:ops2  :dio[/quote]
Why, thanks for taking the time to check other people's work <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />
As you are without any doubt the one with the most PotC knowledge and overview you are just the the man we need as a "clearing station" and coordinator. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />

But don't be disappaointed if people like me can't keep up with your breathtaking pace of posting <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" /> E.g. you asked somewhere if I worked on controls in connection with cheating. Can't find that question anymore, but here is the answer:
I posted about the new fastequip keys for special weapons (a landside use for the ammochange keys) They require a resetting to default of the controls.
 
Thanks a lot for your comments Nathan! They're a lot of great help!

I am trying to do the same with the robbing link in the stunned_dialog.c file as I did for the samaritan option:<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->      if([character has something left to be robbed]) // PB: Can't rob if there's nothing to rob

     {

   Link.l1 = LinkRandPhrase(DLG_TEXT[4], DLG_TEXT[5], DLG_TEXT[6]);

   Link.l1.go = "loot";  // link for robbers

     }<!--c2--></div><!--ec2-->I tried putting "CheckCharacterItem(NPchar,"gold")", "CheckCharacterItem(NPchar, BLADE_ITEM_TYPE)", "NPchar.money>0" and several variations on these at the [character has something left to be robbed] spot to get it to work, but to no avail. All I get are error messages. So anybody else got any idea how I might disable the robbing option in the stunned dialog if the stunned character doesn't have any gold or anything at all left to be robbed?
 
<!--`QuoteBegin-NathanKell`+--><div class='quotetop'>QUOTE(NathanKell)</div><div class='quotemain'><!--QuoteEBegin-->Pieter, you ought to have access to the CVS, since you're basically doing that work anyway. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />[/quote]Might be safer not to. I might mess up not only my own game, but everybody else's too. <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" />

<!--`QuoteBegin-NathanKell`+--><div class='quotetop'>QUOTE(NathanKell)</div><div class='quotemain'><!--QuoteEBegin-->Meantime, I (and those on dialup too I don't doubt) would be much obliged if you'd upload a separate package of just program*.*, resourceini*.*, and resourcequeststext, so we can update via a 2mb file rather than 26mb (that is if none of the art changes).[/quote]Done. Available from my simple <a href="http://millenniumdock.bravepages.com/storage/others/potcmods.htm" target="_blank">PotCMods website</a>.
BTW: Some more changes were made since yesterday.

<!--`QuoteBegin-NathanKell`+--><div class='quotetop'>QUOTE(NathanKell)</div><div class='quotemain'><!--QuoteEBegin-->Also, I think I found the reason for the problems in portraits, there's a number of ? in the face_nnn entries.[/quote]So: How do we solve that? <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />
 
<!--`QuoteBegin-NathanKell`+--><div class='quotetop'>QUOTE(NathanKell)</div><div class='quotemain'><!--QuoteEBegin-->What's the error? no rAP data? Probably means it's looking for a town before the town table has been initialized.[/quote]So that's no real problem, right? Or is there some way of fixing it?
 
<!--`QuoteBegin-NathanKell`+--><div class='quotetop'>QUOTE(NathanKell)</div><div class='quotemain'><!--QuoteEBegin-->Who's `Jean-Leon` Voltaire? The char (in Douwesen.c inits) points to an undefined location and `non-existant` dialog... (and a model called "test")[/quote]Removed him from the Douwesen.c file. Suppose that won't hurt then, right? I haven't got the slightest idea who put him in there. I know I didn't. I also removed all *.an files from the full archive. Didn't know they weren't needed. I just add what other people give me. <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" />

BTW: I also renamed the cormorant to Albatross. I changed it in the items_init file (I think), the resource item file and the apothecary's dialog. Did I miss anything out? <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 not entire certain if the blocking feature is now properly disabled. If you attack an enemy while he/she is blocking, you'll get a 0/<i>[hp]</i> message above his/her head, which didn't use to be there. Shame the blocking animation can't be disabled, but at least the blocking effect is disabled for your fists, which is already a major improvement.
 
<!--`QuoteBegin-CatalinaThePirate`+--><div class='quotetop'>QUOTE(CatalinaThePirate)</div><div class='quotemain'><!--QuoteEBegin-->Pieter, you should really change your personal title from "`Modder-to`-be" to "Another modding addict"  xD:  :yes <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" />[/quote]LOL! <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" />
Only I don't consider myself a good enough modder to actually do that. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
Maybe some day... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />

*Looks up and down this page*
I'm monologueing quite a bit. <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" />
Should change my title to "Professional Monologuer" or something like that. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" />
 
<!--`QuoteBegin-Pieter` Boelen+--><div class='quotetop'>QUOTE(Pieter Boelen)</div><div class='quotemain'><!--QuoteEBegin--><!--`QuoteBegin-NathanKell`+--><div class='quotetop'>QUOTE(NathanKell)</div><div class='quotemain'><!--QuoteEBegin-->Who's `Jean-Leon` Voltaire? The char (in Douwesen.c inits) points to an undefined location and `non-existant` dialog... (and a model called "test")[/quote]Removed him from the Douwesen.c file. Suppose that won't hurt then, right? I haven't got the slightest idea who put him in there. ... [/quote]

Sounds like more bits of concentrated evil!
 
<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->Sounds like more bits of concentrated evil!<!--QuoteEnd--></div><!--QuoteEEnd-->
Alan? <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/w00t.gif" style="vertical-align:middle" emoid=":woot" border="0" alt="w00t.gif" />
 
Bingo. Sorry. I dunno why he's there, since Pieter copied just my blacksmith bits and put it into french clean code files, right? Anyway he may or may not be part of a quest I got halfway through writing and then got bored and frustrated with and moved on to other things... But I like the skin, it's a mixed model and uses a favourite actor of mine, Jean Reno (Jean - Reno + Leon (The Professional) + Voltaire, just coz it's such a cool name and I like the idea of a `philosopher-pirate`). So I'll release the skin alone along with some more captains and three very fancy dressed ladies (one being a replica of Christina Ricci from Sleepy Hollow; I'd post a picture but this computer has no floppy disk drive...)

Looks like I'm responsible for a lot of the superflous code and animation files...
 
Even without Petros' remark, from the name I would have guessed it was you. Sounds so exciting - looking forward to meet Monsieur Voltaire. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/william.gif" style="vertical-align:middle" emoid=":will" border="0" alt="william.gif" />
 
Aw, shucks. <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" />

Besides, I have this need to see how a thing works...{no one else here'd understand that, now would they? Naw... <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#>/modding.gif" style="vertical-align:middle" emoid=":modding" border="0" alt="modding.gif" /> }

And I should probably better consolidate my posts so its' not such a piecemeal stream of consciousness. <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" />

In re: keys. What I meant is, I thought I had read somewhere that you'd _fixed_ the problem wherein controls need to be reset whenever init_pc.c is changed.

Pieter: thanks for the `code-only` package!
In re: pictures.ini. I wasn't clear; I mean there were some words like: p?cture or fa?e or whatever. Also one of the headers--[face_200] I believe, was missing. So I just replaced the ?s with the appropriate letters and added the missing header.
{I also added a few small mods/tweaks myself, which I'll send over}

Re: towntable. Can you post the errors you're getting?

Re: AN files. No worries. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />


In re: "Only I don't consider myself a good enough modder..."

Well, then listen to your compatriots. _We_ do! <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" />
{If this is `modder-to`-`be-hood`, what wondrous things will come next!?}
-------
Alan: Ah, gotcha.

Oh, and in re Alan's Funky Characters, I notice Stephen seems missing from the Oxbay.c chars init...
------
In re: check for items.
What you want to check for is:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->bool tmpbool = sti(NPChar.money);

if(!tmpbool)

{

    aref tmpattr;

    if(checkattribute(NPChar,"items"))

    {

 makearef(tmpattr, NPChar.items);

 tmpbool = GetAttributesNum(tmpattr) > 0;

    }

}

if(tmpbool) { add_dialog_option }<!--c2--></div><!--ec2-->

That will check whether the character has any money or items. If you only care about swords or guns in terms of items, write it as follows:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->bool tmpbool = sti(NPChar.money);

if(!tmpbool)

{

    tmpbool = FindCharacterItemByGroup(NPChar, BLADE_ITEM_TYPE) != "" || FindCharacterItemByGroup(NPChar, GUN_ITEM_TYPE) != "";

}

if(tmpbool) { add_dialog_option }<!--c2--></div><!--ec2-->
 
And we probably ought to reduce the money required to up rep with the church. I think when I wrote that I was _way_ `over-optimistic` over how much money a character of X level would have...
 
<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/mybad.gif" style="vertical-align:middle" emoid=":facepalm" border="0" alt="mybad.gif" /> And here, we all thought it was just the greedy church! <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#>/icon_wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="icon_wink.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" />

This all sounds so great!

Pieter, be careful with how much you post, you'll catch up to me, at that rate! <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#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
 
Don't worry Catalina; that's highly unlikely. You're still at 20 times more posts than me and I don't post in every thread, like you do.

Thanks for all the help! If I can still find time for it, I'll try and do some more improving soon. Unfortunately, I seem to be running out of it real fast due to approaching exams. (UUURGH! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/piratesing.gif" style="vertical-align:middle" emoid=":shock" border="0" alt="piratesing.gif" /> )
Real life. Bleeeeh. I sucks! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/mad.gif" style="vertical-align:middle" emoid=":c" border="0" alt="mad.gif" />
 
Ah, forget that exam! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/bookish.gif" style="vertical-align:middle" emoid=":mm" border="0" alt="bookish.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/whippa.gif" style="vertical-align:middle" emoid=":whipa" border="0" alt="whippa.gif" /> Start a career as gamedesigner <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/modding.gif" style="vertical-align:middle" emoid=":modding" border="0" alt="modding.gif" />

Re. dialogtext in .c files: I confess that I use to write all my dialogfiles with text included cause that's MUCH easier and I doubt that my files will ever be translated anywhere <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/no.gif" style="vertical-align:middle" emoid=":no" border="0" alt="no.gif" />

Though the dialogmerger would take care of the first point. I asked Scheffnow if he would mind if we post it for download at PA, and he would be quite happy with that. He only asked that we make it explicit that the tool as well as the sourcecode is free for everybody.
Could someone with the merger and the upload ability take care of that? i think that would help our "newcomers" a lot. Thanks <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
 
We all should start new careers as game designers! Maybe we'd be able to make the ultimate pirate sim/game we've all been waiting for! <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" />

I sent on the DialogMerge to the FTP - it's in a folder called "DialogMerge by Scheffnow".

CCC, kindly thank Scheffnow for us. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/flower.gif" style="vertical-align:middle" emoid=":ty" border="0" alt="flower.gif" />
 
CCC: I did too. <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" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
It _is_ far easier.

Re: DialogMerge. What we really need is a Dialog<b>Un</b>Merge util...
I'll see if I can write one, but my _actual_ programming knowledge is both sketchy and rusty.

Pieter: best of luck! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/bookish.gif" style="vertical-align:middle" emoid=":mm" border="0" alt="bookish.gif" />
 
Just before Scheffnow left, he mentioned he was working on a `re-merge` capability for his DialogMerge. I don't know if he ever did much more than just contemplate the idea, but you might ask if he made a start at it; perhaps that would help. <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