Hello, I'm new in modding so I might have a lot questions, but first of all: are these templates still relevant for the lastest updates (or at least v1.0.3) ?
I would like to create an AI mercenary clan with a new culture + his unique troops and see if it can grow by himself, eventually create his own kingdom a some point by capturing a fief once strong enough, do you think it's possible ? If yes, can I make it spawn to an existing save ?
Hello! It's me again. I'm having some troubles with my custom culture.
So the custom culture's name is being used by the settlement, but it doesn't use the troop. I have it the troop tree in my submodule and the ID of the troop copied into the culture so normally it should use it, right?
EDIT:
So it seems to take the name of my custom culture, but use the troops from the previous culture. But that shouldn't happen, right?
This is my code as you can see, the only thing I edited was the ID, name and then the basic troops. So then in settlements I changed the culture to elandia and it has everything except for the basic troops.
I've also tried changing the basic troop of the culture with id vlandia and then the troops did change. So somehow the name is accepted from the culture but the basic troops are still being used from a different ID.
hmm, thats really strange, you can send me the mod file if you want me to test, although it won't be fast since I might have to change my game version.
I changed the culture of a town but when recruiting i get the troops of the base culture dispite having put the basic_troop as my own troops. Do you know why?
hello i follow your guide of making own settlement, i try change the name name of of the settlement but nothing happen, i place my mod before sandbox but not work
Hey it's me again! I've found a way to make a new culture, but now I'm stuck with making a new kingdom. There's no errors, the kingdom is created, only when you load into the game it immeaditly is defeated. I've tried to take a Vlandian clan and make the head of it the new king of that kingdom, but they are still in the vlandian kingdom.
When you go and check the new kingdom it just says it is destroyed, but nothing actually happened. So the code says that the kindom is there, it acknowledges that the head of the family is the king, but when you load into the game it just moves him back to being Vlandian.
Yes I did, I made the ID of the new kingdom 'vlandia_south' and then copy pasted it (just in case I would type it wrong) into the super faction. But that didn't seem to work.
Yes, your mod seems to work for me. I'll take a look at your code and try to write my own for my mod sometime soon. I'll let you know and thanks again for the very helpfull and quick responses!
So I've downloaded the latest version (1.8.0) and tried to do the same thing I did before with clean slate and somehow it now works. So maybe in my old code I had something conflicting.
Hey I'm modding some extra cultures in but my game crashes when I try to start up a game because of this error:
Error: The 'CivilianTemplate' attribute is not declared. Node: civilianTemplate Value: NPCCharacter.npc_armed_wanderer_equipment_template_empire Line: 4 XML Path: file:///F:SteamLibrary/steamapps/common/Mount & Blade II Bannerlord/Modules/*Mod name I'm working on*/ModuleData/Notables/spspecialcharacters1.xml
I've not changed anything in that file but the customculture -> new culture.
I don't want to state my modname as it's something that's going to take a lot of work and I don't want to spoil it. I'm not sure where to go with this as nobody else has complained about getting this error, so your help would be appreciated!
I didn't delete anything. I downloaded the files of the site and then the only thing I edited in the file was changing the culture and ID of the notable.
Assuming this might further help you(not sure if you already know this), I recommend selecting a culture of your choice(somewhat similar to the one you are making) for example you are creating crusader theme which is a little similar with vlandia, then COPY every single npc vlandia has, and make use of "Ctrl F" of notepad++ to replace every single words that match the ones you want to replace (opened documents only)
Can tweak with match whole word only or letter case
just be careful replacing items like vlandian_mace, it might be replaced with crusadern_mace and will cause some problem.
frequently test starting a sandbox for crashes, might have commited some mistakes,
after making a complete copy of NPC of your selected culture and already replaced the culture, apply your culture on a sample settlement to see if it would crash(notable related crashes)
Hi, Does anyone know why the game gets forever loading when I override the basic_troop and elite_basic_troop in spcultures? This happens after I replaced basic_troops of vanilla cultures,in a new module.I can still load into the saved game file,but when I try to start a new one,it's just forever loading. I tried from time to time but I still can't figure it out.But I'm 100% sure it has something to do with the basic_troop,for the game runs normally when I set them to vanilla troops.
I just learned how to make wanderers but for anyone who does not know go onto spspecialcharacters.xml in the SandBox>ModuleData>spspecialcharacters.xml I am not a great teacher so hopefully this helps anyone trying to make wanderers
64 comments
I would like to create an AI mercenary clan with a new culture + his unique troops and see if it can grow by himself, eventually create his own kingdom a some point by capturing a fief once strong enough, do you think it's possible ? If yes, can I make it spawn to an existing save ?
So the custom culture's name is being used by the settlement, but it doesn't use the troop. I have it the troop tree in my submodule and the ID of the troop copied into the culture so normally it should use it, right?
EDIT:
So it seems to take the name of my custom culture, but use the troops from the previous culture. But that shouldn't happen, right?
I've also tried changing the basic troop of the culture with id vlandia and then the troops did change. So somehow the name is accepted from the culture but the basic troops are still being used from a different ID.
<Culture id="elandia"
name="{=Elandia}Elandia"
is_main_culture="false"
color="0xff8D291A"
color2="0xffF7BF46"
elite_basic_troop="NPCCharacter.elandian_squire"
basic_troop="NPCCharacter.elandian_recruit"
melee_militia_troop="NPCCharacter.vlandian_militia_spearman"
ranged_militia_troop="NPCCharacter.vlandian_militia_archer"
melee_elite_militia_troop="NPCCharacter.vlandian_militia_veteran_spearman"
ranged_elite_militia_troop="NPCCharacter.vlandian_militia_veteran_archer"
can_have_settlement="true"
town_edge_number="16"
villager_party_template="PartyTemplate.villager_vlandia_template"
default_party_template="PartyTemplate.kingdom_hero_party_vlandia_template"
encounter_background_mesh="encounter_vlandia"
faction_banner_key="11.45.127.1536.1536.764.764.1.0.0.160.0.15.512.512.764.764.1.0.0"
elite_caravan_party_template="PartyTemplate.elite_caravan_template_vlandia"
caravan_party_template="PartyTemplate.caravan_template_vlandia"
militia_party_template="PartyTemplate.militia_vlandia_template"
rebels_party_template="PartyTemplate.rebels_vlandia_template"
vassal_reward_party_template="PartyTemplate.vassal_reward_troops_vlandia"
default_face_key="000fa92e90004202aced5d976886573d5d679585a376fdd605877a7764b8987c00000000000007520000037f0000000f00000037049140010000000000000000"
text="{=1Ww5lg6I}The first Vlandians arrived from overseas, mercenaries and adventurers, speaking the tongues of many lands, taking the empire's silver to guard the frontiers against the unsubdued tribes of the interior. They took their name from one of their first warlords, Wilund the Bold - Valandion, in Calradic - and became known as the Vlandians. Their heavy cavalry, second to none, ran down the Emperor's foes from the Aserai wastes to the distant steppes. But cash-strapped officials soon began to pay them with land grants and titles instead of silver, perhaps not the most far-sighted of policies. The Vlandians settled, married, planted farms, and seized nearby imperial fortresses as their own. Now they are an independent kingdom, their traditions drawing from both Calradia and their distant homelands."
tournament_master="NPCCharacter.tournament_master_vlandia"
villager="NPCCharacter.villager_vlandia"
caravan_master="NPCCharacter.caravan_master_vlandia"
armed_trader="NPCCharacter.armed_trader_vlandia"
caravan_guard="NPCCharacter.caravan_guard_vlandia"
veteran_caravan_guard="NPCCharacter.veteran_caravan_guard_vlandia"
basic_mercenary_troop="NPCCharacter.mercenary_1"
duel_preset="NPCCharacter.vlandia_duel_preset"
prison_guard="NPCCharacter.prison_guard_vlandia"
guard="NPCCharacter.guard_vlandia"
blacksmith="NPCCharacter.blacksmith_vlandia"
weaponsmith="NPCCharacter.weaponsmith_vlandia"
townswoman="NPCCharacter.townswoman_vlandia"
townswoman_infant="NPCCharacter.townswoman_infant_vlandia"
townswoman_child="NPCCharacter.townswoman_child_vlandia"
townswoman_teenager="NPCCharacter.townswoman_teenager_vlandia"
townsman="NPCCharacter.townsman_vlandia"
townsman_infant="NPCCharacter.townsman_infant_vlandia"
townsman_child="NPCCharacter.townsman_child_vlandia"
townsman_teenager="NPCCharacter.townsman_teenager_vlandia"
village_woman="NPCCharacter.village_woman_vlandia"
villager_male_child="NPCCharacter.villager_child_vlandia"
villager_male_teenager="NPCCharacter.villager_teenager_vlandia"
villager_female_child="NPCCharacter.village_woman_child_vlandia"
villager_female_teenager="NPCCharacter.village_woman_teenager_vlandia"
ransom_broker="NPCCharacter.ransom_broker_vlandia"
gangleader_bodyguard="NPCCharacter.gangleader_bodyguard_vlandia"
merchant_notary="NPCCharacter.merchant_notary_vlandia"
artisan_notary="NPCCharacter.artisan_notary_vlandia"
preacher_notary="NPCCharacter.preacher_notary_vlandia"
rural_notable_notary="NPCCharacter.rural_notable_notary_vlandia"
shop_worker="NPCCharacter.shop_worker_vlandia"
tavernkeeper="NPCCharacter.tavernkeeper_vlandia"
taverngamehost="NPCCharacter.taverngamehost_vlandia"
musician="NPCCharacter.musician_vlandia"
tavern_wench="NPCCharacter.tavern_wench_vlandia"
armorer="NPCCharacter.armorer_vlandia"
horseMerchant="NPCCharacter.horseMerchant_vlandia"
barber="NPCCharacter.barber_vlandia"
merchant="NPCCharacter.merchant_vlandia"
beggar="NPCCharacter.beggar_vlandia"
female_beggar="NPCCharacter.female_beggar_vlandia"
female_dancer="NPCCharacter.female_dancer_vlandia"
gear_practice_dummy="NPCCharacter.gear_practice_dummy_vlandia"
weapon_practice_stage_1="NPCCharacter.weapon_practice_stage_1_vlandia"
weapon_practice_stage_2="NPCCharacter.weapon_practice_stage_2_vlandia"
weapon_practice_stage_3="NPCCharacter.weapon_practice_stage_3_vlandia"
gear_dummy="NPCCharacter.gear_dummy_vlandia"
board_game_type="MuTorere">
<vassal_reward_items>
<item id="Item.sentinel_2hsword" />
</vassal_reward_items>
<default_policies>
<policy id="policy_feudal_inheritance" />
<policy id="policy_castle_charters" />
</default_policies>
<male_names>
<name name="{=fUQlCkCQ}Anbard" />
<name name="{=bHTdXTwC}Alary" />
<name name="{=8bWBc3sK}Alayen" />
<name name="{=vEsKYrFR}Aldric" />
<name name="{=8C19nvLL}Althegar" />
<name name="{=D6sMSANW}Amalgun" />
<name name="{=IpC3oUbT}Amaldulf" />
<name name="{=8SBw5PzN}Armund" />
<name name="{=ZM8fmXGb}Badulf" />
<name name="{=Gv5vdqxI}Borvald" />
<name name="{=muB0Y0iv}Bothero" />
<name name="{=dP5A3wwT}Boscoric" />
<name name="{=PwflQ4dc}Brand" />
<name name="{=pUQgrcQo}Brun" />
<name name="{=83e9F9bC}Brungalther" />
<name name="{=MN8aE2yP}Caroger" />
<name name="{=swzCKty3}Carsten" />
<name name="{=4mUKn5Hg}Cherald" />
<name name="{=1JgWclmT}Choric" />
<name name="{=9l3RSCJp}Colsund" />
<name name="{=1suLcaso}Cunbert" />
<name name="{=a4hrvaEQ}Daliger" />
<name name="{=Abzr6Dbv}Darbard" />
<name name="{=EY0CcPfr}Dinoric" />
<name name="{=VQYTvnfW}Durold" />
<name name="{=hTw3MjbR}Ecard" />
<name name="{=YSwz9JUr}Elthert" />
<name name="{=SWM5cmVP}Entho" />
<name name="{=PuRfbiW3}Erdurand" />
<name name="{=Jr84qoAW}Ethenbold" />
<name name="{=NH6avjbc}Falsevor" />
<name name="{=8YhNZHtC}Fenton" />
<name name="{=9HcXWNoh}Folc" />
<name name="{=sIjuSRYT}Fredacard" />
<name name="{=r1RohnC6}Furcred" />
<name name="{=qhaBUQQx}Furenhard" />
<name name="{=8kajrmx4}Galric" />
<name name="{=aDAJGO4y}Galthar" />
<name name="{=oKeoaDcF}Garmund" />
<name name="{=kUnGuyKG}Garvy" />
<name name="{=xp1wiXvW}Genalf" />
<name name="{=wuGPSje6}Greveth" />
<name name="{=CXpnTfdk}Guldrimand" />
<name name="{=Ta0zl7o1}Gutlans" />
<name name="{=sF0H1hEV}Halgard" />
<name name="{=8KoaUqQz}Helmold" />
<name name="{=tW6wEhuR}Hirobert" />
<name name="{=iaUQ9lt9}Ingalther" />
<name name="{=17k0NVul}Inric" />
<name name="{=PS4mJwUV}Isilcred" />
<name name="{=kWEta4kl}Lamcard" />
<name name="{=x1mVOiYC}Leothold" />
<name name="{=0YAZ51bc}Lorgand" />
<name name="{=z6GIOwi9}Malbert" />
<name name="{=sWBxHVzp}Merovic" />
<name name="{=ywlfoIUX}Merteon" />
<name name="{=EHalkcEU}Morcon" />
<name name="{=l95tJ2ly}Nerric" />
<name name="{=jeYqsu2T}Normund" />
<name name="{=xu0MkWUY}Olgurnond" />
<name name="{=r3GTFdoy}Olither" />
<name name="{=qrAEaydU}Orest" />
<name name="{=TUQlQWzb}Origand" />
<name name="{=K2UdjFvi}Orunhard" />
<name name="{=DBHAFW5k}Osric" />
<name name="{=aTcSQ7MY}Oto" />
<name name="{=bopqRUEQ}Papenbard" />
<name name="{=y7rQ4USD}Perin" />
<name name="{=wsCMwqFw}Peribard" />
<name name="{=V3QHxJb1}Polmarc" />
<name name="{=i9ZDrsi1}Rafard" />
<name name="{=sGYHxIub}Reamald" />
<name name="{=VVT3bMc2}Regbold" />
<name name="{=4kvs02aU}Robric" />
<name name="{=abCBBVaU}Romund" />
<name name="{=0OFMT7AO}Rothard" />
<name name="{=FwcFIHfl}Sevelar" />
<name name="{=5QLjWfGN}Sicard" />
<name name="{=gSHrv734}Sorgar" />
<name name="{=cEV3G3k8}Stenalf" />
<name name="{=dFHXmyaj}Tandred" />
<name name="{=qtwYBHIn}Thomund" />
<name name="{=DiGVNCZ1}Thorgud" />
<name name="{=iltXQqgS}Turvald" />
<name name="{=bm9surN9}Ubold" />
<name name="{=wvLyCxZz}Ulvard" />
<name name="{=kIrWyLut}Undgar" />
<name name="{=RuxlFoDa}Untheric" />
<name name="{=BxdYS56H}Urentur" />
<name name="{=Xp0RHe1F}Vadicand" />
<name name="{=VYWtQe8r}Varmond" />
<name name="{=HcmkBkYp}Vigother" />
<name name="{=ystHsOQi}Vilmarand" />
<name name="{=RWTcOnCF}Vorard" />
<name name="{=aCTplh2G}Vorthert" />
<name name="{=bFCk1Jrn}Anhalm" />
<name name="{=Ayb3bCJn}Arthobald" />
<name name="{=YiVqz8eW}Chalric" />
<name name="{=3mdyg3nF}Davobard" />
<name name="{=A8E9c4RM}Emencard" />
<name name="{=ZJjgZVHq}Endry" />
<name name="{=eJh7b90l}Forencard" />
<name name="{=86iEfIma}Funder" />
<name name="{=jFRrRgJx}Gilvard" />
<name name="{=tGaIU6Jk}Gunteric" />
<name name="{=zyoEpXek}Humalgart" />
<name name="{=Cy8doiyv}Lamarc" />
<name name="{=Mc58AHLa}Norbrand" />
<name name="{=ulua6Frr}Orthol" />
<name name="{=USkaRPEQ}Samandry" />
<name name="{=D2r7VbZ8}Talimund" />
<name name="{=lbNiWBRN}Thalric" />
<name name="{=W6htECeI}Thavin" />
<name name="{=b8pMwtQu}Therard" />
<name name="{=dPeYqphG}Tunric" />
<name name="{=eRh71UOr}Ulgaric" />
<name name="{=DaCppjI9}Ulpo" />
<name name="{=WtIBqZr6}Vanther" />
</male_names>
<female_names>
<name name="{=ybDa8V4I}Adalis" />
<name name="{=lac74G8a}Agatheuda" />
<name name="{=HMCZ2w9t}Anaheid" />
<name name="{=w9fY8ab4}Arigun" />
<name name="{=N4y8hPX9}Asgerta" />
<name name="{=YlVmRzCI}Athafled" />
<name name="{=CgwHKuzD}Beltrud" />
<name name="{=C2yNuOKd}Beswinda" />
<name name="{=nOJ9W5FE}Brunda" />
<name name="{=KsBoNHW5}Calatild" />
<name name="{=6I6GVFpq}Carmenet" />
<name name="{=eoF4TEr2}Daliset" />
<name name="{=vjeyAchh}Deragunda" />
<name name="{=zcXPVYs5}Detheuda" />
<name name="{=Yl4EsjBg}Drusabalda" />
<name name="{=9AOFkQBo}Elta" />
<name name="{=Ub0awU1n}Ewyn" />
<name name="{=3LMFx9dL}Friduna" />
<name name="{=fkP7RRFe}Gerta" />
<name name="{=Du2Xg6rp}Gertlind" />
<name name="{=B15WfmQT}Gisilchild" />
<name name="{=BWEmxWv0}Iguntha" />
<name name="{=wDRBoiTC}Iliset" />
<name name="{=lMMbmuwp}Isigund" />
<name name="{=7Jd3g0XP}Isilflaed" />
<name name="{=LZ2nBcdv}Lis" />
<name name="{=W6UjOymF}Lucibalda" />
<name name="{=Ba8jWKUq}Manachild" />
<name name="{=boUKXQz0}Margund" />
<name name="{=GZXVCS5B}Melind" />
<name name="{=2Sn4uK35}Orgunda" />
<name name="{=QAHEa5Qr}Petta" />
<name name="{=Rl3D8X2o}Rathegund" />
<name name="{=IDeemU90}Roslind" />
<name name="{=OsjlCBYZ}Saralind" />
<name name="{=ppmUUMY7}Sigatruda" />
<name name="{=wCYpyCab}Sotild" />
<name name="{=Ga3uaJY1}Theraflaed" />
<name name="{=26tqV3ak}Theuda" />
<name name="{=C7aaPCCs}Vanalind" />
<name name="{=b6Ml7BkH}Veronet" />
<name name="{=9I9ziX31}Vilatrud" />
</female_names>
<clan_names>
<name name="{=p1dFvTAc}dey {ORIGIN_SETTLEMENT}" />
</clan_names>
<cultural_feats>
<feat id="vlandian_renown_mercenary_income" />
<feat id="vlandian_villages_production_bonus" />
<feat id="vlandian_increased_army_influence_cost" />
</cultural_feats>
<possible_clan_banner_icon_ids>
<icon id="140" />
<icon id="141" />
<icon id="142" />
<icon id="143" />
<icon id="144" />
<icon id="145" />
<icon id="146" />
<icon id="159" />
<icon id="205" />
<icon id="206" />
<icon id="207" />
<icon id="417" />
<icon id="418" />
<icon id="419" />
<icon id="300" />
<icon id="301" />
<icon id="302" />
<icon id="303" />
<icon id="315" />
</possible_clan_banner_icon_ids>
<notable_and_wanderer_templates>
<template name="NPCCharacter.spc_wanderer_vlandia_0" />
<template name="NPCCharacter.spc_wanderer_vlandia_1" />
<template name="NPCCharacter.spc_wanderer_vlandia_2" />
<template name="NPCCharacter.spc_wanderer_vlandia_3" />
<template name="NPCCharacter.spc_wanderer_vlandia_4" />
<template name="NPCCharacter.spc_wanderer_vlandia_5" />
<template name="NPCCharacter.spc_wanderer_vlandia_6" />
<template name="NPCCharacter.spc_wanderer_vlandia_7" />
<template name="NPCCharacter.spc_wanderer_vlandia_8" />
<template name="NPCCharacter.spc_wanderer_vlandia_9" />
<template name="NPCCharacter.spc_wanderer_vlandia_10" />
<template name="NPCCharacter.spc_wanderer_vlandia_11" />
<template name="NPCCharacter.spc_wanderer_vlandia_12" />
<template name="NPCCharacter.spc_notable_vlandia_merch1" />
<template name="NPCCharacter.spc_notable_vlandia_merch2" />
<template name="NPCCharacter.spc_notable_vlandia_merch3" />
<template name="NPCCharacter.spc_notable_vlandia_merch4" />
<template name="NPCCharacter.spc_notable_vlandia_merch5" />
<template name="NPCCharacter.spc_notable_vlandia_1" />
<template name="NPCCharacter.spc_notable_vlandia_1b" />
<template name="NPCCharacter.spc_notable_vlandia_2" />
<template name="NPCCharacter.spc_notable_vlandia_3" />
<template name="NPCCharacter.spc_vlandia_gangleader_1" />
<template name="NPCCharacter.spc_vlandia_gangleader_2" />
<template name="NPCCharacter.spc_vlandia_gangleader_3" />
<template name="NPCCharacter.spc_notable_vlandia_artisan_1" />
<template name="NPCCharacter.spc_notable_vlandia_artisan_2" />
<template name="NPCCharacter.spc_notable_vlandia_rural_1" />
<template name="NPCCharacter.spc_notable_vlandia_rural_2" />
<template name="NPCCharacter.spc_vlandia_headman_1" />
<template name="NPCCharacter.spc_vlandia_headman_2" />
<template name="NPCCharacter.spc_vlandia_headman_3" />
</notable_and_wanderer_templates>
<lord_templates>
<template name="NPCCharacter.spc_company_of_the_boar_leader_0" />
<template name="NPCCharacter.spc_company_of_the_boar_leader_1" />
<template name="NPCCharacter.spc_company_of_the_boar_leader_2" />
<template name="NPCCharacter.spc_company_of_the_boar_leader_3" />
<template name="NPCCharacter.spc_brotherhood_of_woods_leader_0" />
<template name="NPCCharacter.spc_brotherhood_of_woods_leader_1" />
<template name="NPCCharacter.spc_brotherhood_of_woods_leader_2" />
<template name="NPCCharacter.spc_brotherhood_of_woods_leader_3" />
</lord_templates>
<rebellion_hero_templates>
<template name="NPCCharacter.spc_company_of_the_boar_leader_0" />
<template name="NPCCharacter.spc_company_of_the_boar_leader_1" />
<template name="NPCCharacter.spc_company_of_the_boar_leader_2" />
<template name="NPCCharacter.spc_company_of_the_boar_leader_3" />
<template name="NPCCharacter.spc_brotherhood_of_woods_leader_0" />
<template name="NPCCharacter.spc_brotherhood_of_woods_leader_1" />
<template name="NPCCharacter.spc_brotherhood_of_woods_leader_2" />
<template name="NPCCharacter.spc_brotherhood_of_woods_leader_3" />
</rebellion_hero_templates>
<tournament_team_templates_one_participant>
<template name="NPCCharacter.tournament_template_vlandia_one_participant_set_v1" />
<template name="NPCCharacter.tournament_template_vlandia_one_participant_set_v2" />
<template name="NPCCharacter.tournament_template_vlandia_one_participant_set_v3" />
</tournament_team_templates_one_participant>
<tournament_team_templates_two_participant>
<template name="NPCCharacter.tournament_template_vlandia_two_participant_set_v1" />
<template name="NPCCharacter.tournament_template_vlandia_two_participant_set_v2" />
<template name="NPCCharacter.tournament_template_vlandia_two_participant_set_v3" />
<template name="NPCCharacter.tournament_template_vlandia_two_participant_set_v4" />
</tournament_team_templates_two_participant>
<tournament_team_templates_four_participant>
<template name="NPCCharacter.tournament_template_vlandia_four_participant_set_v1" />
<template name="NPCCharacter.tournament_template_vlandia_four_participant_set_v2" />
<template name="NPCCharacter.tournament_template_vlandia_four_participant_set_v3" />
<template name="NPCCharacter.tournament_template_vlandia_four_participant_set_v4" />
</tournament_team_templates_four_participant>
</Culture>
Test deleting your elandia culture and start the game if it still runs. If it crashed, no duplicated culture.
I've also tried editing it to a base game troop and it still doesn't work.
When you go and check the new kingdom it just says it is destroyed, but nothing actually happened. So the code says that the kindom is there, it acknowledges that the head of the family is the king, but when you load into the game it just moves him back to being Vlandian.
Error: The 'CivilianTemplate' attribute is not declared.
Node: civilianTemplate Value:
NPCCharacter.npc_armed_wanderer_equipment_template_empire
Line: 4
XML Path: file:///F:SteamLibrary/steamapps/common/Mount & Blade II Bannerlord/Modules/*Mod name I'm working on*/ModuleData/Notables/spspecialcharacters1.xml
I've not changed anything in that file but the customculture -> new culture.
I don't want to state my modname as it's something that's going to take a lot of work and I don't want to spoil it. I'm not sure where to go with this as nobody else has complained about getting this error, so your help would be appreciated!
https://media.discordapp.net/attachments/954350022407897088/983308605568720946/unknown.png?width=598&height=609
check your line 4
<NPCCharacter
?id="caravan_leader_holy_roman_empire"
?default_group="Infantry"
?is_hero="false"
?is_mercenary="true"
?civilianTemplate="NPCCharacter.npc_armed_wanderer_equipment_template_empire"
?culture="Culture.holy_roman_empire" occupation="Merchant" name="{=jHVTqyI4}Empire Mercenaries Leader">
<face>
<!--face_key
???value="00199006407c0042d997495b98562c359578cc9a48c3b5735db5ac617aacdd7e000a6960b3489eb500000000000
???0000000000000000000000000000000009000"/-->
?<BodyProperties version="4" age="45.96" weight="0.4991" build="0.4813"
???key="00169005807C0042D997495B98572C359578CC9A48C3B5735DB5AC617AACDD7E0007796507489EB5000000000
???000000000000000000000000000000000A09000" />
</face>
<skills></skills>
<equipmentSet>
? <equipment slot="Item0" id="Item.light_mace_t3" />
</equipmentSet>
? <equipment slot="Body" id="Item.fur_armor_with_strap" />
? <equipment slot="Leg" id="Item.strapped_leather_boots" />
</NPCCharacter>
As you can see from the code here, I've changed nothing else to it.
Can tweak with match whole word only or letter case
just be careful replacing items like vlandian_mace, it might be replaced with crusadern_mace and will cause some problem.
frequently test starting a sandbox for crashes, might have commited some mistakes,
after making a complete copy of NPC of your selected culture and already replaced the culture, apply your culture on a sample settlement to see if it would crash(notable related crashes)
You might wanna find the word in every document opened when you are about to replace something to see if you will replace something you don't intend
Does anyone know why the game gets forever loading when I override the basic_troop and elite_basic_troop in spcultures?
This happens after I replaced basic_troops of vanilla cultures,in a new module.I can still load into the saved game file,but when I try to start a new one,it's just forever loading.
I tried from time to time but I still can't figure it out.But I'm 100% sure it has something to do with the basic_troop,for the game runs normally when I set them to vanilla troops.