Woodmorning
Chieftain
- Joined
- Jun 27, 2018
- Messages
- 13
I am back again trying to mod Civ 6. After having some successes with custom leader traits I am now looking to make a custom unit. However I do not know how to model yet, and rather than spend time modeling before I know I can actually do it, I wanted to try and create a custom unit and just re-use the base game art assets.
For example, I wanted to create a new ranged unit that uses the observation balloon model/assets. (sort of a zeppelin bomber).
The have the new unit defined in GameData, as well as added a trait to a custom leader that should allow the unit to show up. The unit shows fine in the game config screen, but it doesnt show up in the loading screen or in-game with the custom civ. It doesn't show up in the tech tree, nor as an option to build the unit in the city production screen (I've tried both WITH a pre-requisite tech, and WITHOUT a pre-requisite tech defined).
I am thinking the reason for this is because I am lacking the art definition, so the game knows about the unit but doesn't know how to display anything about it.
I know in past games, there was a <UnitArtInfo> tag in the <Units> Table, that defined what art it would use...so you could do something like
<Units>
<Row>
<UnitType>MY_CUSTOM_UNIT</UnitType>
...
...
<UnitArtInfo>ART_DEF_UNIT_OBSERVATION_BALLOOON</UnitArtInfo>
</Row>
</Units>
But this (UnitArtInfo) doesnt seem to exist in the units table in Civ 6. Is there a tutorial that covers this? Or if someone could just tell me what I need to know to progress further?
For example, I wanted to create a new ranged unit that uses the observation balloon model/assets. (sort of a zeppelin bomber).
The have the new unit defined in GameData, as well as added a trait to a custom leader that should allow the unit to show up. The unit shows fine in the game config screen, but it doesnt show up in the loading screen or in-game with the custom civ. It doesn't show up in the tech tree, nor as an option to build the unit in the city production screen (I've tried both WITH a pre-requisite tech, and WITHOUT a pre-requisite tech defined).
I am thinking the reason for this is because I am lacking the art definition, so the game knows about the unit but doesn't know how to display anything about it.
I know in past games, there was a <UnitArtInfo> tag in the <Units> Table, that defined what art it would use...so you could do something like
<Units>
<Row>
<UnitType>MY_CUSTOM_UNIT</UnitType>
...
...
<UnitArtInfo>ART_DEF_UNIT_OBSERVATION_BALLOOON</UnitArtInfo>
</Row>
</Units>
But this (UnitArtInfo) doesnt seem to exist in the units table in Civ 6. Is there a tutorial that covers this? Or if someone could just tell me what I need to know to progress further?