Kenshi
122 ratings
Making a new/recruitable character
By Nanogiraffe
This guide will help you get to grips with creating a new NPC who will be able to join your squad.
9
   
Award
Favorite
Favorited
Unfavorite
Making your new mod
Start by opening the Forgotten Construction Set through steam or the game folder.

Create a new mod and name it.
Step 1
In the left hand list locate the characters section. expand it and right-click to create new

Step 2
Add in your characters name, inventory, clothing, weapon etc

Create a dialogue package. This is to enable the NPC to speak to your character so they can join you. Or fight you. Or whatever you like.
Step 3
To the right select Player talk to me in the dialouge package

Add new. and open the dialogue

Step 4
(for mor information relating to dialogue writing etc see my other guide)
http://steamproxy.net/sharedfiles/filedetails/?id=804686889

Make a root and a child. Set the child to be player. Put in what you want your NPC and the player to say.


The last line should also have the effect 'join squad with edit' or 'join squad fast'. This is what will make them join you.

Step 5
Find Squads to the left and create a new squad

Name it and add your NPC as leader. You should also add an ai package such as 'hang out in bar' so the NPC knows what to do.

Next fine where you want them to spawn in the towns list and add your squad to the bar squads list
Lastly you can add a player dialogue package such as the basic one to your character. This will mean they will make comments ect




Step 5 (optional)
There are many more things you could do.
I want a unique body!
- Enter the game
-new game
-design your character
-export
-locate the characte file
-in your mod in the character file find 'body' type the path to the file. Something like ./data/characters/bodies/export/recruitymcrecruitface.bod2

I want them to be a vendor!
-in your dialogue instead of ending with join end with the effect trade
-add a vendor list file to your character
-add the items you want them to sell to the vendor list

Again, If you want a more in-depth look at dialogue check my other guide
http://steamproxy.net/sharedfiles/filedetails/?id=804686889
37 Comments
NartMaster 31 Oct, 2023 @ 7:42pm 
add root and add child dont appear in my mod editor. i followed the guide to a t, or at least i thought i did, was the mod editor just updated?
Nazareth 11 Jul, 2023 @ 6:02pm 
Thanks for the free detailed guide, I've always wanted to add recruitable and enemy NPC's with randomized stats that I get from online random number generators.

Are npc stats still tied to certain number ranges? I've tried changing stats on certain NPC's in the past who seem to be too weak lore-wise and gameplay-wise able to live in harsher regions but when for example; I set an NPC to have 30 in combat skills for some reason they tend to end up with negative stats on other skills.

Besides that I already know how to make high stat npc's recruitable so I'm good on that part. Do I have to make sure every stat has more than 0 skill or is there something else in play that I have overlooked?
Nanogiraffe  [author] 8 Jul, 2023 @ 6:06pm 
Well done! :cactusrum:
Diamondkai09 8 Jul, 2023 @ 5:49pm 
Nevermind i fixed it one of the conditions was breaking it
Diamondkai09 7 Jul, 2023 @ 7:54pm 
I'm not quite sure what is making him unable to speak cause i t gave him Doc and Rukas dialogues to see if the custom dialogue was the problem. but it didn't do much he still was unable to speak i tried to take away the dialogue package to see if it was messing with the Recruitment dialouge some how. but it didn't seem to change anything
Diamondkai09 7 Jul, 2023 @ 6:01pm 
The dialouge started with NPC and Monologue was set to true
Nanogiraffe  [author] 7 Jul, 2023 @ 5:30pm 
Also check if monologue is false
Nanogiraffe  [author] 7 Jul, 2023 @ 5:29pm 
Did you start with player or NPC in the dialogue tree?
Diamondkai09 7 Jul, 2023 @ 7:58am 
so i made a new recruit but he seems to be completely Mute. i've tried to give two different dialogues but there doesn't seem to be any change. and i have no idea how to fix it?
Wirewing 22 Jun, 2023 @ 3:39pm 
@InfernusMatrix Is your chance permanence and temporary on your dialogue set to 100?