1. Dismiss Notice
  2. GOG.com logo

    Thanks to YOUR votes, GOG.com now sells:
    - Sea Dogs - Sea Dogs: Caribbean Tales
    - Sea Dogs: City of Abandoned Ships

    Vote now to add Pirates of the Caribbean to the list!

    Dismiss Notice
  3. Under the Crossbones Podcast

    A Pirate Podcast with Interviews
    Music, Comedy and all things Pirate!

    - Episode Guide - About - Subscribe -
    - Twitter - Facebook - iTunes - Android -
    - Youtube - Fill the Coffers -

    Dismiss Notice
  4. New Horizons logo

    Quick links for PotC: New Horizons
    - Download latest version
    - Wiki - FAQ - Report bugs here
    - ModDB profile

  5. GOF logo

    Quick links for AoP2: Gentlemen of Fortune 2
    - Downloads and info
    - Historical Immersion Supermod
    - ModDB Profile

Dismiss Notice
New to the forum?
Please take a moment to read our Welcome Message and Forum Rules.

Tutorial Porting ships from POTC to AOP

Discussion in 'Ship Modeling' started by KroKoDyl, Apr 15, 2008.

  1. Chemicalvamp

    Chemicalvamp Landlubber

    Joined:
    May 12, 2009
    Messages:
    9
    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
     
  2. SirSandslot

    SirSandslot Landlubber

    Joined:
    Jun 12, 2009
    Messages:
    3
    Gender:
    Male
    Location:
    USA -5 EST
    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?
     
  3. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    66,623
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    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.
     
  4. LordDrow

    LordDrow Pirate Geek Extraordinaire Staff Member Storm Modeller Storm Modder

    Joined:
    Oct 3, 2006
    Messages:
    1,704
    Gender:
    Male
    Location:
    Jefferson City, MO. USA
    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
     
  5. SirSandslot

    SirSandslot Landlubber

    Joined:
    Jun 12, 2009
    Messages:
    3
    Gender:
    Male
    Location:
    USA -5 EST
    <!--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
     
  6. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    66,623
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    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" />
     
  7. LordDrow

    LordDrow Pirate Geek Extraordinaire Staff Member Storm Modeller Storm Modder

    Joined:
    Oct 3, 2006
    Messages:
    1,704
    Gender:
    Male
    Location:
    Jefferson City, MO. USA
    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
     
  8. SirSandslot

    SirSandslot Landlubber

    Joined:
    Jun 12, 2009
    Messages:
    3
    Gender:
    Male
    Location:
    USA -5 EST
    Thanks ill try it when i get home
     
  9. Cpt Nogo

    Cpt Nogo Landlubber

    Joined:
    Apr 22, 2012
    Messages:
    64
    That doesn't work. :s it seems I have to change the number.. changing the name isn't enough.
     

Share This Page