Dark Kijin
Chieftain
- Joined
- May 25, 2020
- Messages
- 2
Hi there!
I've been following along with a Civ VI modding tutorial on Youtube but I'm a bit lost when it comes to certain parts of the Unique Unit Code.
Not that it truly matters (but in case anyone wants context), I'm attempting to make a Civilization around Keiki Haniyasushin from Touhou 17. Her unique unit is the Mounted Haniwa Archer, and it has the following attributes
- Light Cavalry unit of the Renaissance Era (So it doesn't replace a unit, sort of like the Malón Raider of the Mapuche)
- Ranged Strength of 55 and Combat Strength of 50
- Gets +15 Ranged Strength against enemy cavalry units
- Can only be purchases with Faith
- Does not required Horses to make
I haven't quite gotten to most of the pieces there, as I'm still stuck on the "Gets +15 Ranged Strength against enemy cavalry units" modifier as the first part I'm working on (I'm using the Civ VI Modding Companion to try and find which built-in modifiers there are, but I wasn't sure if I needed to use the "REQUIREMENT_UNIT_TYPE_MATCHES" or the "REQUIREMENT_OPPONENT_UNIT_TYPE_MATCHES" requirement, and I'm also just generally pretty stumped on the steps I need to take after that.
I've been following along with a Civ VI modding tutorial on Youtube but I'm a bit lost when it comes to certain parts of the Unique Unit Code.
Not that it truly matters (but in case anyone wants context), I'm attempting to make a Civilization around Keiki Haniyasushin from Touhou 17. Her unique unit is the Mounted Haniwa Archer, and it has the following attributes
- Light Cavalry unit of the Renaissance Era (So it doesn't replace a unit, sort of like the Malón Raider of the Mapuche)
- Ranged Strength of 55 and Combat Strength of 50
- Gets +15 Ranged Strength against enemy cavalry units
- Can only be purchases with Faith
- Does not required Horses to make
I haven't quite gotten to most of the pieces there, as I'm still stuck on the "Gets +15 Ranged Strength against enemy cavalry units" modifier as the first part I'm working on (I'm using the Civ VI Modding Companion to try and find which built-in modifiers there are, but I wasn't sure if I needed to use the "REQUIREMENT_UNIT_TYPE_MATCHES" or the "REQUIREMENT_OPPONENT_UNIT_TYPE_MATCHES" requirement, and I'm also just generally pretty stumped on the steps I need to take after that.