| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
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. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
The Devourer
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?
|
|
|
|
|
|
#2 |
|
Say No 2 Net Validations
![]() ![]() |
Did you do anything with the archer unit itself?
Seems like you removed it. |
|
|
|
|
|
#3 |
|
The Devourer
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
|
|
|
|
|
|
#4 |
|
The Devourer
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
|
|
|
|
|
|
#5 |
|
Say No 2 Net Validations
![]() ![]() |
Did you do anything with that file or any unit in the game?
Why do you have this file in your mod? |
|
|
|
|
|
#6 |
|
No more ghostbusting!!
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
|
|
|
|
|
|
#7 | |
|
Prince
Join Date: Nov 2009
Posts: 310
|
Quote:
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? |
|
|
|
|
|
|
#8 | |
|
No more ghostbusting!!
Join Date: May 2008
Location: The Netherlands
Posts: 2,082
|
Quote:
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> |
|
|
|
|
|
|
#9 | |
|
The Devourer
Join Date: Sep 2010
Location: The Old Northwest Territory
Posts: 1,245
|
Quote:
Last edited by Radio Noer; Sep 23, 2010 at 05:24 PM. Reason: Need to add more info |
|
|
|
|
|
|
#10 | |
|
Prince
Join Date: Nov 2009
Posts: 310
|
Quote:
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 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. |
|
|
|
|
|
|
#11 |
|
The Devourer
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.
![]() ![]()
|
|
|
|
|
|
#12 | |
|
No more ghostbusting!!
Join Date: May 2008
Location: The Netherlands
Posts: 2,082
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
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 |