TofuSojo
Chieftain
Hey all. I'm having trouble with a mod I've been working on. Trading Posts Grow into Towns (it's up on the Steam Workshop).
There are just two more things I'm trying to do before I'ld say it's done, or at least out of alpha:
1) Give my custom improvements defensive modifiers. Here's the code for my Town building:
<Row>
<Type>IMPROVEMENT_TOWN4</Type>
<Description>Town</Description>
<Civilopedia>TXT_KEY_CIV5_IMPROVEMENTS_TRADING_POST_TEXT</Civilopedia>
<ArtDefineTag>ART_DEF_IMPROVEMENT_TRADING_POST4</ArtDefineTag>
<ImprovementPillage>IMPROVEMENT_TOWN3</ImprovementPillage>
<PillageGold>80</PillageGold>
<DefenseModifier>15</DefenseModifier>
<PortraitIndex>32</PortraitIndex>
<IconAtlas>TERRAIN_ATLAS</IconAtlas>
</Row>
I added the <DefenseModifier>15</DefenseModifier> line, just like Forts have but it simply isn't in affect in game. I've also tried 5, 10, 25, and 50, just to test it only certain numbers are valid for improvements. At least I don't think they are in game because when I hover over a Barb standing on an unpillaged Town, I can see terrain modifiers, but none for the ones I'm trying to add. Note that otherwise my improvements work correctly.
2) I'm trying to have my improvements use the pre-G&K's model. I read PawelS's similar thread from 2012, but he was trying to use both styles at once. And in ModBuddy I have added an Art folder which, outside of ModBuddy, I've filled with the art files for the old model extracted from Civ 5's Resources but it didn't change it in game. I checked off Reload Landmark System in the Mod Info tab of Properties (I assume that is how you get it to reload the VFS?). I suspect that is all terribly wrong
.
Actually the ideal would be if they used low pop city art, but I assume that is too tall an order...
Thanks in advance
There are just two more things I'm trying to do before I'ld say it's done, or at least out of alpha:
1) Give my custom improvements defensive modifiers. Here's the code for my Town building:
<Row>
<Type>IMPROVEMENT_TOWN4</Type>
<Description>Town</Description>
<Civilopedia>TXT_KEY_CIV5_IMPROVEMENTS_TRADING_POST_TEXT</Civilopedia>
<ArtDefineTag>ART_DEF_IMPROVEMENT_TRADING_POST4</ArtDefineTag>
<ImprovementPillage>IMPROVEMENT_TOWN3</ImprovementPillage>
<PillageGold>80</PillageGold>
<DefenseModifier>15</DefenseModifier>
<PortraitIndex>32</PortraitIndex>
<IconAtlas>TERRAIN_ATLAS</IconAtlas>
</Row>
I added the <DefenseModifier>15</DefenseModifier> line, just like Forts have but it simply isn't in affect in game. I've also tried 5, 10, 25, and 50, just to test it only certain numbers are valid for improvements. At least I don't think they are in game because when I hover over a Barb standing on an unpillaged Town, I can see terrain modifiers, but none for the ones I'm trying to add. Note that otherwise my improvements work correctly.
2) I'm trying to have my improvements use the pre-G&K's model. I read PawelS's similar thread from 2012, but he was trying to use both styles at once. And in ModBuddy I have added an Art folder which, outside of ModBuddy, I've filled with the art files for the old model extracted from Civ 5's Resources but it didn't change it in game. I checked off Reload Landmark System in the Mod Info tab of Properties (I assume that is how you get it to reload the VFS?). I suspect that is all terribly wrong

Actually the ideal would be if they used low pop city art, but I assume that is too tall an order...
Thanks in advance