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

New to Modding, with a question

Captain Thom

Landlubber
I have been Playing PotC for about 6 months and have down loaded peters mods (version 14 with the updates). I did some minor mods before hand. I'm a little thrown by all the changes that have been made. I used to be able to change and add items (weapons and such) but the new codes have thrown me. Could someone tell me how to add items the game. Say a weapon, how do you add it, how do you set it's quality, how do you create it's description???

Thanks
Captain Thom
 
There is a tutorial on items in the PotC WIKI (a link is in the sticky thread in the "Alpha&Brainstorming" subforum)

The structure of the program\items\init_items.c file (where items are defined) has changed somewhat lately, but basically that tut is stil valid.
HTH <img src="style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
 
I just wanted to be sure I could still do it the old way. The new items.c file has every listed in row format. I wasn't sure how to change those, but noticed that some items are still listed via the old method. Apparently adding a +1 - +3 changes the quality of the weapon and there is a file somewhere with the descriptions.
 
You can still use the old way to add items to the game, but these are not qualitized. If you want to add qualitized weapons to the game, you have to do it in the table-like code. It's pretty easy: Just copy a line and change the variables. The explanation of which row shows what can be found above the table. But you need to use a program like Notepad++ (available from my site's Modding Tools page) to view the layout of the file properly. Regular Notepas doesn't show it right.

Note about qualitized weapons: Weapons are either qualitized or not. Non-qualized weapons can be added to the game in the old way and can not be increased/decreased in quality. Qualitized weapons have to be coded in through the table-like piece of code and can be found in varying qualities throughout the game. Quality can be increased at the blacksmiths (Conceiceo for guns, all others for blades) and the quality of blades decreases slowly over time.
 
Back
Top