Kenshi
127 人が評価
Making a new/recruitable character
作者: Nanogiraffe
This guide will help you get to grips with creating a new NPC who will be able to join your squad.
9
   
アワード
お気に入り
お気に入り
お気に入りから削除
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
39 件のコメント
Cybersomatic 9月29日 17時38分 
This guide is a bit dated but still very useful, thank you so much.

If you're interested in sharpening it up, I'd recommend walking through it again yourself with the latest version of the construction set. Certain GUI and functions no longer appear as they did when this guide was written many years ago, particularly for dialogue.
fredingue 4月11日 17時27分 
interesting but turned too complicated when supposed to add dialogue
NartMaster 2023年10月31日 19時42分 
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 2023年7月11日 18時02分 
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  [作成者] 2023年7月8日 18時06分 
Well done! :cactusrum:
Diamondkai09 2023年7月8日 17時49分 
Nevermind i fixed it one of the conditions was breaking it
Diamondkai09 2023年7月7日 19時54分 
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 2023年7月7日 18時01分 
The dialouge started with NPC and Monologue was set to true
Nanogiraffe  [作成者] 2023年7月7日 17時30分 
Also check if monologue is false
Nanogiraffe  [作成者] 2023年7月7日 17時29分 
Did you start with player or NPC in the dialogue tree?