• 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

<!--`QuoteBegin-CatalinaThePirate`+--><div class='quotetop'>QUOTE(CatalinaThePirate)</div><div class='quotemain'><!--QuoteEBegin--><b>Pieter</b> I love the "trusty fists" idea, but when you are unarmed, no enemy will attack you. They might have their swords out but they will not attack you if you do not have a sword equipped.  :?  Are you going to make a boxing ring?  :cheeky[/quote]You won't be unarmed. You'll have a sword which is your fists. That's the best I can do, I'm afraid. So no <i>real</i> fistfighting, unfortunately (for that, check out <a href="http://www.lucasarts.com/products/indiana" target="_blank">Indiana Jones and the Emperor's Tomb</a>!)
I am not going to make a boxing ring, but maybe you can get Alan to. <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-CouchcaptainCharles`+--><div class='quotetop'>QUOTE(CouchcaptainCharles)</div><div class='quotemain'><!--QuoteEBegin-->Did you define pchar as object ?[/quote]Ehm. No... Oops. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
Thanks for all your other coding help. I'll be trying it out now.

And thanks a major lot to Petros! I just added your great new interface pictures to the game (and blatantly hyjacked CCC's item file <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" /> ). I used the second, white etherbottle picture, but can still change it into the other one if that is preferred.
 
Well, the poles are closed, the votes are in ...

... and he winner is "ETHER LIGHT"
Fewer calories but same great effect!



Disclaimer: Capt. Petros and his crew do not

encourage, propose, accept, endorse, allow, consent to, authorize,

permit, condone, promote, advance, nor support the recreational use

of ether ..........................................................during boardngs!
 
<!--`QuoteBegin-CouchcaptainCharles`+--><div class='quotetop'>QUOTE(CouchcaptainCharles)</div><div class='quotemain'><!--QuoteEBegin-->
However, I found some code that did do the trick:<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->GiveItem2Character(Pchar, "blade"+ (1+ rand(9)) ); // gives you blade1, blade2... or blade10

EquipCharacterByItem(pchar, FindCharacterItemByGroup(pchar, BLADE_ITEM_TYPE)); // equips your blade<!--c2--></div><!--ec2-->My first bit of working code. [SHOCK] <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" />  
Congratulations <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" /> Don't know what it would do if you had several blades, but as this runs at the very beginning of the game it is a great solution.[/quote]I now do know what it would do if you have several blades: It will equip the best quality blade of the blade the closest to the bottom in the initItems.c file. (So if it has the choice between an excellent Solingen Rapier or a badly worn Bosun's Choice, it will choose the latter, because it is closer to the bottom.
 
I put up file "itemsccc.tga.tx" containing the new ether on the ftp.

All one has to do in inititems.c is find Etherbottle and change stats.

itm.picIndex = 10;
itm.picTexture = "ITEMS_ccc";
 
<!--`QuoteBegin-alan_smithee`+--><div class='quotetop'>QUOTE(alan_smithee)</div><div class='quotemain'><!--QuoteEBegin-->
neato fist. it makes me wanna see a big "sock! pow! baff!" graphic when I punch someone. Or even a big juicy "swak!"[/quote]

Yeah, it is kind of Batman and Robinish.
 
Thanks a lot Petros! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/w00t.gif" style="vertical-align:middle" emoid=":woot" border="0" alt="w00t.gif" />

BTW: I need to know where to find the code that removes your equiped blade from your inventory when you die and are regenerated, because I must make sure that your fists are not removed when you have them equiped when you die.
 
And why doesn't "CheckAttribute(attack,"equip.bladeX4")" work to check whether you have "bladeX4" (being your fists) equiped?
And would "RemoveCharacterEquip(enemy, bladeX4)" work to unequip only your fists, but not unequip if you have something else equiped?
<span style='color:red'>Edit:</span> Nope. Both don't work. Does somebody know a code that does work? <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
 
<!--`QuoteBegin-Pieter` Boelen+--><div class='quotetop'>QUOTE(Pieter Boelen)</div><div class='quotemain'><!--QuoteEBegin-->Thanks a lot Petros! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/w00t.gif" style="vertical-align:middle" emoid=":woot" border="0" alt="w00t.gif" />

BTW: I need to know where to find the code that removes your equiped blade from your inventory when you die and are regenerated, because I must make sure that your fists are not removed when you have them equiped when you die.[/quote]
IIRC in the "survival" modcode at the end of seadogs.c

And I second the thanks to Petros <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />

"Ether light: makes you skinnyslim in no time"
 
Pieter Boelen said:
And why doesn't "CheckAttribute(attack,"equip.bladeX4")" work to check whether you have "bladeX4" (being your fists) equiped?
And would "RemoveCharacterEquip(enemy, bladeX4)" work to unequip only your fists, but not unequip if you have something else equiped?
<span style='color:red'>Edit:</span>
if(enemy.equip.blade=="bladeX4") should work.
 
I'm really looking forward to seeing how this turns out, GREAT JOB, Pieter! And nice job with the pics, Petros! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" /> That fist looks excellent! <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" />
 
Aha, I see several examples of solingen rapiers via google... I guess any rapier made in Solingen would be a Solingen Rapier. So far none really look like any `in-game` models... I'd keep the needle model for it since it isn't already used for anything else, unlike several other sword models.

Holy cow, look at this. I mean, were sword models fairly common, you'd see hundreds of an identical type, or is it strange that some of these photos look identical to POTC swords? <a href="http://www.armor.com/2000/catalog/rapiers.html" target="_blank">http://www.armor.com/2000/catalog/rapiers.html</a>

Here, by the way, is a `Solingen-made` sword attributed to Miles Standish, as in the game description: <a href="http://www.pilgrimhall.org/Standishrapier.htm" target="_blank">http://www.pilgrimhall.org/Standishrapier.htm</a>

---

So last night I snagged the B12.1 full install and Pieter's modpack... a lot of changes that weren't in the B11.99 I'd been playing so far. Some of these are errors and I guess some just changes from what I'd grown used to.

1) That "esc" key thing must go, sorry. Rather frustrating not to be able to escape out of the "enter" menu quick keys, but be forced to use one of them.

2) `Sail-to` is for some reason `re-enabled`. I can once again `sail-to` a ship within five feet of me, and can `sail-to` a faster ship even if mine is `draggle-arse` slow.

3) Nations' flags are removed from ships in the worldmap mode; they're all white again except for pirates. Actually I think I remember this in B11 or so, but it was restored to stock in B11.99 and I'd gotten quite used to it.

4) I see what Cat meant about the `med-sized` officer's portrait being just a series of orange horizontal bars. I got it for man6_1, my first hired officer, but no one else.

5) I hope this isn't my fault but the reload back to the ocean on the Crab Cliffs beach location was made automatic, so I hafta step carefully around it or I get sucked in.

6) Meeting smugglers on the beach has gone a bit awry. They aren't there most of the time on Conceicao, and when the guards gome to pester us I'm able to draw my sword and kill them all without any automatic dialog on their part, as before, and without them so much as moving a hand to stop me.

7) I haven't been playing with my pistol braces mod in place for a while, but I think it was Cat who said they're far too common, and she's right. They pop up more often than regular pistols.

Other than that... great work!

----

Cat: The only "end_game" case in my "quest" files is something entirely different, that has nothing to do with your Clement/Danielle dialog additions; none of the other cases are there either, even in B12.1.
Is anyone else who has played to the end of the game finding Danielle/Clement actually do anything when you return to the lighthouse?
 
<!--`QuoteBegin-CatalinaThePirate`+--><div class='quotetop'>QUOTE(CatalinaThePirate)</div><div class='quotemain'><!--QuoteEBegin--> And nice job with the pics, Petros!  :onya  That fist looks excellent!  :yes  :cheers[/quote]

Aw shucks, twern't nutin!
Really, thanks to all for the compliments.

I really only reworked some graphics already in game.

For the fist, just look at Professional Swordsman.


BTW, Cat, now that I have a modders #, would it be possible for
75BV.tga.tx to be changed to 50BV.tga.tx and ref. inside the
BadV.gm file?
 
Update on the Solingen. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" />

The bottem sword is a reproduction of an actual Solingen, after which I'm sure our Silverleaf was designed.

The top is my `re-skinned` silverleaf " Solingen Rapier"


<img src="http://www.pix8.net/pro/pic/7888greeb/368805.jpg" border="0" class="linked-image" />


Alan, I saw that Myles Standish sword <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/keith.gif" style="vertical-align:middle" emoid=":keith" border="0" alt="keith.gif" /> but didn't think it looked
"Cool" / Piratey enough. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/danse1.gif" style="vertical-align:middle" emoid=":dance" border="0" alt="danse1.gif" />

Also, there is no gm model for that sword and I am not a modeler <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
 
alan_smithee said:
6) Meeting smugglers on the beach has gone a bit awry. They aren't there most of the time on Conceicao, and when the guards gome to pester us I'm able to draw my sword and kill them all without any automatic dialog on their part, as before, and without them so much as moving a hand to stop me.
That's my fault

I added a few additional options to the smuggler and coastguard scene. You can doublecross the smugglers, bribe the guards with success(which Akella or Disney had disabled ) and run away from the guards. I added the last possibility because I hate it if the game freezes the player and forces him to wait for some quest event. If you smuggle at FdF with its wide beach you see the guards appear at the far end of the beach. Then you and the NPCs stand there like stunned idiots for ages till finally the very last guard has arrived and talks to you.
I just couldn't stand that, so I unfroze the player. Now you can do the thing obvious for a smuggler: run away. The guards will follow you, and if the commander catches up with you the dialog opens as before.
But in my fixation on my way of playing I missed the fact that the commonder can not talk to you if you have your sword drawn. So as long as you have drawn the guards can not continue in their actions.

If you want to delete my change completely open questsboth_reaction.c, find this case
case "Rand_CoastalPatrolAppear":
Trace("QUEST Rand_CoastalPatrolAppear reports: Soldier Idx = " + Pchar.quest.contraband.SoldierIDX1);
//StartQuestMovie(true, true, true);
// ccc stormy start; so that you can run from coastguards LAi_SetActorTypeNoGroup(Pchar);
// ccc LAi_ActorTurnToCharacter(Pchar, &Characters[makeint(Pchar.quest.contraband.SoldierIDX1)]);
// ccc LAi_ActorWaitDialog(Pchar, &Characters[makeint(Pchar.quest.contraband.SoldierIDX1)]);
//LAi_SetPlayerType(Pchar);
break;

and delete the three // ccc comments :


case "Rand_CoastalPatrolAppear":
Trace("QUEST Rand_CoastalPatrolAppear reports: Soldier Idx = " + Pchar.quest.contraband.SoldierIDX1);
//StartQuestMovie(true, true, true);
LAi_SetActorTypeNoGroup(Pchar);
LAi_ActorTurnToCharacter(Pchar, &Characters[makeint(Pchar.quest.contraband.SoldierIDX1)]);
LAi_ActorWaitDialog(Pchar, &Characters[makeint(Pchar.quest.contraband.SoldierIDX1)]);
//LAi_SetPlayerType(Pchar);
break;


There is another option: insert a line into the questcase above that prevents fighting on the beach:

// ccc LAi_ActorWaitDialog(Pchar, &Characters[makeint(Pchar.quest.contraband.SoldierIDX1)]);

LAi_LocationFightDisable(&Locations[FindLocation(pchar.location)], true);
// ccc so that guard can challenge you

//LAi_SetPlayerType(Pchar);
break;

That way you couldn't draw your blade after the coastguards appeared (you get the notoriuos "Hmm, that's not a good idea" if you try ). So whether you run or not, once the guard reaches you they will challange you in the usual way.

In order to allow you to fight coastguards or smugglers after that dialog you must cancel the LocationFightDisable, once in the first dialognode of Coastal Guards_dialog.c :


case "First time":
dialog.snd = "VoiceCOGUCOGU001";
d.Text = DLG_TEXT[0];
Link.l1 = DLG_TEXT[1];

LAi_LocationFightDisable(&Locations[FindLocation(pchar.location)], false); // ccc you can fight again

/* ccc stormy start, IMHO this was too predictable, so I added a random factor



and at the start of the Smuggler_OnShore_dialog.c

ref NPChar, PChar, d;
PChar = GetMainCharacter();
aref Link, Diag;
string NPC_Meeting;
int Shit;

LAi_LocationFightDisable(&Locations[FindLocation(pchar.location)], false); // ccc you can fight again

DeleteAttribute(&Dialog,"Links");



I leave it to majorityvote which solution is the better: old being temporary frozen, or new being temporary disarmed <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
 
<!--`QuoteBegin-Petros`+--><div class='quotetop'>QUOTE(Petros)</div><div class='quotemain'><!--QuoteEBegin-->Update on the Solingen. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" />  

The bottem sword is a reproduction of an actual Solingen, after which I'm sure our Silverleaf was designed.

The top is my `re-skinned` silverleaf " Solingen Rapier"  


<img src="http://www.pix8.net/pro/pic/7888greeb/368805.jpg" border="0" class="linked-image" />


Alan, I saw that Myles Standish sword  :keith but didn't think it looked  
"Cool" / Piratey enough. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/danse1.gif" style="vertical-align:middle" emoid=":dance" border="0" alt="danse1.gif" />  

Also, there is no gm model for that sword and I am not a modeler <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />[/quote]

<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" /> I need the above one for my Rochefort, it´s perfect! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />
 
<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/w00t.gif" style="vertical-align:middle" emoid=":woot" border="0" alt="w00t.gif" /> It is fantastic! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/w00t.gif" style="vertical-align:middle" emoid=":woot" border="0" alt="w00t.gif" /> I love it! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile2.gif" style="vertical-align:middle" emoid=":))" border="0" alt="smile2.gif" />
 
Message to Alan Smithee: There doesn't seem to be a `items9-2`.tga in your apothecary mod. Also: There <i>is</i> a Weapon_Set_2.tga.tx, which doesn't seem to be openable in the TGA/TX Converter...

I'm hoping to release a new modpack soon. There's quite plenty to add, I should say. I'm hoping I can get the disarming to work properly and the fists too before the end of the coming weekend, so I can upload a new version.
 
<!--`QuoteBegin-Pieter` Boelen+--><div class='quotetop'>QUOTE(Pieter Boelen)</div><div class='quotemain'><!--QuoteEBegin-->Message to Alan Smithee: There doesn't seem to be a `items9-2`.tga in your apothecary mod. .[/quote]

<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" />
Alan, I was hoping that items9 would be left for weapons requiring the 6 versions -3 to +2! as it has the 6 files.

Single items would just waste the space on the other 5 files.
(six versions of leaches?)

I had intended to put the new Solingen in "`items9-2`" thru "items9+3"
at itm.picIndex = 4;

Please let me know which index are still available.
 
Here for all solingen fans to enjoy!

But please don't stick these in game yet!

I will post them, each in it's proper itemsX.tga.tx file, as soon as
I can get feedback as to which file and index to use.
<img src="http://www.pix8.net/pro/pic/7888greeb/369666.jpg" border="0" class="linked-image" />
 
Beautiful, really beautiful. <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´m really looking forward to it.
 
Back
Top