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

Shipyard boat listing... order by cost!

IncredibleHat

Landlubber
Storm Modder
I'm running the build 12.1 download that is currently for download (as of today).

In the shipyard:
I want ships ordered by cost like the original game does. Lowest cost ship on the left going up to the highest cost ship on the right. It's simply a preference thing... one I have no idea WHY it was 'shuffled up' the way it is now.


Can anyone here help point me in the right direction where this would be located? I am moderately fluent in C, but by no means fully capable of writing my own mods for this game in full like you all! Nor have the time to dig through gaboodles of megs of c and header files.

Thanks.
 
I believe the order of the ships might be based on the order they're in PROGRAM\SHIPS\ships_init.c. Newer ships are at the end of the list and are nearer the bottom of that file. Try cutting and pasting the ships in an order your prefer, then see if the ingame order has changed.

BTW: Come to think of it, this might also be why gold is always at the beginning in your inventory list. Worth checking out; maybe we can change the order of items a bit after all... <img src="style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />
 
Yeah... ordering Items is something I had wanted from the first time I started with the stock game. I always looked for some 'hidden action' where like double clicking and item, or click dragging, or right click dragging or SOMETHING would move items around in inventory. Alas!

The only way I found to reorder inventory, was to go up to an officer, and do the juggle with them. Unfortunately, I could never reorder by best gun and best sword, because the officer would equip it instantly during trade, and not let me move it back to my inventory.

THAT however is fixed in the MOD, allowing me to remove all items from an officer if I wanted too. Which is nice, sort of a manual workaround to reordering one's inventory.


I will try the ships thing. Although, there are SO MANY different ships now in the shipyard... and they all have wacky numbers! Like a hold of 1362 ... and another ship just like it, but with a .03 faster speed, and 6 less in hold... but costs more, and is at the end of the ship list??

But I will try the ship ini file to see if it helps. Thanks.
 
Actually, to make it far easier (lol relative term), in the function "FillShipsList()"... there could be an array sort by price. I'm just pulling a blank on the code for such a beast.

Ah well, I'll just live the listing being almost randomized, and spend an hour at the shipyard looking at all the boats, kicken their yardarms and seeing what I should buy.

A bug I noticed though, you cant even attempt to buy a ship that is worth more than your current gold, even though you are going to be replacing a ship with the purchase (and the total would be much less than the gold you have on hand).
 
<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->
I will try the ships thing. Although, there are SO MANY different ships now in the shipyard... and they all have wacky numbers! Like a hold of 1362 ... and another ship just like it, but with a .03 faster speed, and 6 less in hold... but costs more, and is at the end of the ship list??
<!--QuoteEnd--></div><!--QuoteEEnd-->
This is because all the ships have nationality modifiers. This means there are something over 400 different ships in the game. You're unlikely to run across the same ship twice.

<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->A bug I noticed though, you cant even attempt to buy a ship that is worth more than your current gold, even though you are going to be replacing a ship with the purchase (and the total would be much less than the gold you have on hand).<!--QuoteEnd--></div><!--QuoteEEnd-->
You can always sell your ship before buying a new one. I haven't tested to see if the game can figure out that you're replacing a ship.

I decided to replace my ship yesterday, but the shipyard didn't have what I wanted for a replacement. I sold the old ship anyway, and had no ship at all. Went to the tavern, came back the next day, and found what I wanted. So selling your only ship is possible.

Hook
 
<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->This is because all the ships have nationality modifiers. This means there are something over 400 different ships in the game. You're unlikely to run across the same ship twice.<!--QuoteEnd--></div><!--QuoteEEnd-->
Makes it realistic. No two boats CAN be the same... especially back then when they were all hand crafted.

<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->You can always sell your ship before buying a new one. I haven't tested to see if the game can figure out that you're replacing a ship.

I decided to replace my ship yesterday, but the shipyard didn't have what I wanted for a replacement. I sold the old ship anyway, and had no ship at all. Went to the tavern, came back the next day, and found what I wanted. So selling your only ship is possible.
<!--QuoteEnd--></div><!--QuoteEEnd-->
Interesting.

Well, the main reason I made a stink, was I wasn't wanting to lose all my cargo I had in it to sell it off, then buy a new boat with the new gold, only to be missing all my cargo.

Also, whats up with the "you will get your ship back in two days" stuff? I didn't even DO anything... just browsed the shipyard, and they are gonna hold onto my ship for two days? Since when is this the 21st century? Hehehe...
 
<!--quoteo(post=151233:date=Jun 15 2006, 10:15 PM:name=IncredibleHat)--><div class='quotetop'>QUOTE(IncredibleHat @ Jun 15 2006, 10:15 PM) [snapback]151233[/snapback]</div><div class='quotemain'><!--quotec-->
Also, whats up with the "you will get your ship back in two days" stuff? I didn't even DO anything... just browsed the shipyard, and they are gonna hold onto my ship for two days? Since when is this the 21st century? Hehehe...
<!--QuoteEnd--></div><!--QuoteEEnd-->
I thought that had been fixed in one of the recent updates. And anyway, it takes a long time to look at that many ships! <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />

For what it's worth, I never liked the "two days" thing either. The only good part is, you have an invisible purser who will buy emergency rations if you run out. At least if you're in port. If you mess up and run out while at sea, you have to do the normal pirate thing: board another ship and take its food!

Hook
 
If I have turned off "FOOD_ON" to "no longer check wheat and rum"... does that ALSO turn off the starving crew stuff? Or does it only turn off them getting pissed off and going rampant on you?
 
turning it food off completely disables the mod, so that they don't use it at all. you would have crew that don't eat and don't need to eat and you only have to worry about paying them.
i think that if you have more than one ship, you should move the cargo you want to the second ship and sell you flagship [yours]. but removing the cargo will reduce the amount of money you get from the shipyard.
i agree on the fact that the ships need to be reorganised, but i don't know who could do it. maybe pieter boelen or one of the other great modders could fix that problem.
 
If the order of the ships in ships_init.c is the same as the order in the shipyards, we can at least group all luggers, corvette's, battleships, etc together. Have the ships ordered by class. Then at least there is some form of logical order in there.

<!--quoteo(post=151233:date=Jun 16 2006, 05:15 AM:name=IncredibleHat)--><div class='quotetop'>QUOTE(IncredibleHat @ Jun 16 2006, 05:15 AM) [snapback]151233[/snapback]</div><div class='quotemain'><!--quotec-->
Also, whats up with the "you will get your ship back in two days" stuff? I didn't even DO anything... just browsed the shipyard, and they are gonna hold onto my ship for two days? Since when is this the 21st century? Hehehe...
<!--QuoteEnd--></div><!--QuoteEEnd-->
That was so in Build 12, but it was changed in the Post Build 12 mods. In those mods, the amount of waiting time is based on the amount of work done. If no work is done, there is no waiting time. At least, that is how it worked. Is it changed again? <img src="style_emoticons/<#EMO_DIR#>/modding.gif" style="vertical-align:middle" emoid=":modding" border="0" alt="modding.gif" />
 
I will check again to make sure on that glitch. I coulda sworn I saw that message pop up when I was testing out PBM (12.2?). I may be recalling the bug from 12.1 though. I'll report back later.
 
Back
Top