files i have edited;
ships.h
#define SHIP_TYPES_QUANTITY 31
#define SHIP_TYPES_QUANTITY_WITH_FORT 32
#define SHIP_SOLEIL_ROYAL 31
ships_init
(i create a copy one from the existing soleyru)
///////////////////////////////////////////////////////////////////////////
/// SOLEILROYAL
///////////////////////////////////////////////////////////////////////////
makeref(refShip,ShipsTypes[SHIP_SOLEIL_ROYAL]);
refShip.Name = "Soleilroyal";
refship.Soundtype = "manowar";
refShip.Class = 1;
refShip.Cannon = CANNON_TYPE_CANNON_LBS42;
refShip.MaxCaliber = 42;
refShip.Weight = Tonnes2CWT(4500);
refShip.Capacity = 7000;
refShip.CannonsQuantity = 112;
refShip.rcannon = 52;
refShip.lcannon = 52;
refShip.fcannon = 4;
refShip.bcannon = 4;
RPGUtilite.c
pchar.Ship.Type = GenerateShip(SHIP_SOLEIL_ROYAL , 0);
\Age of Pirates 2\RESOURCE\Textures\INTERFACES\SHIPS
I copied SoleyRu.tga.tx and renamed it Soleilroyal.tga.tx
I put 16 models files into \RESOURCE\MODELS\Ships\Soleilroyal1\
I put the 4 texture file(deck.tga,deco.tga.tgx,Soleilroyal1.tga.tx,unicorn1.tga.tx) into \RESOURCE\MODELS\Ships\Soleilroyal1\ hull1, hull2 and hull3 each.
I put sailorpoint file into \Age of Pirates 2\RESOURCE\MODELS\Ships\SAILORSPOINTS
I edit/add battleinterface.c
case "Soleilroyal":
BI_intNRetValue[0] = 4+4*8; <b>(correct)?</b>
BI_intNRetValue[1] = 4+4*8 + 1;
BI_intNRetValue[2] = BI_ICONS_TEXTURE_SHIP1;
break;
\Age of Pirates 2\RESOURCE\INI\interfaces\pictures
[SHIPS_Soleilroyal]
sTextureName = ships\manowar.tga
wTextureWidth = 128
wTextureHeight = 128
picture = ship,0,0,128,128
what else do i miss? i am still under the sea and there is no (fast travel icon/ship icon) on top left.
ships.h
#define SHIP_TYPES_QUANTITY 31
#define SHIP_TYPES_QUANTITY_WITH_FORT 32
#define SHIP_SOLEIL_ROYAL 31
ships_init
(i create a copy one from the existing soleyru)
///////////////////////////////////////////////////////////////////////////
/// SOLEILROYAL
///////////////////////////////////////////////////////////////////////////
makeref(refShip,ShipsTypes[SHIP_SOLEIL_ROYAL]);
refShip.Name = "Soleilroyal";
refship.Soundtype = "manowar";
refShip.Class = 1;
refShip.Cannon = CANNON_TYPE_CANNON_LBS42;
refShip.MaxCaliber = 42;
refShip.Weight = Tonnes2CWT(4500);
refShip.Capacity = 7000;
refShip.CannonsQuantity = 112;
refShip.rcannon = 52;
refShip.lcannon = 52;
refShip.fcannon = 4;
refShip.bcannon = 4;
RPGUtilite.c
pchar.Ship.Type = GenerateShip(SHIP_SOLEIL_ROYAL , 0);
\Age of Pirates 2\RESOURCE\Textures\INTERFACES\SHIPS
I copied SoleyRu.tga.tx and renamed it Soleilroyal.tga.tx
I put 16 models files into \RESOURCE\MODELS\Ships\Soleilroyal1\
I put the 4 texture file(deck.tga,deco.tga.tgx,Soleilroyal1.tga.tx,unicorn1.tga.tx) into \RESOURCE\MODELS\Ships\Soleilroyal1\ hull1, hull2 and hull3 each.
I put sailorpoint file into \Age of Pirates 2\RESOURCE\MODELS\Ships\SAILORSPOINTS
I edit/add battleinterface.c
case "Soleilroyal":
BI_intNRetValue[0] = 4+4*8; <b>(correct)?</b>
BI_intNRetValue[1] = 4+4*8 + 1;
BI_intNRetValue[2] = BI_ICONS_TEXTURE_SHIP1;
break;
\Age of Pirates 2\RESOURCE\INI\interfaces\pictures
[SHIPS_Soleilroyal]
sTextureName = ships\manowar.tga
wTextureWidth = 128
wTextureHeight = 128
picture = ship,0,0,128,128
what else do i miss? i am still under the sea and there is no (fast travel icon/ship icon) on top left.