Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Game code adds this item as a child to #DoctrineTree_Parent
The name must be #UnitName_Doctrine
Is there another file that has this doctrine tree parent file that I'm missing? The gui file in the mod folder looks the same as one of my downloaded unit mods that currently employs the vanilla ranger doctrine as well.
<whatever you use as whole unit name>_doctine.xml
Adding item as a child refer to which connect to which. Child connect to parent.
For example, you have sexygirs_unit.xml with unit name being SexyGirls then it's doctrine file should also be named sexygirls_doctrine.xml .
All the nodes that are you planning to use should be written here.
Before closing tag </Unit> (NOT </Units>)
In structure like
Effect of the nodes itself should be written in _doctine_nodes.xml UNLESS you are using existing nodes then you should check their names in the game files (doctrine_nodes.xml) and don't touch this file at all.
_doctrines.xml is user strictly user interface. Either start from just line, check how it's looks and add more little by little by using logic and mathemathic (and I really hope you know HTML) or use this file from some other mod and just change names and nodes. Thought keep in mind that if they use any kind of static images that aren't default game files, then you also need to copy them too (texture folder) OR enable that mod first.
Adding item as a child refer to which connect to which. Child connect to parent (and inherit attibutes and values for anything that isn't rewritten by itself or rewritten later by the child with the same name) The file without prefix (simple doctine.xml and such) are default game files which always load first.
If you are using BAF mod as referece (342453084 and note that this one uses suffix intead of prefix for file names) then you need to copy _unit.xml file inside "units" folder from the mod you are changing or change it inside the mod you are trying to add doctrine (in any way, it's should be insde "units" folder too) for where you need to copy and paste below </Ranks>
Then you need to copy doctrine_baf.xml from GUI and change it's name to <whatever unit name the mod you are trying to add doctrine for using>_doctrine.xml, copy stuff from doctrine_baf.xml inside and change on of the lines on top
And you need to restart the game if you are changing anything because game onle reads that files on start.
It's have dependency mod that add two units which up to date. You probably have better chance at recreating the unit while pulling resources from there and this old mod.
I feel like it just has to be that I'm missing some specific line of code that needs to be edited... I can see that they are earning the standard 2 doctrine points per level (currently 10 @ lvl5) but when I click on the doctrine button it shows a gray screen and randomly shows 32 points in the top right corner. I'm wondering if there's a line that links to the visual tree set? I assumed the gui file was what made the visual representation of the tree but maybe I'm missing a step...
And the version is taken from the mod.info file, the release one is 100, the version in the file is 15 I think. So if you will change it there then message will dissapear.