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

Unconfirmed Bug Problems with cabin chests

Grey Roger

Sea Dog
Staff member
Administrator
Storm Modder
In "PROGRAM\Locations\init\Ship.c", several of the lines to add the new cabin chest are wrong. They set the cabin to use "chestcabin" whereas what is actually defined is "cabinchest". Most of the time this doesn't cause a problem because your own cabin is always "Tutorial_Deck", which somehow automatically gets the correct model to go with your ship type and then looks for "cabinchest". And if you board an enemy ship, the cabin comes from "boarding.c", which doesn't have the added chest. So it is only a problem if you teleport directly to one of the cabins in question, which happens in storylines, which is how I found out about it - during one scene in "Ardent", the screen went black, the game hung, and when I stopped the game, "system.log" had a message about not being able to find "chestcabin.gm". You can also see the problem by activating cheatmode, starting a game of "Hornblower" and asking C.S.Forester about fire ships - after the action on the fire ship, you witness the argument between captains Foster and Hammond, then Pellew takes you to the Indy's cabin, which is "Cabin2SJG", which is one of those affected, so the same thing happens.

So here's "Ship.c" with all instances of "chestcabin" corrected to "cabinchest". With that in place, Ardent and Hornblower can both teleport to their respective cabins and the games can continue.
 

Attachments

  • Ship.c
    41.1 KB · Views: 199
Back
Top