Advertisement
Civilization Fanatics' Center  

Welcome to Civilization Fanatics' Center.

You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support.

Go Back   Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization

Notices

Reply
 
Thread Tools
Old Sep 21, 2010, 03:02 PM   #1
Radio Noer
The Devourer
 
Radio Noer's Avatar
 
Join Date: Sep 2010
Location: The Old Northwest Territory
Posts: 1,245
Added Montgomery, now files won't load?

Hey everybody, I am currently creating a mod of my own and I have had a very large issue. I added Sean Connery and General Montgomery and suddenly, the mod basically doesn't function anymore. I attempt to load the mod and it gets to "Loading uncached XML when the errors begin to pop up.

The first error says:
Tag: UNIT_ARCHER in Info class was incorrect
XML\Civilizations/Civ4UnitArtStyleTypeInfos.xml

This pattern then repeats for every unit found in this folder.
Do I just need to repaste the xml from bts or do I need to scrap my mod

Is there any way to fix this and salvage my mod?
Radio Noer is offline   Reply With Quote
Old Sep 21, 2010, 07:26 PM   #2
The_J
Say No 2 Net Validations

 
The_J's Avatar
 
Join Date: Oct 2008
Location: Germany / Netherlands
Posts: 24,882
Images: 51
Did you do anything with the archer unit itself?
Seems like you removed it.
__________________
Civ4-BtS-Mod "Mars, Now!"


Steam eats the souls of little gamers!!!
The_J is offline   Reply With Quote
Old Sep 22, 2010, 02:17 PM   #3
Radio Noer
The Devourer
 
Radio Noer's Avatar
 
Join Date: Sep 2010
Location: The Old Northwest Territory
Posts: 1,245
No, nothing done with the archer unit, or any others for that matter, I was thinking that I should delete the file and copy it again from BTS
Radio Noer is offline   Reply With Quote
Old Sep 22, 2010, 06:02 PM   #4
Radio Noer
The Devourer
 
Radio Noer's Avatar
 
Join Date: Sep 2010
Location: The Old Northwest Territory
Posts: 1,245
I made another mod, trying to recreate this mod. I created a couple of leaders and it had a similar error
Radio Noer is offline   Reply With Quote
Old Sep 22, 2010, 08:18 PM   #5
The_J
Say No 2 Net Validations

 
The_J's Avatar
 
Join Date: Oct 2008
Location: Germany / Netherlands
Posts: 24,882
Images: 51
Did you do anything with that file or any unit in the game?
Why do you have this file in your mod?
__________________
Civ4-BtS-Mod "Mars, Now!"


Steam eats the souls of little gamers!!!
The_J is offline   Reply With Quote
Old Sep 22, 2010, 08:25 PM   #6
Arian
No more ghostbusting!!
 
Arian's Avatar
 
Join Date: May 2008
Location: The Netherlands
Posts: 2,082
Here's what to do:

1. Create your mod, which you obviously did
2. Copy the mentioned files below to their appropriate places.
3. Edit CIV4LeaderHeadInfos.xml and add your leader.
4. Edit CIV4CivilizationInfos.xml and add your leader to some civ.
5. Create a XML-file in XML/TEXT folder to add your text-entries for your leader.
6. Copy the art of your leader to your ART/LEADERHEADS/...
7. Copy the button of your leader to ART/INTERFACE/BUTTONS/LEADERHEADS/...
8. Edit CIV4ArtDefines_Leaderhead.xml and add the art of your leader. Make sure you enter the correct paths to the art (6 and 7).
9. Optionally you can also edit CIV4DiplomacyInfos.xml to add diplos for your leader.

This basically covers it, hope it helps
__________________
Play A New Dawn, mod for BTS
Various Wondermovies
Get rid of your blurry buttons
Arian is offline   Reply With Quote
Old Sep 22, 2010, 09:34 PM   #7
Padjur
Prince
 
Join Date: Nov 2009
Posts: 310
Quote:
Originally Posted by Arian View Post
3. Edit CIV4LeaderHeadInfos.xml and add your leader.
4. Edit CIV4CivilizationInfos.xml and add your leader to some civ.
In CIV4CivilizationInfos.xml each civ is also allocated a UnitArtStyleType which are detailed in the Civ4UnitArtStyleTypeInfos.xml, all three files are in the Civilizations folder.
The LeaderHead and the UnitArtStyle are linked through the CIV4CivilizationInfos.xml, so I would look there first.

If these new leaders are being added to an existing Civ you probably don't need to to go near the UnitArtStyleType tag it would most likely be only if you were creating a new Civ that you might edit that tag. Could you tell us what edits you made to add these leaderheads?
Padjur is offline   Reply With Quote
Old Sep 23, 2010, 10:07 AM   #8
Arian
No more ghostbusting!!
 
Arian's Avatar
 
Join Date: May 2008
Location: The Netherlands
Posts: 2,082
Quote:
Originally Posted by Padjur View Post
In CIV4CivilizationInfos.xml each civ is also allocated a UnitArtStyleType which are detailed in the Civ4UnitArtStyleTypeInfos.xml, all three files are in the Civilizations folder.
The LeaderHead and the UnitArtStyle are linked through the CIV4CivilizationInfos.xml, so I would look there first.

