Mount & Blade II: Bannerlord

Mount & Blade II: Bannerlord

174 ratings
Recruit exile Clans
   
Award
Favorite
Favorited
Unfavorite
Game Mode: Singleplayer
Compatible Version: v1.2.11
File Size
Posted
Updated
7.308 KB
26 May, 2024 @ 7:23pm
25 Aug, 2024 @ 2:30am
2 Change Notes ( view )

Subscribe to download
Recruit exile Clans

Description
Recruit exiled clans after their country are destroyed
recruit their clans by having dialogue with their clan leader
2024/8/25 update :exclude mercenary& rebel clans

High compatibility,can run on 1.1.5-1.2.X. can be install/uninstall in the playthrough

comment bugs below.

give a like if you think this is helpful

————————Key Code below————————————
private void JoinChat(CampaignGameStarter starter)
{
starter.AddPlayerLine("Dialog_Join1", "hero_main_options", "Dialog_Join1", "{=Dialog_Join1}Join my Kingdom,It's the only way for your clan to survive.", new ConversationSentence.OnConditionDelegate(this.checkcondition2), null, 100, null, null);
starter.AddDialogLine("Dialog_Join2", "Dialog_Join1", "close_window", "{=Dialog_Join2}OK.", null, new ConversationSentence.OnConsequenceDelegate(this.joinkingdom1), 100, null);
}
private bool checkcondition2()
{
Clan clan3 = Hero.OneToOneConversationHero.Clan;
if (clan3 == null)
{
return false;
}
else
{
bool flag1 = clan3.Kingdom == null;
Clan clan2 = Hero.MainHero.Clan;
bool flag2 = clan2.Kingdom != null;
bool flag3 = Hero.OneToOneConversationHero.IsClanLeader == true;
bool flag4 = clan3.IsRebelClan || clan3.IsClanTypeMercenary == true;// 2024/8/25 added this line
if (flag1 && flag2 && flag3 && !flag4)
{
return true;
}
else return false;
}
}
private void joinkingdom1()
{
Clan clan2 = Hero.MainHero;.Clan;
Kingdom kingdom2;
kingdom2 = ((clan2 != null) ? clan2.Kingdom : null);
Kingdom playerKingdom = kingdom2;
Clan clan = Hero.OneToOneConversationHero.Clan;
ChangeKingdomAction.ApplyByJoinToKingdom(clan, playerKingdom, true);
ChangeRelationAction.ApplyPlayerRelation(Hero.OneToOneConversationHero,30,true,true);
}
}
50 Comments
BayBootyBanger 24 Aug @ 11:18pm 
can we have a skill check pls
lord_haseo 3 Aug @ 10:10pm 
does this work with shokuho?
Yuliy Svarozhich 16 Jul @ 10:19am 
как это работает? при поражении вырезается весь клан...как сделать кланы без феодов наёмниками (ронинами)??? нет возможности успеть их нанять до их смерти
YOUò.ó 8 Jul @ 3:33am 
大佬,并没有汉化阿,需要改什么吗?
stuartnic 5 Jun @ 1:53pm 
does this work
M4 SOPMOD II 13 May @ 1:51pm 
感谢,给t社愚蠢的设定气到了
Pathfinder  [author] 10 May @ 8:19am 
@liuqsu 不用,汉化我去年就做完了,只是一直没时间进游戏验证
@张作霖 能吧
@CarlNoLastName I agree, and I'll update it as long as I have time. i'm busy these days
@kingkilwar#5970 it has english
@autapomorphy 可以,有时间我会做
liuqsu 10 May @ 2:46am 
我能抄吗?加汉化,并改成可以招募所有中立家族,会标明出处
张作霖 26 Apr @ 10:16am 
作者大大这个1.2.12可以用吗
Togawa Sakiko 18 Apr @ 10:53pm 
@Xi Jin Pooh 你这么牛逼你别玩中国人的mod