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.

new-horizons-Adding-Extra-Dialog-Files

Feb 15, 2015
new-horizons-Adding-Extra-Dialog-Files
  • Adding Extra Dialog Files
    Go back to modding

    Just a quick explantion:
    you can add dialog files like this in the character init:
    Code:

    ch.Dialog.Filename = "Claudio Burrieza_dialog.c";
    ch.Dialog.Filename.GroupDialog = "taverns.c"; //Added by Levis
    you can call the sub filename whatever you want.
    In the dialog file you can use l1 and l2 etc as links.
    the game will sort them and add them together.
    if you want to overwrite an option you can use a1 for example to overwrite option 1.
    besides that the dialog file should be the same
    only dont include the line
    Code:

    DeleteAttribute(&Dialog,"Links");
    this is now already managed somewhere else so could actually be removed from all dialog files.

    Dialog files from storylines will still overwrite the normal dialog files, as do characters. So if a group dialog file is set for a character normally it wont show up in the storyline if the character is changed there.
    But the beauty is that say you want to add some quest related things to the character everywhere you can use this and if the charcter isn't set differently in that storyline the options will be added even tough they have another dialog file in the storyline (granted the same notes are used of cours).

Share This Page