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

PC Editing Files

Hi all,

I recently started playing PotC again since those bugs annoyed me a couple of years ago, but I've read enough to circumvent them etc.

Now my question is, is it possible to change the 'saber' you get at the start(tutorial) to the 'Conquistador', I tried changing some strings in the characters_init.c file and edited the conquistador weapon to be an even better blade.

I managed to make it look like a Conquistador, but that's the best I could do, I always have a normal saber.

I also tried to add a Conquistador in my chest in the ship(the one where you have to get your spyglass), but that ends up on a black screen when starting a new game, or do I have to remove/move that */ at the end of those 4 lines of code ?
Changing the amount of Health potions in the chest doesn't seem to work either.

[EDIT]: I changed all the 'itm.minlevel' lines from the inititems.c file to 0 for all weapons, so do I have a chance to get a Conquistador or any other good weapon when starting a new game ?

Greetz,
Cpt. John Black
 
<img src="style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" /> Cpt. John Black
Welcome to these waters!

Using Build 12 or pre 13, most people find it fairly easy to get good swords early in the game, either by finding or buying one.

Giving yourself a very good sword early in the game may make it less of a challenge that soon becomes boring.


But if you must ... go to "initItems.c" file to find the Blade# for the sword you want.

Then in "characters_init.c" right after the lines that start "SetCharacterGoods" add a new line:

GiveItem2Character(ch,"bladeX+Y");

Make X the number of the sword, and Y the condition of the blade, that is if you are using the weapons mod.
Otherwise just leave the +Y part out.
 
Thanks for that reply,

I added the line:
GiveItem2Character(ch,"blade14");

Hope that's correct and I'm not using any mods yet, I am thinking of installing them, since I do like some stuff we can do there, like getting loot from killed pirates etc.
Those mods would make me cheat less at the start, like adding loads of gold.

I was also wondering how to change the ability/skill points gained each level, I know I managed to change this a few years ago, but now I can only seem to change the amount of free points I get at the start.

Lemme test that line I just added, I'll edit this post or reply again with results <img src="style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />

[EDIT]: It works great, good to know that line of code <img src="style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
Now can anyone give me the original values of the conquistador again, I changed it to 21-28 damage, piercing 50, block 90, since I don't want to make it too easy <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />

[EDIT2]: OOh the modpack also has a sidestep function added, I'll be installing that as soon as we get a final release of the 13 mod pack <img src="style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />

Greetz,
Capt. John Black
 
I was just looking at that in the stock version so here it is.

makeref(itm,Items[n]);
itm.id = "blade14";
itm.groupID = BLADE_ITEM_TYPE;
itm.name = "itmname_blade14";
itm.describe = "itmdescr_blade14";
itm.folder = "items";
itm.model = "blade14";
itm.picIndex = 7;
itm.picTexture = "ITEMS_3";
itm.price = 10000;
itm.dmg_min = 15.0;
itm.dmg_max = 20.0;
itm.piercing = 20;
itm.minlevel = 10;
itm.rare = 0.1;
itm.block = 90;
itm.param.time = 0.1;
itm.param.colorstart = argb(64, 64, 64, 64);
itm.param.colorend = argb(0, 32, 32, 32);
n++;
 
Cool thanks Petros,

Seems I didn't change it too drastically, maybe piercing % is a bit high, I'll check that out while playing :p

And can I add more then 1 Conquistador to my character, like adding a number, or do I just have to add 3 more of those codelines to get 1 for each of my officers ?

[EDIT]: Never mind that question, just added that line 3 more times and I got 4 now, thanks again Petros <img src="style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />

Now how about those skill and ability points you gain each lvl, would like to change it to 2 abilities and 4 skillpoints per lvl, so I don't have to give myself tons of free points at the start of a game :p

[EDIT2]: Ok never mind that again, found the answer here : <a href="http://www.piratesahoy.com/forum/index.php?showtopic=6145&hl=ability+points" target="_blank">http://www.piratesahoy.com/forum/index.php...=ability+points</a>

Greetz,
Capt. John Black
 
Back
Top