MY Add a Civ Tutorial

ok so i hve my unique unit button made and in the right spot and everything right? ok so im n the city screen & i go to choose it to build it & the picture in the city screen of my unit is there but when i click on it and then exit the city screen the game closes & i get an error
 
ok so i hve my unique unit button made and in the right spot and everything right? ok so im n the city screen & i go to choose it to build it & the picture in the city screen of my unit is there but when i click on it and then exit the city screen the game closes & i get an error

usually your images are the wrong size (button images)

they must be 64x64 or the game with shutdown like that...

happened to me a lot
 
Has anyone managed to find a tutorial for creating a warlords civ. I've looked everywhere and tried it without one but I don't even know which xml files you need as default, although there are a couple of folders in the warlords installation called barebones and default.
 
when i load the game when i get to the civ choosing screen i click on my new civ & the game closes with an error
 
when i load the game when i get to the civ choosing screen i click on my new civ & the game closes with an error

again usually it's your images are either the wrong size or the wrong format

FYI if you are making "static" images... they dont need an alpha channel

(alpha channels are usually for flags)
 
!Charcoal: I've read your tutorial completely, but I need to ask you: is this tutorial also for Warlords? I'm not saying your tut is bad, but I tried in Warlords, and thought it very difficult, (I'd say, once I don't know English well, a little troublesome for newbies like me)
can not be easier?
Just to add some leaderheads in a mod already done so all of them be together in a same mod?
 
I don't want to make a animated leaderhead i just want a photograph of a leader so i dont need gimp or that other 3d modeling program? i have notepad, and what step should i skip to then?:confused: :sniper: :banana:
 
I don't want to make a animated leaderhead i just want a photograph of a leader so i dont need gimp or that other 3d modeling program? i have notepad, and what step should i skip to then?:confused: :sniper: :banana:



this tut (for vanilla civ4 only) doesnt make animated leaderheads

just follow the directions :goodjob: in the 1st couple of posts
(you dont need gimp for this)

however some sort of art editor is helpful :D

hope that helps ;)
 
im still confused as to changing the traits from englands traits and giving it new ones.

I only know vanilla civ4 (not expansions like warlords)

the traits are listed in the CIV4TraitInfos.xml file


they look like this:

Code:
		<TraitInfo>
			[COLOR="RoyalBlue"]<Type>TRAIT_PHILOSOPHICAL</Type>[/COLOR]
			<Description>TXT_KEY_TRAIT_PHILOSOPHICAL</Description>
			<ShortDescription>TXT_KEY_TRAIT_PHILOSOPHICAL_SHORT</ShortDescription>
			<iHealth>0</iHealth>
			<iMaxAnarchy>-1</iMaxAnarchy>
			<iUpkeepModifier>0</iUpkeepModifier>
			<iGreatPeopleRateModifier>100</iGreatPeopleRateModifier>
			<iMaxGlobalBuildingProductionModifier>0</iMaxGlobalBuildingProductionModifier>
			<iMaxTeamBuildingProductionModifier>0</iMaxTeamBuildingProductionModifier>
			<iMaxPlayerBuildingProductionModifier>0</iMaxPlayerBuildingProductionModifier>
			<ExtraYieldThresholds/>
			<TradeYieldModifiers/>
			<CommerceChanges/>
			<CommerceModifiers/>
			<FreePromotions/>
			<FreePromotionUnitCombats/>
		</TraitInfo>

you can add traits or modify them just follow the format

(remember to copy this file and EDIT the copy Not the original and place this file in your custom assets or whatever mod folder you make)


now if to change the traits of england then go to the CIV4LeaderHeadInfos.xml file and find england's leaders (victoria or elizabeth...)



Code:
		<LeaderHeadInfo>
			<Type>LEADER_ELIZABETH</Type>
			<Description>TXT_KEY_LEADER_ELIZABETH</Description>
			<Civilopedia>TXT_KEY_LEADER_ELIZABETH_PEDIA</Civilopedia>
			<ArtDefineTag>ART_DEF_LEADER_ELIZABETH</ArtDefineTag>
			<iWonderConstructRand>20</iWonderConstructRand>
			<iBaseAttitude>1</iBaseAttitude>
			<iBasePeaceWeight>9</iBasePeaceWeight>
			<iPeaceWeightRand>3</iPeaceWeightRand>
			<iWarmongerRespect>0</iWarmongerRespect>
...
...
...	<DefensivePactRefuseAttitudeThreshold>ATTITUDE_PLEASED</DefensivePactRefuseAttitudeThreshold>
			<PermanentAllianceRefuseAttitudeThreshold>ATTITUDE_PLEASED</PermanentAllianceRefuseAttitudeThreshold>
			<FavoriteCivic>CIVIC_FREE_RELIGION</FavoriteCivic>
