@Grey Roger and everyone else who is interested in this project:
I myself will again be PotC-less until Monday, but of course I will be around on the forum.
In the meantime, it might be quite useful if you try to get the sidequests to work in the Hornblower storyline that aren't on the Devlin Opera list.
For required quest items, move the initialization from the storyline QuestItems.c file to the general PROGRAM\ITEMS\initItems.c one.
If you cannot figure that out, perhaps @Jack Rackham and/or @Bartolomeu o Portugues could help with that as well.
For quests that do not start, check PROGRAM\Storyline\standard\StartStoryline.c .
Somewhere near the bottom are some pchar.quest lines that are used to trigger certain sidequests.
These are missing for Hornblower. Copy the sidequest ones to the Hornblower StartStoryline.c file OR put them in PROGRAM\Characters\character_init.c somewhere.
The latter approach is what we will be doing eventually, but that might be a bit more complicated to figure out.
This will not work on existing savegames, but you can execute those lines manually through PROGRAM\console.c as well.
Just add them inside the ExecuteConsole function below the ref PChar = GetMainCharacter; line.
Then load your savegame, press F12 and those sidequest triggers should then be enabled properly.
Of course extra quest coding will need to be added as well. The game will give an on-screen message for all missing ones.
These need to be taken from the Standard storyline quests_reaction.c/both_reaction.c file (could be in either) and moved into the Hornblower both_reaction.c file.
I wrote the above from memory, so you might need to be a bit creative in your interpretation here and there.
But it should be the correct method to get ALL sidequests working inside the Hornblower storyline.
And when that is done, we can share that same modified code with the other storylines as well.
I myself will again be PotC-less until Monday, but of course I will be around on the forum.
In the meantime, it might be quite useful if you try to get the sidequests to work in the Hornblower storyline that aren't on the Devlin Opera list.
For required quest items, move the initialization from the storyline QuestItems.c file to the general PROGRAM\ITEMS\initItems.c one.
If you cannot figure that out, perhaps @Jack Rackham and/or @Bartolomeu o Portugues could help with that as well.
For quests that do not start, check PROGRAM\Storyline\standard\StartStoryline.c .
Somewhere near the bottom are some pchar.quest lines that are used to trigger certain sidequests.
These are missing for Hornblower. Copy the sidequest ones to the Hornblower StartStoryline.c file OR put them in PROGRAM\Characters\character_init.c somewhere.
The latter approach is what we will be doing eventually, but that might be a bit more complicated to figure out.
This will not work on existing savegames, but you can execute those lines manually through PROGRAM\console.c as well.
Just add them inside the ExecuteConsole function below the ref PChar = GetMainCharacter; line.
Then load your savegame, press F12 and those sidequest triggers should then be enabled properly.
Of course extra quest coding will need to be added as well. The game will give an on-screen message for all missing ones.
These need to be taken from the Standard storyline quests_reaction.c/both_reaction.c file (could be in either) and moved into the Hornblower both_reaction.c file.
I wrote the above from memory, so you might need to be a bit creative in your interpretation here and there.
But it should be the correct method to get ALL sidequests working inside the Hornblower storyline.
And when that is done, we can share that same modified code with the other storylines as well.