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

Fixed Black Pearl Fight Deck Missing Textures

Hylie Pistof

Curmudgeon
QA Tester
Storm Modder
Pirate Legend
The title says it all. I thought this was fixed 2 years ago but here it is again.

POTC new 2015-05-22 18-06-36-76.jpg POTC new 2015-05-22 18-06-48-19.jpg
 
I think I fixed the problem of the deck textures being messed up afterwards.
Do you have a save prior to that point so I can test it?
 
Well, I have a save in the maze. You would have to finish the maze and then fight the Black Pearl. There aren't many places to save at Cozumel.
 

Attachments

  • -=Player=- Cozumel.7z
    694.6 KB · Views: 55
No, it shouldn't. Just haven't found the time to do it yet.
What I want to do is to just disable the ship-specific texture check for all outside decks.
Which means that when you board the Black Pearl, you'll have a normal wooden outside deck and only get black decks going inside.

Bit of a shame that we can't have a black outside deck, but not all boarding decks HAVE a black version.
And it also isn't possible to make one of the two ships black, but not the other one.
So I suppose it is better to have them both normal wood than both black.
 
PROGRAM\Loc_ai\LAi_boarding.c:
Code:
    if (locationID != "BOARDING_Fort" && locationID != "BOARDING_Town")
     {
       string DeckTextureDir = "";
       bool AllowCustomTexture = true;
       if(HasSubStr(locationID,"ShipDeck"))       AllowCustomTexture = false;
       if(HasSubStr(locationID,"Cabin"))         AllowCustomTexture = false;
       if(locationID == LOCINITBRD_DEFAULTLOCATION)   AllowCustomTexture = false;
       if(AllowCustomTexture) // PB: Only in non-cabin interior locations
       {
         DeckTextureDir = GetShipDecksTexture(boarding_enemy, locationID);
       }
       if (DeckTextureDir == "")   DeleteAttribute(&Locations[locIndex], "filespath.textures");
       else             Locations[locIndex].filespath.textures = DeckTextureDir;
     }
This does the trick. That is one helluva long-standing bug finally fixed!
 
Back
Top