Can't make worker build stuff

Bringa

King
Joined
Jan 23, 2006
Messages
678
I'm feeling pretty dumb here.

I'm making a mod and I'm trying to start from scratch, that is to say remove all concepts in BtS and reintroduce them one by one, if necessary. The removing stuff part was more work than expected, but I got the mod to load up without error messages now.

Currently I'm trying to enable simple build missions for my workers again, stuff like build farm/road etc. Units/CIV4BuildInfos has the build info, with an existing tech as prereq tech, and an existing improvement. Terrain/CIV4ImprovementInfos has pretty much a verbatim copy of the mine improvement from normal BtS. Still I don't get the build mine command with a worker, even when on a valid tile with the tech researched.

What else might I be missing? I pretty much pasted the buildinfo and the improvementinfo over from BtS's original XMLs with only the name of the tech changed for now. (And yes, my worker units still have iWorkRate)
 
Civ4UnitInfos.xml, you have to add:
PHP:
<Builds>
				<Build>
					<BuildType>BUILD_ROAD</BuildType>
					<bBuild>1</bBuild>
				</Build>
				<Build>
					<BuildType>BUILD_RAILROAD</BuildType>
					<bBuild>1</bBuild>
				</Build>
				<Build>
					<BuildType>BUILD_FARM</BuildType>
					<bBuild>1</bBuild>
				</Build>etc
 
Great! That's exactly what I'd forgotten. Thank you!
 
Back
Top Bottom