Jump to content

Home

Recruit Bendak


noname35

Recommended Posts

I'm working on a recruitment mod that allows you to recruit Bendak but I need a tester because my game wont allow to start a new game. Heres the link to download the files: http://www.mediafire.com/?cojalpo307405sd

 

Please tell me if it works.

 

Thanks, noname35

 

P.S. Theres no dialogue for him yet these are just the recruit files, so if this actually does work, don't talk to him.

 

P.P.S The script is on I'll be going now after the second time you talk to him BEFORE you beat all the duelists

Link to comment
Share on other sites

OK, it didn't work. Here's why:

 

First, the recruit_npc script looks like this:

void main()
{
RemoveAvailableNPC(5);
AddAvailableNPCByTemplate(5, "new_npc");
ClearAllActions();
DelayCommand(1.5,ShowPartySelectionGUI());
}

 

when it should in fact look like this:

 

void main()
{
RemoveAvailableNPC(5);
AddAvailableNPCByTemplate(5, "[b]p_bendak[/b]");
ClearAllActions();
DelayCommand(1.5,ShowPartySelectionGUI());
}

 

Second, the script itself was not actually attached to the dialogue, meaning it didn't fire when you select the 'I'll be going now' option.

 

Finally, the dialogue was not named correctly, you called it 'bendak.dlg' but it has to be the same name as the dialogue already in the game, in this case, 'tar02_bendak021.dlg.' If you don't name it correctly, the game doesn't know it has to use the one in the override.

 

Anyway, I sorted out all the problems I mentioned above and tried the new mod in-game, It worked. I hope this has been helpful :)

Link to comment
Share on other sites

Yep that works great, the only problem is that when you recruit p_bendak, the original bendak stays in place. Sorry, forgot to mention that before :)

 

This script sorts it out:

 

void main()
{
object Starkiller = GetObjectByTag("Bendakstar021");

RemoveAvailableNPC(5);
AddAvailableNPCByTemplate(5, "p_bendak");
DestroyObject(Starkiller);
ClearAllActions();
DelayCommand(1.5,ShowPartySelectionGUI());
}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...