• 📚 A new project from the admin: Check out PictureBooks.io, an AI storyteller that lets you build custom picture books for kids in seconds. Let me know what you think here!

Help for add a new improvement

M41d3n.dc

Chieftain
Joined
Jun 15, 2009
Messages
86
hi

just a question, which file must be changed to add a improvement. because i changed CIV4PlotLSystem, CIV4ImprovementInfos, CIV4BuildInfos but the pioneer can't build that !
it's the sugar plantation from "Plantation economy" .
thank and sorry for my english, i'm french.
 
Once you've added a Build command for a new improvement, you need to add it to all units you want to build it in CIV4UnitInfos.xml, as seen here for the Colonist (and all other colonist type units):

Code:
			<Builds>
				<Build>
					<BuildType>BUILD_ROAD</BuildType>
					<bBuild>1</bBuild>
				</Build>
				<Build>
					<BuildType>BUILD_FARM</BuildType>
					<bBuild>1</bBuild>
				</Build>
				<Build>
					<BuildType>BUILD_MINE</BuildType>
					<bBuild>1</bBuild>
				</Build>
				<Build>
					<BuildType>BUILD_LODGE</BuildType>
					<bBuild>1</bBuild>
				</Build>
				<Build>
					<BuildType>BUILD_REMOVE_JUNGLE</BuildType>
					<bBuild>1</bBuild>
				</Build>
				<Build>
					<BuildType>BUILD_REMOVE_FOREST</BuildType>
					<bBuild>1</bBuild>
				</Build>
				<Build>
					<BuildType>BUILD_REMOVE_LIGHT_FOREST</BuildType>
					<bBuild>1</bBuild>
				</Build>
			</Builds>
 
PS : it's resolved ! sorry (it's just a missing word in PlotLSystem :) )
thank
 
Back
Top Bottom