Crashing report: Please install the mod Better Exception Window When you encounter crashing, post the crash log, it would help for understanding the reasons of crashing. Please post the crash report in bug section
Please aware version incompatible, please download the correct one for your game.
Please READ THE DESCRIPTIONS FIRST.
For unit equipment: In default, the selection of unit equipment are limited to the unit tier, you can disable it via configuration. (Be aware Custom Equipment are usually high tier items)
For equipment upgrade cost, you can also configure it.
Back up your campaign save before update to prevent troop tree lost when reinstalling the mod
Translation issue:
Not sure why, but the troop seems unable to be translated.
You can just delete the string of all unit in the translated module_strings file
Then the translation should work, troop name can be customize by user, translation isn't really a must, so I guess it's fine for now
It's all good. But the militia in my castles is recruited by another kingdom, I create my own troops and my own culture, but in my castle the militia is recruited, although visually there are none.
I am using this with Detailed character creation. I'm not sure which mod is the problem, but when I customize the appearances of the custom troops, it keeps reverting back to its original appearance. Is there a way to fix this problem?
I'm not sure if the issue is still relevant to you, but here is how this should be solved, to whom it may concern:
You can edit the appearance of your troops with Detailed Character Creation, but it will at one point, usually on load, be overridden, since the Custom Troop mod uses its own "custom_bodyproperties" xml file for reference. It is located in the ModuleData folder. In that file, several characters are listed and defined. The most relevant would be the "fighter_custom" id, this is the base model for your custom troops. The age, weight and build lines are self explanatory, edit them to your liking. For the looks, you will note that there is a "key" which defines the characters face.
You can extract that one and the aforementioned lines from the Detailed Character Creation edit screen. Open the Character Editor and simply press "CTRL+C", there is no visual text line, but it will copy the relevant data of your edited character to the clipboard in the background. Then, paste the saved data into an editor file and extract the key from it.
Note, that in the "custom_bodyproperties" xml file, for every listed character, there are two entries each, a <BodyPropertiesMin version="4" and <BodyPropertiesMax version="4" (don't ask me what version 4 is)
You will have to paste the key, the age, weight and build lines under both.
I hope this helps and works for you, it did for me. As an additional note, for each campaign, there is an xml file that defines your troops in the CampaignSave folder. In that xml, each single unit of every tier of your troop tree references the id "fighter_custom" which is why your soldiers all look the same. If you wanted to put in the work and make each unit look different, you would have to create a new id for each single unit type / tier in this xml file and then create the respective entry with said id and its custom values and face keys in the "custom_bodyproperties" file. It should work, but I don't care enough to try.
Спасибо r0Xx, это помогло. Также небольшое дополнение к предложенному тобой способу от меня:
1.Как менять внешность войск в сохраненной игре (простой способ) файл custom_bodyproperties.xml - сюда копируешь ключ персонажа, который можно получить в редакторе персонажа нажатием ctrl + c и вставив в любой txt файл. в этом файле меняешь значение ключа для fighter_custom (или других персонажей, вроде населения города и деревни). Первый - Min, второй - Max ключ. Сохраняешь изменения. Затем, находишь папку CampaignSave, в ней появляется файл сохранения твоей игры, в котором заданы кастомные шаблоны. Находишь строчки нужных тебе юнитов и проверяешь, чтобы <face_key_template value="BodyProperty.fighter_custom" /> (всегда заканчивается _custom).
2.Добавлять свои пресеты в сохранение. Делаешь то же самое, что и в первом способе, до момента получения ключа для вставки. Затем, открываешь файл: custom_bodyproperties.xml Добавляешь в custom_bodyproperties.xml например, такой же:
В любое место, но смотри, чтобы все содержимое закрывалось </BodyProperties> в конце файла, как было изначально. Затем вместо id="fighter_custom" пишешь любое другое английское название, например id="new_fighter_custom" (любое). Сохраняешь. Затем, находишь папку CampaignSave, в ней появляется файл сохранения твоей игры, в котором заданы кастомные шаблоны. Находишь строчки нужных тебе юнитов и заменяешь все <face_key_template value="BodyProperty.fighter_custom" /> на <face_key_template value="BodyProperty.new_fighter_custom" />, например. Аналогично для сельских и городских жителей. Сохраняешь. Если в файле custom_bodyproperties.xml есть добавленный шаблон, он его прочитает.
3.ВАЖНО:
Актуально для мода на версию игры 1.2.8 (он работает и с 1.2.10 / 1.2.11, совместим с модом Detailed Character Creation, но внешность внутри игры им не отредактировать через меню названного мода).
Файл сохранения всегда перезаписывается и это не страшно, если вы не вносили никаких изменений связанных с выбором культуры отряда в игре.
Если вы смените культуру с custom на любую другую, тогда шаблон custom не будет использоваться. Будут применяться совершенно другие шаблоны (как менять их для Империи, например, я не знаю).
Если вы пользуетесь способом 2, тогда вам не стоит менять в игре культуру войск на какую-либо другую (это перезапишет ключ лиц).
Если вы изменили культуру, тогда файл сейва придется заново настраивать на ключи лиц для тех юнитов, которым вы изменили культуру.
Ключ лица в сейве, который вы вручную внести в строчку <face_key_template value="..." не связан никак с культурой юнитов, поэтому можно заменить ключ внешности для тех юнитов, культура которых не custom.
За культуру в файле сохранения отвечает culture="Culture.custom" (например это кастомная культура).
Можно менять и другие параметры в custom_bodyproperties.xml, такие как возраст, вес, конституцию тела. Файл не перезаписывается автоматически, можете спокойно добавлять свои прегены и менять существующие.
Обычно изменение внешности работает без надобности выходить из игры, после редактирования файлов. Но иногда может потребоваться перезагрузить сохранение)
Hi, I have a question, is it possible to change the "default_group" or "group" of a unit type? For example, is it possible to change the group from "archers" to "infantry"? Or is it possible to create a new group like "rookie" and assign all recruits to this, and command this separately from other infantry? If possible, how?
Seems like a nice mod to replace my little warband, however, the select all kingdom culture was never updated, so how can you get custom culture without this mod ? Since it's a hard requirement, weird ot keep it outdated for 3 years.
1432 comments
Please install the mod Better Exception Window
When you encounter crashing, post the crash log, it would help for understanding the reasons of crashing.
Please post the crash report in bug section
Please write, copy and paste the following content:
- Game Version
- Reasons
- Inner exception
- Callstacks
Please aware version incompatible, please download the correct one for your game.
Please READ THE DESCRIPTIONS FIRST.
Translation issue:
I am using this with Detailed character creation. I'm not sure which mod is the problem, but when I customize the appearances of the custom troops, it keeps reverting back to its original appearance. Is there a way to fix this problem?
You can edit the appearance of your troops with Detailed Character Creation, but it will at one point, usually on load, be overridden, since the Custom Troop mod uses its own "custom_bodyproperties" xml file for reference. It is located in the ModuleData folder. In that file, several characters are listed and defined. The most relevant would be the "fighter_custom" id, this is the base model for your custom troops. The age, weight and build lines are self explanatory, edit them to your liking. For the looks, you will note that there is a "key" which defines the characters face.
You can extract that one and the aforementioned lines from the Detailed Character Creation edit screen. Open the Character Editor and simply press "CTRL+C", there is no visual text line, but it will copy the relevant data of your edited character to the clipboard in the background. Then, paste the saved data into an editor file and extract the key from it.
Note, that in the "custom_bodyproperties" xml file, for every listed character, there are two entries each, a <BodyPropertiesMin version="4" and <BodyPropertiesMax version="4" (don't ask me what version 4 is)
You will have to paste the key, the age, weight and build lines under both.
I hope this helps and works for you, it did for me. As an additional note, for each campaign, there is an xml file that defines your troops in the CampaignSave folder. In that xml, each single unit of every tier of your troop tree references the id "fighter_custom" which is why your soldiers all look the same. If you wanted to put in the work and make each unit look different, you would have to create a new id for each single unit type / tier in this xml file and then create the respective entry with said id and its custom values and face keys in the "custom_bodyproperties" file. It should work, but I don't care enough to try.
1.Как менять внешность войск в сохраненной игре (простой способ)
файл custom_bodyproperties.xml - сюда копируешь ключ персонажа, который можно получить в редакторе персонажа нажатием ctrl + c и вставив в любой txt файл.
в этом файле меняешь значение ключа для fighter_custom (или других персонажей, вроде населения города и деревни). Первый - Min, второй - Max ключ. Сохраняешь изменения.
Затем, находишь папку CampaignSave, в ней появляется файл сохранения твоей игры, в котором заданы кастомные шаблоны. Находишь строчки нужных тебе юнитов и
проверяешь, чтобы <face_key_template value="BodyProperty.fighter_custom" /> (всегда заканчивается _custom).
2.Добавлять свои пресеты в сохранение.
Делаешь то же самое, что и в первом способе, до момента получения ключа для вставки. Затем, открываешь файл: custom_bodyproperties.xml
Добавляешь в custom_bodyproperties.xml например, такой же:
<BodyProperty id="fighter_custom">
<BodyPropertiesMin version="4"
age="22.50"
weight="0.3164"
build="0.2485"
key="(сюда ключ внешности)" />
<BodyPropertiesMax version="4"
age="39"
weight="0.7223"
build="0.7052"
key="(сюда ключ внешности)" />
</BodyProperty>
В любое место, но смотри, чтобы все содержимое закрывалось </BodyProperties> в конце файла, как было изначально.
Затем вместо id="fighter_custom" пишешь любое другое английское название, например id="new_fighter_custom" (любое). Сохраняешь.
Затем, находишь папку CampaignSave, в ней появляется файл сохранения твоей игры, в котором заданы кастомные шаблоны. Находишь строчки нужных тебе юнитов и
заменяешь все <face_key_template value="BodyProperty.fighter_custom" /> на <face_key_template value="BodyProperty.new_fighter_custom" />, например. Аналогично для сельских и городских жителей. Сохраняешь.
Если в файле custom_bodyproperties.xml есть добавленный шаблон, он его прочитает.
3.ВАЖНО:
Обычно изменение внешности работает без надобности выходить из игры, после редактирования файлов. Но иногда может потребоваться перезагрузить сохранение)
If possible, how?
Since it's a hard requirement, weird ot keep it outdated for 3 years.