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

Removing ships safley?

Merciless Mark

Build mod - Master Gunner
Storm Modder
How can i go about removing ships from the Build mod safley?

Because there are some reskins and such that dont quite agree with my tastes. but when i attempt to remove a number of them im faced with instability in PoTC and random crashes when i go into sea battles.
 
You should either remove them or comment them out in Ships\ships_init.c. After that, either make a reinit (I-button) or (better) start a new game. That should disable the ships you don't like.
 
thats what i did, but it ended with PoTC crashing most of the time <img src="style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" />
 
Did you reinit or start a new game? Otherwise the game might try to load a ship it think should exist, but can't find the init_ships entry... <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
If you could post an error.log from one of the crashes, maybe that'll shed some light on the crash?
 
<!--quoteo(post=142087:date=Mar 16 2006, 03:37 AM:name=Pieter Boelen)--><div class='quotetop'>QUOTE(Pieter Boelen @ Mar 16 2006, 03:37 AM) [snapback]142087[/snapback]</div><div class='quotemain'><!--quotec-->
Did you reinit or start a new game? Otherwise the game might try to load a ship it think should exist, but can't find the init_ships entry... <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
If you could post an error.log from one of the crashes, maybe that'll shed some light on the crash?
<!--QuoteEnd--></div><!--QuoteEEnd-->

I tried deleting all the additional ships that were added, the game crashes as soon as i try to start a new game <img src="style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" />

and i cant seem to find error.log
 
aha i think i found the problem.

seems to work now

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--> case "Sch":
        refShip.ClosestPoint = 0.15;
        refShip.BestPoint = 0.625;
        refShip.RigType = sDet;<!--c2--></div><!--ec2-->
im assuming it referrs to Schnyava, since i deleted that ship i tried removing this section, and it seems to work now.

EDIT:

I thougt..... the problem persist with post build...
 
<!--quoteo(post=142126:date=Mar 15 2006, 06:01 PM:name=Merciless Mark)--><div class='quotetop'>QUOTE(Merciless Mark @ Mar 15 2006, 06:01 PM) [snapback]142126[/snapback]</div><div class='quotemain'><!--quotec-->
aha i think i found the problem.

seems to work now

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--> case "Sch":
        refShip.ClosestPoint = 0.15;
        refShip.BestPoint = 0.625;
        refShip.RigType = sDet;<!--c2--></div><!--ec2-->
im assuming it referrs to Schnyava, since i deleted that ship i tried removing this section, and it seems to work now.

EDIT:

I thougt..... the problem persist with post build...
<!--QuoteEnd--></div><!--QuoteEEnd-->

I believe that "Sch" refers to all schooner type craft.
It should probably not be deleted.

Post your ships_init.c file to have a look <img src="style_emoticons/<#EMO_DIR#>/keith.gif" style="vertical-align:middle" emoid=":keith" border="0" alt="keith.gif" />
 
Its just a standard post build file. no changes what so ever, but when i start taking things out... it seems to crash as soon as i start a game
 
Back
Top