Okay so the player wont notice much about this but from a programming perspective this is so much easier.
Let me explain what this does, but first how it used to work:
In the future the overwriting by the storylines may be changed.
For now this change only makes sure more files can be loaded, as no extra files are yet assigned to any character you wont notice anything if everything goes right. And here I need your help to see if this is really the case. So please let me know if you encounter dialog errors etc with this change.
The dialog.c goes in the POTC\PROGRAM folder.
These things are planned for next releases:
New version:
http://piratesahoy.net/threads/enhanced-dialogs-v1-need-help-testing.22188/#post-479897
Let me explain what this does, but first how it used to work:
To make sidequests more accesible and other planned features I needed more flexebility here so this is how it now works:A character had a single dialog file assigned to him. In here all the different options etc had to be put. With the storyline the file was overwritten
You can assign as many dialog files to a character as you want. They are all checked for relevant options. They are still overwritten by storyline dialog files.
You can add another another dialog file by adding it to the character like for example this:
You can call the extra thing whatever you want. You can also just for example do Filename.Filename1 = "foobar.c". This doesn't matter.Code:ch.Dialog.Filename = "Claudio Burrieza_dialog.c"; ch.Dialog.Filename.tavern = "taverns.c"; //Added by Levis
In the future the overwriting by the storylines may be changed.
For now this change only makes sure more files can be loaded, as no extra files are yet assigned to any character you wont notice anything if everything goes right. And here I need your help to see if this is really the case. So please let me know if you encounter dialog errors etc with this change.
The dialog.c goes in the POTC\PROGRAM folder.
These things are planned for next releases:
- Ability to choose if a additional dialog option should overwrite or be added to the options
- Normalising of some of the more common dialog files (like citizen and tavern owners)
- Reinit of (additional) dialog files for characters so new savegames aren't needed when these are added.
- Functions to easy add dialog files and remove them
- Better language system
- Maybe an reorganisation of how the dialog files are stored so they aren't all in the same folder anymore
New version:
http://piratesahoy.net/threads/enhanced-dialogs-v1-need-help-testing.22188/#post-479897
Last edited: