Second attempt at a Mod: Failure

PPRyan

Chieftain
Joined
Dec 14, 2010
Messages
50
Okay, so I decided to start from scratch and just install some new leaders that were made by Firaxis from HERE. Should be pretty simple, or so I think.

1. Whenever I loaded the mod, I would get an error message about Barbarians... and then every other civ.

2. I fixed this by copying everything from the main games' XML data files from the CIV4Gold/BtS/Assets/XML/Civilizations/ folder, specifically these two files:

CIV4CivilizationInfos

CIV4LeaderHeadInfos

and inserting the leader heads info in their correct place. That corrected the error messages from popping up. But now...

3. Every time I load the mod, choose to start a game, and then go to pick a leader, Civilization crashes on me.

Any ideas what I might have done wrong? There is no error message, the program just crashes.
 
My first guess is that you didn't update the
CIV4ArtDefines_Civilization.xml
and
CIV4ArtDefines_Leaderhead.xml in
CIV4Gold/BtS/Assets/XML/Art/

Whenever you insert new stuff like units, buildings, civs, leaders etc, there is an artdefines file that points to the .nif and other associated graphics components. If it isn't correct the game crashes.
 
Well, I fixed the CIV4ArtDefines_Leaderhead.xml file, and it no longer crashes... good thing.

However, now none of the new leader heads show up at all.

(And I did copy over a CIV4ArtDefines_Civilization.xml file, but it doesn't appear that there's anything to change for new leaderheads in it).

Any ideas?
 
I just went to Single Player -> Play Now ->, and the new leaderheads aren't selectable.
 
Did you add the leaders to the appropriate civs in CIV4CivilizationInfos?
 
Do I need to change the folder tree? I notice that in the BtS folder, it goes straight to Assets/XML.

In the Mods folder, it goes BtS/Mods/My Mods/Assets/Modules/Custom Leaderheads/XML.

Do I need to delete the Modules and Custom Leaderheads Folders?
 
Not sure... does this help?


[CONFIG]

; Read Game options from XML, not .ini
ForceGameOptions = 0

; Custom Art from user folder is not loaded
NoCustomArt = 1

; Custom XML and Python from user folder are not loaded
NoCustomAssets = 1

; No Custom Scenario option in main menu
NoCustomScenario = 0

; Scenario file (Single player)
ForceScenario = 0

; No team play allowed
NoTeams = 0

; Always start in the standard era
ForceStandardEra = 0

; Skip the Main menu
SkipMainMenu = 0

; This mod is only for single player games
SinglePlayerOnly = 0

; Allow public maps to be used with this mod
AllowPublicMaps = 1

; Mod Image file
ImageFile = 0

; Name of Mod
Name = My Mods

; Description of Mod
Description = Generic Mod

; Modular XML Loading
ModularLoading = 1
 
Maybe this will help. I copied the folders straight over from the guy's file. The mod folders are as follows:

Civ4Gold/BtS/Mods/My Mods/Assets/Modules/Custom Leaderheads/Art/Interface/Buttons
Civ4Gold/BtS/Mods/My Mods/Assets/Modules/Custom Leaderheads/Art/Leaderheads/Cochise
Civ4Gold/BtS/Mods/My Mods/Assets/Modules/Custom Leaderheads/Art/Leaderheads/Samuel-De-Champlain
Civ4Gold/BtS/Mods/My Mods/Assets/Modules/Custom Leaderheads/Art/Leaderheads/SimonBolivar

Civ4Gold/BtS/Mods/My Mods/Assets/Modules/Custom Leaderheads/XML/Art
Civ4Gold/BtS/Mods/My Mods/Assets/Modules/Custom Leaderheads/XML/Civilizations
Civ4Gold/BtS/Mods/My Mods/Assets/Modules/Custom Leaderheads/XML/Text

Should I rearrange anything?
 
I'm not even sure where to look. Do you have a link to one that I could look at?
 
Hi everyone! I was finally able to get the leaderheads to run correctly. I plugged them into the folder hierarchy from Siam's "Beauty" Unit Set, which is really, really well done. Apparently, the folders "Modules" and "Custom Leaderheads" weren't needed at all, which might have been the problem.

Again, thanks for your help!
 
Back
Top Bottom