All,
Old game modders and players will know this but new players may not.
If you want to "test drive" a new ship without BREAKING your existing game here is how to do it.
Keep in mind the ship MUST already already be in the ship listings (Ships_init.c and ships.h) and be added to the game including all models and textures.
If you are adding a new ship a new game must be restarted.
This function that I am describing is useful when ships were excluded from a MOD or source game for various purposes such as bug testing and balance, getting the best base random version of the same ship you already own or to be able to tweak statistical performance when developing a ship model.
All you need to do is change ONE LINE in ShipsUtilites.c located at ....C:\Ages of Pirates\program\scripts.
Located the ShipUtilities.c and change the name of the ship in this line using a text editor:
FillShipParamShipyard(NPChar, GenerateStoreShip(SHIP_TARTANE), "ship1");
This is the FIRST annotation for this function in the file.
Modify the named ship to the one you want to see in game such as SHIP_SOPHIE (located in the ship.h file) instead of SHIP_TARTANE.
Now every shipyard will have this ship available as the FIRST SHIP FOR SALE regardless of your navigation skill level.
To change the ship back just replace the named ship with SHIP_TARTANE again after exiting the game.
However, keep in mind if you have visited the shipyard, you will need to visit another shipyard to reset the effect, as the game will remember the last setting until you leave port.
Enjoy!
Old game modders and players will know this but new players may not.
If you want to "test drive" a new ship without BREAKING your existing game here is how to do it.
Keep in mind the ship MUST already already be in the ship listings (Ships_init.c and ships.h) and be added to the game including all models and textures.
If you are adding a new ship a new game must be restarted.
This function that I am describing is useful when ships were excluded from a MOD or source game for various purposes such as bug testing and balance, getting the best base random version of the same ship you already own or to be able to tweak statistical performance when developing a ship model.
All you need to do is change ONE LINE in ShipsUtilites.c located at ....C:\Ages of Pirates\program\scripts.
Located the ShipUtilities.c and change the name of the ship in this line using a text editor:
FillShipParamShipyard(NPChar, GenerateStoreShip(SHIP_TARTANE), "ship1");
This is the FIRST annotation for this function in the file.
Modify the named ship to the one you want to see in game such as SHIP_SOPHIE (located in the ship.h file) instead of SHIP_TARTANE.
Now every shipyard will have this ship available as the FIRST SHIP FOR SALE regardless of your navigation skill level.
To change the ship back just replace the named ship with SHIP_TARTANE again after exiting the game.
However, keep in mind if you have visited the shipyard, you will need to visit another shipyard to reset the effect, as the game will remember the last setting until you leave port.
Enjoy!