News

Can't mod traits! Causes game to crash

Posted on Sunday, September 17, 2017

I have been trying to mod how many traits and ability points my custom Civilization can have but everytime I do what seems to work for everyone else my game crashes with this

 

"C:\Users\Ernest Hemingway\Documents\My Games\GC3Crusade\Mods\MyMod\Game\GalCiv3GlobalDefs.xml(1300,21): error: 

missing elements in content model '(MaxNumTurns,CreditsAndPowerCap,DefaultTileMoveCost,MinTileMoveCost,ExploreTileRandomRange,MinManufacturingSlider,StartImprovementLevel,StarbaseModuleSalvageMultiplier,ShipyardMaxSponsorCount,ShipyardSalvageMultiplier,BaseStarbaseDef,VigilantStarbaseDef?,BaseShipyardDef,GamePacingPacingDef,ResearchRatePacingDef,BaseMiningBaseBuildTime,NonStackingEffects*,ManufacturingSliderLowerScalePoint?,ResearchSliderLowerScalePoint?,TaxesSliderLowerScalePoint?,DefaultEjectTile,RushCostMultiplier,CapitalImprovement,CivilizationCapitalImprovement?,IdeologyTraitBaseCost,CoercionForgiveness,CoercionMaxPenalty,PopulationToProductionExponent,PopulationToProductionMultiplier,GlobalTriggers*,GlobalCombatMods*,GlobalFactionMods*,GlobalColonyMods*,GlobalInterColonyMods*,GlobalCapitalColonyMods*,GlobalAsteroidMods*,TradeRouteInitiatorMods*,TradeRouteRaidMods*,TradeRouteRaidPathMods*,WarWithFavoredCivMods*,DefenseDamageWeaponMod,MinimumDamage,ApprovalToGrowthCurve,ApprovalToProductionCurve,ApprovalToInfluenceCurve,ApprovalToResistanceCurve,ApprovalHappyThreshold,ApprovalContentThreshold,InfluenceMinToClaim,InfluenceRadiusRoot,InfluenceBellCurveTargetDivisor,InfluenceFactorOnTakeover,InfluenceFalloff,GrowthDecay,DiplomacyViewCameraMovementEasingCurve,EngineTrailWidthCurve,NumFreeStarbases,AdditionalCostPerStarbase,RequiredStarbaseSpacing,TacticalBattleArenaSize,TacticalBattleMinHitChance,BattleMinFireDelay,BattleMaxFireDelay,MinShipPopulation,DefaultShipPopulation,ReservedColonyPopulation,MaxPopulationSourceDistance,LoadTransportPopupWndDisplayMultiplier,LoadTransportPopupWndScrollbarNumStepsMultiplier,GraphVerticalRangePadding,GraphMaxNumFactionsToDisplay,MainMapGraphLineThickness,MainMapGraphMaxTurnsRange,GraphsScreenGraphLineThickness,TechTreeLineInsetDistance,TechTreeHorizontalSpacing,TechTreeVerticalSpacing,TechTreeClusterSpacing,TechTreeScreenCenterX,TechTreeScreenCenterY,TechTreeMarginX,TechTreeMarginY,TechTreeCenterViewOnSelect,TechTreeIsDraggable,TechTreeMomentum,TechTreeViewSnapRate,TechTreeCa"

 

All I did was what I have read to do everywhere else.

I copy the globaldefs xml into the mymods directory (old examplemod folder) under "Game". Then I look for 

CustomFactionTraitPoints>5</CustomFactionTraitPoints>

<CustomFactionAbilityPoints

But whenever I change it to anything I get the above script that says is missing. I have tried uninstalling and reinstalling but when i change that one single line everything goes to shit. What the hell am I doing wrong?