Just want to tweak this one...

isnorden

Amnesiac Modder
Joined
Jul 6, 2012
Messages
608
Location
Madison, Wisconsin, USA
I've enjoyed using the goldsmith building 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:
 
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

Code:
	<Buildings>
		<Row>
			<Type>BUILDING_GOLDSMITH</Type>
			<BuildingClass>BUILDINGCLASS_GOLDSMITH</BuildingClass>
			<Cost>175</Cost>
			<GoldMaintenance>2</GoldMaintenance>
			<PrereqTech>[COLOR="Red"]TECH_METALLURGY[/COLOR]</PrereqTech>
 
Thanks; I assume the new variable is TECH_MINING? (Don't want to make any foolish mistakes!)
 
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
 
Here's the tweaked version, in case anyone else wants to download it. Of course, I gave credit where credit was due! ;)
 
Back
Top Bottom