GlobalDefs.xml modification [SOLVED]

Hi,

Whats the best way to make few changes to GlobalDefs.xml, I would like not to copy the whole file just for single line edit, so I do not need to track all changes pushed by game patches.

I am trying to change:

<CustomFactionHomeStarSystemGroup>FactionStart</CustomFactionHomeStarSystemGroup>.

So I can override FactionStart group with my own, for compatibility reasons.

Thanks

17 views 1 replies
Reply #1 Top

I've missied this

<GalCivGlobalDef>

Using this tag I can change single line, so my file would look like this:

<ModifyDataList 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:noNamespaceSchemaLocation="../../../../Data/Schema/Generated/ModifyDataDef.xsd"> 
  <GalCivGlobalDef>
    <CustomFactionHomeStarSystemGroup>FactionStart_Custom</CustomFactionHomeStarSystemGroup>
  </GalCivGlobalDef>  
</ModifyDataList> 

People on Discord were very helpful, Solved