isnorden
Jul 19, 2012, 09:28 PM
I've enjoyed using the goldsmith building (http://steamcommunity.com/sharedfiles/filedetails/?id=77911308) mod that WHoward created, although we disagree on one detail: goldsmiths have set up shop as far back as ancient times in the real world, so I think their Civ 5 counterparts should exist earlier too. How do I change the Tech prerequisite for this building to Mining? Other than plain-text corrections to the .modinfo file, that seems like the only necessary tweak. If you can show me how, I'd appreciate that a lot--many thanks! :goodjob:
whoward69
Jul 19, 2012, 11:46 PM
Locate the file
"C:\Users\{username}\Documents\My Games\Sid Meier's Civilization 5\Mods\Buildings - Goldsmith (v 2)\XML\BuildingsGoldsmith.xml", open it with a plain text editor, eg Notepad, and change the entry in red
<Buildings>
<Row>
<Type>BUILDING_GOLDSMITH</Type>
<BuildingClass>BUILDINGCLASS_GOLDSMITH</BuildingClass>
<Cost>175</Cost>
<GoldMaintenance>2</GoldMaintenance>
<PrereqTech>TECH_METALLURGY</PrereqTech>
isnorden
Jul 20, 2012, 02:27 AM
Thanks; I assume the new variable is TECH_MINING? (Don't want to make any foolish mistakes!)
whoward69
Jul 20, 2012, 03:03 AM
You happen to be correct, but it's a really bad idea to assume anything about Civ5, especially when you can easily check the info by looking in the game files in C:\Program Files (x86)\Steam\SteamApps\common\sid meier's civilization v\assets\Gameplay\XML - in this case Technologies\Civ5Technologies.xml
isnorden
Jul 27, 2012, 01:01 AM
Here's the tweaked version, in case anyone else wants to download it. Of course, I gave credit where credit was due! ;)