[COLOR="RoyalBlue"]			<Traits>
				<Trait>
					<TraitType>TRAIT_PHILOSOPHICAL</TraitType>
					<bTrait>1</bTrait>
				</Trait>
				<Trait>
					<TraitType>TRAIT_FINANCIAL</TraitType>
					<bTrait>1</bTrait>
				</Trait>
			</Traits>[/COLOR]
			<Flavors>
				<Flavor>
					<FlavorType>FLAVOR_GOLD</FlavorType>
					<iFlavor>5</iFlavor>
				</Flavor>
				<Flavor>
					<FlavorType>FLAVOR_CULTURE</FlavorType>
					<iFlavor>2</iFlavor>
				</Flavor>
			</Flavors>
			<ContactRands>
				<ContactRand>
...
...
...
					<DiploScriptId>AS2D_DIPLO_WARDRUMS_LATE</DiploScriptId>
				</DiploMusicWarEra>
				<DiploMusicWarEra>
					<EraType>ERA_FUTURE</EraType>
					<DiploScriptId>AS2D_DIPLO_WARDRUMS_LATE</DiploScriptId>
				</DiploMusicWarEra>
			</DiplomacyMusicWar>
		</LeaderHeadInfo>


now change the highlighted traits to the traits you want (the ones listed in CIV4TraitInfos.xml file) or the traits you added/modified in that file

hope that helps ;)
 
Sorry to bother you all, but if anybody answers TBurma316 in the post #184, teaching how to make it, will also help me, as this is something that I'm trying to find out for a long, long time.I'll keep waiting to learn that.Thanks in advance, I do appreciate.
 
Yeppers its the same for Warlords as far as traits go (just need to add a few different lines is all ie: Happiness, iGreatGeneralRateModifier just to name some.

I just added in my MOD The Realm of Fantasy 5 newer traits (Agnostic, Barbarian, Hidden, Raiders and HorseLord).

As far as post 184 goes, the Barebones MOD is an excellent way to start a new MOD/Civ for Warlords.
 
thanks for your answer, although I don't want to make a mod, I just want to learn how to make civ4 leader's animation by myself, so ican make my own civs.If anybody has a hint about that & tell me, I do appreciate, thanks once again.
 
Is there any software I can see a civ4 leader with all its animation movements (settings), the whole animation file?
 
when you have to edit the gametextInfo_yourciv, i can't find it. Where is it, or do you have to make it yourself. i'm making a mod where i have to add... well thats confidential :rolleyes:

edit: and i know i isn't named yourciv at the end, but i can't find the gametextInfo.
 
when you have to edit the gametextInfo_yourciv, i can't find it. Where is it, or do you have to make it yourself. i'm making a mod where i have to add... well thats confidential :rolleyes:

edit: and i know i isn't named yourciv at the end, but i can't find the gametextInfo.

All the text files are located in:

Civilization4\Assets\XML\Text

remember to copy files and put them in your (specific custom name) mod folder or custom assets


FYI: the civ4 engine reads ALL XML text files so you can add the specific taglines to any text xml file in the TEXT Folder or create a new XML file in there

THIS IS THE ONE CASE WHERE THE Taglines DONT HAVE TO BE IN A SPECIFIC XML FILE - because the game reads all the text xml files in the TEXT folder

therefore you can just put your TXT_ taglines (following the correct xml format) in any file (at the end to make it easy) that ALREADY exists...

or create a new file (correct XML type file) with that tagline in there...

(for example: gametextInfo_yourciv.xml file)

AS long as you have matching TXT_ Taglines that match your previous XML files (unitsinfos/buildingsinfos/etc)






you can use/download the sample xml file LISTED in the 1st post of this thread to use as your custom XML file





just make sure you put that file in the Text folder in your custom assets or your mod folder*

*remember when I mean mod you have to create the corresponding folders to match the originals and put that in a custom mod folder.... (ex yourciv folder) and put that (yourciv folder) in the Mods Directory:

path = civilization4\Mods folder

(where the American Revolution Mod and Greek world mod is located)


clear as mud? :crazyeye:



hope that helps ;)
 
All the text files are located in:

Civilization4\Assets\XML\Text

remember to copy files and put them in your (specific custom name) mod folder or custom assets


FYI: the civ4 engine reads ALL XML text files so you can add the specific taglines to any text xml file in the TEXT Folder or create a new XML file in there

THIS IS THE ONE CASE WHERE THE Taglines DONT HAVE TO BE IN A SPECIFIC XML FILE - because the game reads all the text xml files in the TEXT folder

therefore you can just put your TXT_ taglines (following the correct xml format) in any file (at the end to make it easy) that ALREADY exists...

or create a new file (correct XML type file) with that tagline in there...

(for example: gametextInfo_yourciv.xml file)

AS long as you have matching TXT_ Taglines that match your previous XML files (unitsinfos/buildingsinfos/etc)






you can use/download the sample xml file LISTED in the 1st post of this thread to use as your custom XML file





just make sure you put that file in the Text folder in your custom assets or your mod folder*

*remember when I mean mod you have to create the corresponding folders to match the originals and put that in a custom mod folder.... (ex yourciv folder) and put that (yourciv folder) in the Mods Directory:

path = civilization4\Mods folder

(where the American Revolution Mod and Greek world mod is located)


clear as mud? :crazyeye:



hope that helps ;)


Thanks, dude, you saved the future of my mod. WAY TO GO!!!:goodjob:
 
Back
Top Bottom