Nelsonliang
Master Mariner
Open shipini and search makeref(refShip,ShipsTypes, and continue to search until you see what you want like, for example a frigate
Open benua and search pchar.Ship.Type = GenerateShipHand(pchar, since there is a schooner and a Spanish Galleon, you will want to replace the Galleon so change the Galleon refid into Frigate refid like this pchar.Ship.Type = GenerateShipHand(pchar, SHIP_FRIGATE_H. The numbers that follow are: "max caliber of cannon the ship can carry. deadweight (cargo weight), max crew, HP (this is unmodified so the actual HP you get will be bigger since the ship has the HP upgrade, if you don't want just remove or replace it with the max number of crew upgrade), price (shipyard always buy at lower price and you don't want to sell your unique ship so just leave it), speed rate, min crew, turn rate.)
This is the ship I replace the galleon
pchar.Ship.Type = GenerateShipHand(pchar, SHIP_LSHIP_ENG, 42, 37000, 937, 8200, 20000, 28.2, 56.0, 70.42);
And English ship of the line.
If you need more detail, i'll write one and send you a file. But I think this is easy enough. I got my file here so you can compare with the unmod file.
Open benua and search pchar.Ship.Type = GenerateShipHand(pchar, since there is a schooner and a Spanish Galleon, you will want to replace the Galleon so change the Galleon refid into Frigate refid like this pchar.Ship.Type = GenerateShipHand(pchar, SHIP_FRIGATE_H. The numbers that follow are: "max caliber of cannon the ship can carry. deadweight (cargo weight), max crew, HP (this is unmodified so the actual HP you get will be bigger since the ship has the HP upgrade, if you don't want just remove or replace it with the max number of crew upgrade), price (shipyard always buy at lower price and you don't want to sell your unique ship so just leave it), speed rate, min crew, turn rate.)
This is the ship I replace the galleon
pchar.Ship.Type = GenerateShipHand(pchar, SHIP_LSHIP_ENG, 42, 37000, 937, 8200, 20000, 28.2, 56.0, 70.42);
And English ship of the line.
If you need more detail, i'll write one and send you a file. But I think this is easy enough. I got my file here so you can compare with the unmod file.
Attachments
Last edited: