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

Tutorial Porting ships from POTC to AOP

Hull 1 2 and 3 folders are there because your hull changes in appearance when you upgrade it.

hull1 is "Wood"
hull2 is "Copper"
hull3 is "Bronze"

i imagine you could just create the folders and place a copy in all 3
 
Hello,
Im new to this type of stuff and i was needing some help im trying to get the Flying Dutchman in the game but having no luck. i may have missed a file somewhere but cant find it if i did.
heres the error log
"COMPILE ERROR - file: ships\ships_init.c; line: 1331
Invalid Expression
COMPILE ERROR - file: ships\ships_init.c; line: 1331
Invalid Expression
COMPILE ERROR - file: ships\ships_init.c; line: 1331
Invalid Expression
COMPILE ERROR - file: ships\ships_init.c; line: 1331
Invalid Expression
COMPILE ERROR - file: ships\ships_init.c; line: 1331
Invalid Expression
COMPILE ERROR - file: ships\ships_init.c; line: 1331
Invalid Expression
COMPILE ERROR - file: ships\ships_init.c; line: 1331
Invalid Expression
COMPILE ERROR - file: ships\ships_init.c; line: 1331
Undeclared identifier: CANNON_TYPE_LONG_LBS32
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 79
missed attribute: weight
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 79
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 80
missed attribute: capacity
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 80
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 81
missed attribute: maxcrew
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 81
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 82
missed attribute: mincrew
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 82
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 83
missed attribute: speedrate
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 83
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 84
missed attribute: turnrate
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 84
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 85
missed attribute: hp
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 85
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 91
missed attribute: name
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 91
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 91
missed attribute: name
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 91
no rAP data
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1447
missed attribute: sp
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1447
no rAP data
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1463
missed attribute: cannon
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1463
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 79
missed attribute: weight
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 79
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 80
missed attribute: capacity
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 80
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 81
missed attribute: maxcrew
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 81
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 82
missed attribute: mincrew
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 82
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 83
missed attribute: speedrate
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 83
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 84
missed attribute: turnrate
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 84
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 85
missed attribute: hp
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 85
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 91
missed attribute: name
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 91
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 91
missed attribute: name
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 91
no rAP data
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1447
missed attribute: sp
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1447
no rAP data
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1463
missed attribute: cannon
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1463
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 79
missed attribute: weight
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 79
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 80
missed attribute: capacity
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 80
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 81
missed attribute: maxcrew
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 81
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 82
missed attribute: mincrew
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 82
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 83
missed attribute: speedrate
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 83
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 84
missed attribute: turnrate
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 84
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 85
missed attribute: hp
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 85
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 91
missed attribute: name
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 91
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 91
missed attribute: name
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 91
no rAP data
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1447
missed attribute: sp
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1447
no rAP data
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1447
missed attribute: sp
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1447
no rAP data
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1447
missed attribute: sp
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1447
no rAP data
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1463
missed attribute: cannon
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1463
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 79
missed attribute: weight
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 79
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 80
missed attribute: capacity
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 80
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 81
missed attribute: maxcrew
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 81
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 82
missed attribute: mincrew
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 82
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 83
missed attribute: speedrate
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 83
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 84
missed attribute: turnrate
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 84
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 85
missed attribute: hp
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 85
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 91
missed attribute: name
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 91
no rAP data
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 91
missed attribute: name
RUNTIME ERROR - file: scripts\ShipsUtilites.c; line: 91
no rAP data
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1447
missed attribute: sp
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1447
no rAP data
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1463
missed attribute: cannon
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1463
no rAP data
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 487
missed attribute: track
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 487
null ap
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 487
no rAP data
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 488
missed attribute: track
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 488
null ap
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 488
no rAP data"

any idea what that need to fix it?
 
Make sure the ships_init.c entry gets the same "format" as the others in the game. I imagine you stuck in the PotC code, but that won't readily work.
 
Indeed a lot of that looks to be errors regarding things being missing in the ships statistics. Your best bet would be to try copying the code from another of the AoP ships, then copying in the stats from the PotC ship, modifying any of the stats PotC does NOT use to make the ship fit into the role in the class you are trying to develop.

Cap'n Drow
 
<!--quoteo(post=328388:date=Jun 13 2009, 09:14 AM:name=Cap'n_Drow)--><div class='quotetop'>QUOTE (Cap'n_Drow @ Jun 13 2009, 09:14 AM) <a href="index.php?act=findpost&pid=328388"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Indeed a lot of that looks to be errors regarding things being missing in the ships statistics. Your best bet would be to try copying the code from another of the AoP 2 ships, then copying in the stats from the PotC ship, modifying any of the stats PotC does NOT use to make the ship fit into the role in the class you are trying to develop.

Cap'n Drow<!--QuoteEnd--></div><!--QuoteEEnd-->

I dont have AoP 2 yet. could you get me a code that i can use?

Thanks,
Sir
 
Replace "AoP 2" with "AoP" in that post and it'll make sense to you. <img src="style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />
 
Sorry, fixed that. And you should just be able to copy the code from one of the existing ships from AoP, and adjust it to match the figures from PotC.

Cap'n Drow
 
<u>To see the right ship icon on Worldmap and directsail:

You must add the following in</u> "Program/Battleinterface/battleinterface.c"

"<!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->break;


case "lineship"
BI_intNRetValue[0] = 4+3*8;

BI_intNRetValue[1] = 4+3*8 + 1;

BI_intNRetValue[2] = BI_ICONS_TEXTURE_SHIP1;<!--colorc--></span><!--/colorc--> "

<u>change lineship with the ship name and search bevor at the shipclass!</u>

That doesn't work. :s it seems I have to change the number.. changing the name isn't enough.
 
Back
Top