That's not where you should add the line. Try putting it in "PROGRAM\QUESTS\quests_side.c", at case "Voysey_listed" (first time you hire him after saving him from Nigel Blythe) and at case "Voysey_listed_2" (second time you save him, from pirates outside Sao Jorge). Of course, that only works for Artois Voysey, not for any other officers.I followed your instructions and placed this line in the Artois Voysey entry in Officers.c:
character_SetCompanionEnemyEnable(characterFromID("Artois Voysey"), true);
When you get the game fully reinstalled, check again. If you still can't find the line, upload your version of "PROGRAM\Dialog_func.c".I couldn't find such a line. Strange.
You also need to change 'switch(0)' to 'switch(1)'. And that entire section is commented out so it won't do anything anyway. Remove the "/*" and "*/", so that it should now look like this:I placed the SetCompanionEnemyEnable line under the void CreateCharacters() line, so that it now looks like this:
...
But this didn't work. Maybe it should have been somewhere else?
Code:
switch(1) // Case 1 = Various test and cheat codes
{ // Case 2 = Location coordinate information
case 1: // Case 3 = Automatic instant cheats in port
// Case 4 = Instant teleport to Hendrick Vanderdecken
// Give ship
// ------------------
/* for (i = 0; i < COMPANION_MAX; i++) {
limit = GetCompanionIndex(PChar, i);
if (limit < 0) continue;
ch = GetCharacter(limit);
GiveShip2Character(ch,ch.ship.type,ch.ship.name,-1,ch.ship.stats.nation,true,true);
}*/
As for reinstalling, I don't think you want to use "PCUninstall". When I want to re-install, I just delete the entire game folder, then install the stock game from scratch, then install the mod. For the stock game, I can simply install the original CD 1 to start the process. Or, having installed the stock game long ago, I made a copy of the whole game folder while it was still stock, before installing the mod. Now whenever I want to reinstall, I make another copy of that stock game folder copy, rename it, and install the mod onto this new copy.