What determines if an npc has the DC_IS_RECRUITABLE flag set?

Post Reply
Paul
Posts: 15
Joined: Mon Feb 11, 2013 8:04 pm

Sun May 06, 2018 4:53 am

I was looking at the construction set, and I can't seem to find where it sets DC_IS_RECRUITABLE. It looks for it in every single place where you have an npc joining the party, but I can't figure out what the requirements are and if you can modify them.

Recruiting people in-game is just as confusing. I thought at first it was based on relations, but even when I got my relations positive I couldn't recruit most NPCs. Then I thought it was high stat levels because all the ninja NPCs I freed from slavery would never join me even after buying about 30 of them and weaker ones did regularly. But then I went up north to Cannibal territory and freed a few powerful Berserker npcs from Cannibal camps, and was surprised to have several of them join me - despite very high stats (this one recruit I just got has 59 toughness, 39 str, 32 dex, and combat skills in the high 30s and 40s).

It has to be this flag causing it, because I did a test game where I modded out the check for DC_IS_RECRUITABLE and suddenly had ninjas who had never dreamed of joining me before eagerly pledging allegiance the second I bought them. Is this dialog condition in the construction set somewhere that I'm not seeing, or is it hard coded?

User avatar
Shidan
Moderator
Posts: 1234
Joined: Mon Oct 22, 2012 1:41 pm

Mon May 07, 2018 11:23 pm

It is hard set as <25 Combat Skills and the character is not a Military, Trader, or Diplomat NPC type.

So stronger characters will not join using any dialog with that condition, nor will any important characters from existing factions.

Paul
Posts: 15
Joined: Mon Feb 11, 2013 8:04 pm

Thu May 10, 2018 4:16 pm

Hmm. Is that adjusted attack skill? Because the Berserker I recruited is at 33 and all I did was walk him to my base and feed him. He was injured and starving a bit when I pulled him out of the cannibal cage, so it's possible his adjusted skill was below 25 after the starving modifier.

User avatar
Shidan
Moderator
Posts: 1234
Joined: Mon Oct 22, 2012 1:41 pm

Fri May 11, 2018 4:42 pm

Possibly, but unsure of whether or not that is the case. As looking through the dialog for the berserkers shows that not all of their rescued and join paths use the condition, so it would still be possible on those paths regardless.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests