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.

Need Help You want to help but can't code?

Discussion in 'POTC: New Horizons Mod' started by Levis, Apr 22, 2014.

  1. Levis

    Levis Find(Rum) = false; Staff Member Programmer Creative Support Storm Modder

    Joined:
    Oct 6, 2013
    Messages:
    6,711
    Gender:
    Male
    Occupation:
    ICT
    Location:
    University Twente (Netherlands)
    Looks good to me!
     
    Mirsaneli likes this.
  2. jsv

    jsv Freebooter Storm Modder

    Joined:
    Nov 5, 2013
    Messages:
    303
    Gender:
    Male
    @Levis: do you need such detailed report about something like USE_REAL_CANNONS or DISCOVER_FAST_TRAVEL?
    I think, @Mirsaneli could save himself some work by just reporting such defines as "used everywhere" :)
     
  3. Mirsaneli

    Mirsaneli Freebooter Storm Modder

    Joined:
    Nov 21, 2015
    Messages:
    448
    Gender:
    Male
    Yes, but if I understood well, Levis needs to know how often they are used.
     
  4. jsv

    jsv Freebooter Storm Modder

    Joined:
    Nov 5, 2013
    Messages:
    303
    Gender:
    Male
    I gather that he wants to get rid of those that are not used. From that point of view everything that can be found multiple times in 3+ files is not especially interesting.
    But maybe he has some other plans for those statistics. :)
     
  5. Levis

    Levis Find(Rum) = false; Staff Member Programmer Creative Support Storm Modder

    Joined:
    Oct 6, 2013
    Messages:
    6,711
    Gender:
    Male
    Occupation:
    ICT
    Location:
    University Twente (Netherlands)
    I don't need it always but more info is always better. And it saves me a lot of lookup work later.
     
  6. Levis

    Levis Find(Rum) = false; Staff Member Programmer Creative Support Storm Modder

    Joined:
    Oct 6, 2013
    Messages:
    6,711
    Gender:
    Male
    Occupation:
    ICT
    Location:
    University Twente (Netherlands)
  7. Mirsaneli

    Mirsaneli Freebooter Storm Modder

    Joined:
    Nov 21, 2015
    Messages:
    448
    Gender:
    Male
    About 10% percent left. I'm planning to finish it tonight or tommorow.
     
  8. Mirsaneli

    Mirsaneli Freebooter Storm Modder

    Joined:
    Nov 21, 2015
    Messages:
    448
    Gender:
    Male
    Sorry for taking too long... :/ New Year etc...
     
  9. Hylie Pistof

    Hylie Pistof Curmudgeon Staff Member QA Tester Storm Modder

    Joined:
    Jan 15, 2010
    Messages:
    13,768
    Gender:
    Male
    Parties happen. :drunk
     
  10. Levis

    Levis Find(Rum) = false; Staff Member Programmer Creative Support Storm Modder

    Joined:
    Oct 6, 2013
    Messages:
    6,711
    Gender:
    Male
    Occupation:
    ICT
    Location:
    University Twente (Netherlands)
    No problem at all :)
     
  11. Mirsaneli

    Mirsaneli Freebooter Storm Modder

    Joined:
    Nov 21, 2015
    Messages:
    448
    Gender:
    Male
    Ok, here it is. Complete internalsettings.h. I hope that its ok...
     

    Attached Files:

    Levis likes this.
  12. Nikitian

    Nikitian Landlubber

    Joined:
    Dec 22, 2015
    Messages:
    8
    Gender:
    Male
    (A few other similar posts have been made here before, so with heavy heart I'll transgress the letter of the title of this thread, hoping to stay true to its spirit...)

    I'd like to help, and I think I could code. (I have the right mindset/training, and, as I've looked at the code in various PotC files, I found it quite accessible and understandable.) Could you suggest something not too major that I could help with for a start?

    Oh, and I know Russian, so I can help with translation (e.g. of code comments, imported quests, etc.).
     
    Pieter Boelen, Mirsaneli and Thagarr like this.
  13. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,628
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
  14. Nikitian

    Nikitian Landlubber

    Joined:
    Dec 22, 2015
    Messages:
    8
    Gender:
    Male
    I believe @Mirsaneli almost finished that one? Anyway, first and foremost I'd like to get my hands bloodied with the code (flowing through the veins of the game!), so to speak. :duel:
    Thus, if possible, I'd rather do something with a more heavy focus on actual coding than playtesting - so dialogs, or perhaps scripting, or maybe even interface, etc. I could try looking into making life harder for spies/infiltrators on land, or maybe even tackle the (lesser) false flag reform (as discussed in Modify "False Flag" Behaviour While Ashore ), for example. Or help you with something else.
     
  15. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,628
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    So you don't know how to code, but you WANT TO LEARN?
    We've got a relatively small job that needs doing that could be a nice start.
    It is quite simple and straightforward, but it would help our main developers if they didn't need to do it.

    Then what's the job?
    - Make a copy of two existing model files
    - Make a copy of their code so that we end up with two sets of identical models in the game
    - Make the copied version use different portrait files that @Grey Roger has already made:

    [​IMG] [​IMG]

    See here for more details: Included in Build - Additional Custom Character Portraits | Page 2 | PiratesAhoy!
     
  16. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,420
    Do you need to edit the actual model files? (Which, if they're the files I'm thinking of, i.e. the .gm files, would need to be done with a hex editor - not for the faint-hearted. ;))

    I'd have thought that you'd need to copy and paste the entry for "9JdFra" in "initModels.c", change one to be a basic version of Jack Sparrow in French uniform minus all the storyline bits, and change the other to use the new face. But first you'd need to copy the three portraits to their respective folders and rename them to "face_<pick a number>.tga.tx", so that you have the correct file name to put in the "initModels.c" entry. And then you'd need to repeat the copying and pasting in "initModels.c" because there are versions for Jack in various types of armour. Both versions will presumably use the same model file, so they'll look identical in play; the only difference should be that if you're playing Jean-Baptiste du Casse, you get the new interface portrait instead of the generic Sparrow face.

    You also need to check "pictures.ini" to make sure that "face_<pick a number>" has an entry for the 128x128 version and add one if it hasn't.
     
  17. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,628
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Not necessary, no. Because the model file itself can continue to refer to the original texture file.
    Unless someone wants to make the model match with the portrait, but that isn't necessary now.

    Pretty much. With the exception that you need to COPY the model files as the new portrait needs to be linked to a new model ID.
    And the model ID is identical/shared with the model filename.

    True. Though there are still PLENTY of gaps left, so when filling up those gaps, that should not be an issue.
    Still worth checking though. :yes
     
  18. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,628
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    So is anybody interested in taking up this small task?
    It would be much appreciated.
     
  19. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,628
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    I've gone ahead and done the job myself, since I didn't hear anyone volunteering and it did need doing. :facepalm
     
  20. Levis

    Levis Find(Rum) = false; Staff Member Programmer Creative Support Storm Modder

    Joined:
    Oct 6, 2013
    Messages:
    6,711
    Gender:
    Male
    Occupation:
    ICT
    Location:
    University Twente (Netherlands)
    I also expect to finish the apothecary quest tomorrow as its almost done already so I want to get it done. After that I need someone to go over the dialogs and quest book entries and check it for spelling etc.
    English isn't my strongest point.
     
    Pieter Boelen likes this.

Share This Page