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

Adding new items to the game

Sordid

Utterly inexcusable!
Storm Modder
So I've grown frustrated with the fact that only the regional maps show you the names of beaches and such and decided to make a detailed map of everything in the caribbean. Now replacing the regular map texture file is trivial, but I'd very much like this to be a separate item, so that we have an old map with just the islands, a regular map with towns, and a detailed map with everything.
Unfortunately, while I can do the texture editing easily, I'm a modding n00b. Help, please?
 
You need to add it to program\items\initItems.c

Cap'n Drow
 
And do I need to start a new game to see it or will it show up even if I load an older game?

Edit: That's funny. Poking in the game files I found this in the ItemsDescribe.txt file:

itmname_map_good {Excellent map}
itmdescr_map_good {
A copy of the map of the legendary pirate Francis Drake. It's nearly all a real seadog might need.

Seems there is supposed to be an even better map than the regular one. However, there is no entry for such an item in initItems.c, nor a texture in the resources that might be used for it.
 
I believe you will need to start a new game for that.

Interesting find. So now you know what you can call it. **grins** Now we just need to make it.

Cap'n Drow
 
Well making the texture will be simple enough, the tricky part will be putting it into the game. Like I said, modding n00b here.
Anyway, I'm leaving for a day or two, so I'll get back to it when I come back.
 
Once you have the texture created, let me know and I'll do what I can to help get it into the game.

Cap'n Drow
 
The reInit function is something that should be researched soon... every little change or only 1 item addition is a restart in the game, easy if your character is low developed and you´ve played little parts of all the quests available, but one you´ve got a more developed character and trying to follow a long questline like the nationals-questlines... it hurts <img src="style_emoticons/<#EMO_DIR#>/cold.gif" style="vertical-align:middle" emoid=":brr" border="0" alt="cold.gif" />

<b>BEST REGARDS</b>
 
Indeed, that just means going into the code for the build mod and tracing out how that works.

Once we have the re-init parts of the code figured out, shouldn't be too tough.

But the build mod is so large that its a daunting task.

There are times I wish some of the original individual mods were still available so we can just compare the specific changes we are trying to make to our code rather than having to go through all the build stuff that we aren't initially looking at using.

Cap'n Drow
 
<!--quoteo(post=333153:date=Jun 26 2009, 10:56 PM:name=Cap'n_Drow)--><div class='quotetop'>QUOTE (Cap'n_Drow @ Jun 26 2009, 10:56 PM) <a href="index.php?act=findpost&pid=333153"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Once you have the texture created, let me know and I'll do what I can to help get it into the game.

Cap'n Drow<!--QuoteEnd--></div><!--QuoteEEnd-->
Thanks. Right now I'm waiting for somebody to post a high res scan of the map that comes with the game, since thats what I'd like to use as the base texture.

Edit: Oh hai, so I have the texture ready. <img src="style_emoticons/<#EMO_DIR#>/bounce.gif" style="vertical-align:middle" emoid=":b:" border="0" alt="bounce.gif" />
 
Back
Top