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

Changing Weapons

Cattman2236

Landlubber
Hey everybody i need help on how to change the starting weapon, if you dont know what i mean ill explain. When you start a new game id like to start the game with the best sword and gun instead of the saber and the short pistol. Can anybody tell me how to do this please.
 
Ok, open up characters_init.c.
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->C:\Program Files\Bethesda Softworks\Pirates of the Caribbean\PROGRAM/Characters/characters_init.c<!--c2--></div><!--ec2-->
Scroll all the way down to the bottom, where it says stuff about the goods in your hull. It should look like this:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->// MainCharacter start parameters
    ch.Ship.HP = 300;
    ch.Ship.crew.quantity = 30;
    SetCharacterGoods(&Characters[0],GOOD_BALLS,300);
    SetCharacterGoods(&Characters[0],GOOD_GRAPES,100);
    SetCharacterGoods(&Characters[0],GOOD_KNIPPELS,100);
    SetCharacterGoods(&Characters[0],GOOD_BOMBS,300);
    SetCharacterGoods(&Characters[0],GOOD_CHOCOLATE,100);
    SetCharacterGoods(&Characters[0],GOOD_LEATHER,25);<!--c2--></div><!--ec2-->
Add this under that:

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->GiveItem2Character(ch, "Item ID of the Sword you want");<!--c2--></div><!--ec2-->
C is case sensitive, so be sure you copied exactly what I wrote (with the Sword's Item ID filled in)

The item ID is this: (quoted from the Windmill Slayer)
<!--QuoteBegin-PROGRAM/ITEMS/initItems.c+--><div class='quotetop'>QUOTE(PROGRAM/ITEMS/initItems.c)</div><div class='quotemain'><!--QuoteEBegin-->//windmill slayer
makeref(itm,Items[n]);
itm.id = "blade23"; <span style='color:red'><b><<<<This thing right here!!</span></b>
itm.groupID = BLADE_ITEM_TYPE;
itm.name = "itmname_blade23";
itm.describe = "itmdescr_blade23";
itm.folder = "items";
itm.model = "blade23";
itm.picIndex = 16;
itm.picTexture = "ITEMS_3";
itm.price = 10000;
itm.dmg_min = 30.0;
itm.dmg_max = 50.0;
itm.piercing = 0;
itm.minlevel = 10;
itm.rare = 0.1;
itm.block = 20;
itm.param.time = 0.1;
itm.param.colorstart = argb(64, 64, 64, 64);
itm.param.colorend = argb(0, 32, 32, 32);
n++;<!--QuoteEnd--></div><!--QuoteEEnd-->
Hope it helps.
-Colo-
 
Anyone know the code for the solingen rapier? Because the Windmill Slayer is ok, but you can loot it pretty quickly off stormy start.
 
HKD,
Blade26 <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/doff.gif" style="vertical-align:middle" emoid=":doff" border="0" alt="doff.gif" />

I've always been a Blade25 man, myself. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/duel_pa.gif" style="vertical-align:middle" emoid=":ixi" border="0" alt="duel_pa.gif" />

Welcome Cattman2236 to this fine Port O' Call. <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" />
 
Meh, if it had been me, I would have set it as "solingen". You can set the ID to whatever you want.
 
<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" /> Cattman2236, and welcome aboard! Have an ale! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/beer2.gif" style="vertical-align:middle" emoid=":beer" border="0" alt="beer2.gif" />

I suppose you could go through the file and find the stats you want or the pic of the blade you want and then you can choose as you will. To each his own. I like the Solingen too. <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" />
 
Thanks for the help ladys and gents, i just bought the game a week back and started modding it for fun like. Anyways thanks for the help.
 
Happy to help; pop in anytime and let us know if you have any more questions! <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" /> OR dive right in if you want to contribute! <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" />
 
In Build 12 without any Post Build 12 mods, the Solingen Rapier is still the rapier, only better.
 
Hey everybody i have one more question, which will probably seem easy to you lot. Anyway ill explain, When sailing a ship youll all notice the crew moving around on the deck, but when you go into the other view where your walking along the deck the crew go away somewhere??. So what im asking is how can i get the crew to show up ion BOTH views of the ship??. Any help will be much appreciated. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" />
 
Hello. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />

As far as I know, if you install Build 12 then you will see the crew on your ship too - unless I am mistaken and that feature comes with Pieter's current modpack... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/blush.gif" style="vertical-align:middle" emoid=":eek:ops" border="0" alt="blush.gif" />

But it's either of those. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
 
i see, what file do i have to edit to make the crew show up?? because id really like to make the crew show up myself, well at least i know i can do it then.
 
Hmm, not sure - but if you have Build 12 installed (from the FTP server here) then you should see them run about... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/william.gif" style="vertical-align:middle" emoid=":will" border="0" alt="william.gif" />
 
And the crew have better graphics, and turn in to common officer skins. Heh, a little bug is that the crewmen climb up and down the rigging of a fallen mainsail, even though the mainsail took the rigging down with it!
 
<!--QuoteBegin-High Sea Lass+--><div class='quotetop'>QUOTE(High Sea Lass)</div><div class='quotemain'><!--QuoteEBegin-->As far as I know, if you install Build 12 then you will see the crew on your ship too - unless I am mistaken and that feature comes with Pieter's current modpack...  <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/blush.gif" style="vertical-align:middle" emoid=":eek:ops" border="0" alt="blush.gif" /><!--QuoteEnd--></div><!--QuoteEEnd-->It's in the Build. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/yes.gif" style="vertical-align:middle" emoid=":yes" border="0" alt="yes.gif" />
 
Thanks for verifying it, Pieter! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/danse1.gif" style="vertical-align:middle" emoid=":dance" border="0" alt="danse1.gif" />

I use your modpack as well, so I can't really tell what is what, heh... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/blush.gif" style="vertical-align:middle" emoid=":eek:ops" border="0" alt="blush.gif" /> Love your modpack! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" />
 
Welcome aboard, <b>Cattman2236</b>! <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" /> Take a seat, have some of our fine rum, and choose a wench, we have plenty! <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#>/buds.gif" style="vertical-align:middle" emoid=":drunk" border="0" alt="buds.gif" />

Actually, High Sea Lass, the Build 12 is not from the FTP, but from the files section of the mainsite (<a href="http://www.piratesahoy.net" target="_blank">http://www.piratesahoy.net</a>) of PA!. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
 
<!--QuoteBegin-Rico+May 30 2005, 10:12 PM--><div class='quotetop'>QUOTE(Rico @ May 30 2005, 10:12 PM)</div><div class='quotemain'><!--QuoteEBegin-->and choose a wench, we have plenty! <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#>/buds.gif" style="vertical-align:middle" emoid=":drunk" border="0" alt="buds.gif" /><!--QuoteEnd--></div><!--QuoteEEnd-->
Try to pick this one and you'll find your ears pierced - by a sword, from one ear to another... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/8q.gif" style="vertical-align:middle" emoid=":8q" border="0" alt="8q.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/whistling.gif" style="vertical-align:middle" emoid=":wp" border="0" alt="whistling.gif" />

<!--QuoteBegin-Rico+May 30 2005, 10:12 PM--><div class='quotetop'>QUOTE(Rico @ May 30 2005, 10:12 PM)</div><div class='quotemain'><!--QuoteEBegin-->Actually, High Sea Lass, the Build 12 is not from the FTP<div align="right">[snapback]108269[/snapback]</div><!--QuoteEnd--></div><!--QuoteEEnd-->
Bah, HTML links! Humbug! That's for little boys holding on to momma's skirt! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/jackrum.gif" style="vertical-align:middle" emoid=":j3" border="0" alt="jackrum.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" />

Nah, but I'm an FTPer myself, so when available, I'll go there! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/razz.gif" style="vertical-align:middle" emoid=":razz" border="0" alt="razz.gif" /> It is the same files anyway. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
 
Back
Top