If these new leaders are being added to an existing Civ you probably don't need to to go near the UnitArtStyleType tag it would most likely be only if you were creating a new Civ that you might edit that tag. Could you tell us what edits you made to add these leaderheads?
Something like this in CIV4CivilizationInfos.xml:
Code:
			<Leaders>
				<Leader>
					<LeaderName>LEADER_WASHINGTON</LeaderName>
					<bLeaderAvailability>1</bLeaderAvailability>
				</Leader>
				<Leader>
					<LeaderName>LEADER_FRANKLIN_ROOSEVELT</LeaderName>
					<bLeaderAvailability>1</bLeaderAvailability>
				</Leader>
				<Leader>
					<LeaderName>LEADER_LINCOLN</LeaderName>
					<bLeaderAvailability>1</bLeaderAvailability>
				</Leader>
				<Leader>
					<LeaderName>LEADER_REAGAN</LeaderName>
					<bLeaderAvailability>1</bLeaderAvailability>
				</Leader>
				<Leader>
					<LeaderName>LEADER_OBAMA</LeaderName>
					<bLeaderAvailability>1</bLeaderAvailability>
				</Leader>
			</Leaders>
Just add your leader here and he will become available if you load your mod.
__________________
Play A New Dawn, mod for BTS
Various Wondermovies
Get rid of your blurry buttons
Arian is offline   Reply With Quote
Old Sep 23, 2010, 05:20 PM   #9
Radio Noer
The Devourer
 
Radio Noer's Avatar
 
Join Date: Sep 2010
Location: The Old Northwest Territory
Posts: 1,245
Quote:
Originally Posted by Padjur View Post
In CIV4CivilizationInfos.xml each civ is also allocated a UnitArtStyleType which are detailed in the Civ4UnitArtStyleTypeInfos.xml, all three files are in the Civilizations folder.
The LeaderHead and the UnitArtStyle are linked through the CIV4CivilizationInfos.xml, so I would look there first.

If these new leaders are being added to an existing Civ you probably don't need to to go near the UnitArtStyleType tag it would most likely be only if you were creating a new Civ that you might edit that tag. Could you tell us what edits you made to add these leaderheads?
The only edits I made were to the CivilizationInfos folder and leaderheads, I just copied and pasted from a different info or leaderhead and replaced the names of that leader with mine. (Pretty much exactly what Arian did)

Last edited by Radio Noer; Sep 23, 2010 at 05:24 PM. Reason: Need to add more info
Radio Noer is offline   Reply With Quote
Old Sep 23, 2010, 08:00 PM   #10
Padjur
Prince
 
Join Date: Nov 2009
Posts: 310
Quote:
Originally Posted by Radio Noer View Post
The only edits I made were to the CivilizationInfos folder and leaderheads, I just copied and pasted from a different info or leaderhead and replaced the names of that leader with mine. (Pretty much exactly what Arian did)
My advice then would be to create a test mod just to test these edits and see if it works.

All you need do is create a mod called test in the- Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods-folder inside put a folder named -Assets- then -XML- and finally the Civilizations folder and Art folder.

Copy and Edit the CIV4ArtDefines_Civilization.xml to the Art folder. Copy and edit the CIV4LeaderHeadInfos.xml into the the Civilizations folder and also the CIV4CivilizationInfos.xml . Edit this file as Arian says
Quote:
Originally Posted by Arian View Post
Code:
			<Leaders>
				<Leader>
					<LeaderName>LEADER_WASHINGTON</LeaderName>
					<bLeaderAvailability>1</bLeaderAvailability>
				</Leader>
			</Leaders>
With your new leader name and nothing more, no need to alter anything else in this file. Try loading the mod and see if it works if it does add the leaderHead with these edits to your mod and it should work. If not post the edited files and we'll take a look.
Padjur is offline   Reply With Quote
Old Sep 24, 2010, 07:01 PM   #11
Radio Noer
The Devourer
 
Radio Noer's Avatar
 
Join Date: Sep 2010
Location: The Old Northwest Territory
Posts: 1,245
It worked! I think I just need to take modding a bit slower and troubleshoot every change I make. If I have any other questions I'll post them here. Also a HUGE thank you to all of you, without your help, I'm sure I would have gone crazy.

Radio Noer is offline   Reply With Quote
Old Sep 24, 2010, 07:04 PM   #12
Arian
No more ghostbusting!!
 
Arian's Avatar
 
Join Date: May 2008
Location: The Netherlands
Posts: 2,082
Quote:
Originally Posted by Radio Noer View Post
It worked! I think I just need to take modding a bit slower and troubleshoot every change I make. If I have any other questions I'll post them here. Also a HUGE thank you to all of you, without your help, I'm sure I would have gone crazy.

Glad we could help
__________________
Play A New Dawn, mod for BTS
Various Wondermovies
Get rid of your blurry buttons
Arian is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > [BTS] Added Montgomery, now files won't load?

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
.sql files in pre-load sosueme Civ5 - Creation & Customization 13 Sep 22, 2010 06:53 PM
Unable to load PBEM files Stormwaltz Fall from Heaven Troubleshooting 0 Aug 27, 2008 09:41 PM
Civ 4 won't load XML files but won't tell why. Sithguy Civ4 - Creation & Customization 20 Dec 13, 2007 05:36 PM
Autosave files do not Load. A Bug? m_dorian Civ4 - Bug Reports 2 Nov 21, 2005 05:17 PM
Saved WBS files don't load wotan321 Civ4 - Creation & Customization 2 Nov 02, 2005 01:16 PM


Advertisement

All times are GMT -6. The time now is 11:18 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR