I have a problem. When making my custom race I I removed these 2 lines (I am using the Terrans as a base):
<FactionMoviesFGDef>TerranMoviesFG</FactionMoviesFGDef>
<FactionMoviesBGDef>TerranMoviesBG</FactionMoviesBGDef>
Because I am going to use static images instead of videos, and then added these 2 lines instead:
<LeaderImageFG>Gurk_FG.png</LeaderImageFG>
<LeaderImageBG>Twins_BG.png</LeaderImageBG>
But now I get this error:
C:\Users\Sveinn\Documents\My Games\GalCiv3\Mods\PP\Game\FactionDefs_pp.xml(72,15): error:
element 'LeaderImageFG' is not allowed for content model '(InternalName,DisplayName,DisplayNameShort,LeaderName,Description,LeaderDescription?,RaceType,PersonalityTraits*,RaceTraits*,RequiresHomeworld?,HomeStarSystem,HomePlanetName?,StartingShips*,TechTree,StartingTechs*,HatedFaction*,ShipCallsign,LogoImage,LeaderThumbnail,LeaderImageFG?,LeaderImageBG?,NewsRobotMovie_Approach,NewsRobotMovie_Idle,StartupImage?,StartupTitle?,StartupDescription?,StartupTraitsDescription?,ConquestMovie?,MapColorDef,UIColorDef?,FactionMoviesFGDef?,FactionMoviesBGDef?,FactionMusicDef?,Material1,Material2,Surface1,Surface2,Appearance,ShipStyleSet,CreditsInit,WarEnduranceInit,DefaultResistance,ManufacturingSliderInit?,MilitarySliderInit?,ResearchSliderInit?,WealthSliderInit?,InfluenceTallyInit?,TradeRouteInit?,StartingColonyPopulation?,AICategoryWeight?)'
I don't get it. What is wrong?