Custom Race Trait/Ability Points

ok, I have looked through the forums and followed the instructions to no avail.

I want to make a custom race with a different number of trait/ability points (as do many)

I've searched the game files for each expansion to be sure... and edited the Galciv3globaldefs file in each expansion folder, more specifically I've edited:

<CustomFactionTraitPoints>25</CustomFactionTraitPoints>
        <CustomFactionAbilityPoints>10</CustomFactionAbilityPoints>


When I launch the game through Steam. Nothing changes when I make the custom race. It still displays 5/2 respectively.

I've edited it in the resulting 4 defs files from the 4 expansions which have it... What am I doing wrong?

87,818 views 15 replies
Reply #1 Top

Did you modify these as a mod or directly in the game folders?

Do you have "mods enabled" checked?

Reply #2 Top

Also are you using the Hotfix patch/opt in (you must for mods to work right now)

Reply #3 Top

I altered the game files directly. A mod seems to be a lot of work, and it looks like I made a partial one a long time ago but with the game changes since the expansions it would be out-dated to use as a template.

I have mods enabled.

Reply #4 Top

I also have a mod, which used to work, but now it doesn't... Not sure how to get it to work again...

I've wasted too much time to try to get it to work again... Ohh well. I remember why I haven't played this game in 2 years.

Reply #5 Top

Still can't figure it out... I should be able to edit the game directly and change the points available, but I can't. and no matter what I do the old mod I made which worked with the first expansion doesn't work now... the 20 mins I would allocate to figuring this out keeps passing and I move on to games which I can actually change easily.

Reply #6 Top

Changing the direct files doesn't generally work.

1) Because the game uses these compiled versions like Core.bin and the files you see are for reference half the time.

2) Because Steam validation can occur.

 

So you have to use a mod and you only need to alter one file GlobalDefs ... but you have to use the right version which I believe is in Retribution's folder in the game directory. Copy that to a "MyMod/Game" folder within your MyDocuments GC3Crusade directory and you should be able to get this working.

Reply #7 Top

I just made it and got it working in 2 minutes. 

Unzip the following file/folder into your Mods directory under your GC3 Crusade Folder in My Documents...

 

https://drive.google.com/file/d/1LYHAyD1xZ0zYBgnFWVkUdknT9nVd7a_O/view?usp=sharing

Reply #8 Top

cheers for the help, but when I copy the globaldefs file to the mods folder, nothing happens. The game loads (opt-in beta, mods enabled) just starts and when I go to the civ builder, or 'new game... create new civ" I have the default stats to use.

I'm sure there is more to it than that, but I can't invest the hour or so to figure it out. perhaps I have to have the ParticleScriptDefs,Text, Core, and game files present or defined... But that's a lot more time than I'm willing to invest into a game. Ohh well. guess I uninstall and save the drive space.  

Reply #9 Top

I am trying to do something similar though not to this extent. I am trying to mod the Custom Builder, to allow for 10/4 vs 5/2 points. I do not have Retribution.

I do have:

MegaEvents; Snathi; Precursor Worlds; RiseoftheTerrans; LostTreasures; Alatarian Prophecy; MechKit; Mercenaries; Crusade and Intrigue.

In the Crusade/Game folder, is the XML file GalCiv3GlobalDefs. Near the Ship information entries, are two lines of relevance. The designator of 5 and 2 for Racial Traits and Racial Abilities.

I 1st tried just changing these two numbers, and that didnt change anything at all.

Then, I tried making it a mod. (Yes, MODS are enabled via the OPTIONS tab). I copied this GlobalDefs file, renamed it, and pasted it into the GAME folder under MyGames/GC3Crusade/Mods/CustomBuilderMod/Game

Then alter those 2 values, save, relaunch and now the game won't load. Says the variable CustomFactionTraitPoints is not allowed in this model.

I delete the file from the mods path, and the game loads fine.

I am stumped.

 

 

 

 

 

Reply #10 Top

Don't rename the Global Defs file. It needs to be the original name for the game to say "Oh I use this instead of the original file!"

Reply #11 Top

makes sense but,...same error;

 

D:\SteamLibrary\steamapps\common\Galactic Civilizations III\DLC\EXP2_Crusade\Game\FactionDefs.xml(71,13): error: element 'RaceTraits' is not allowed for content model '(InternalName,DisplayName,DisplayNameShort,LeaderName,Description,LeaderDescription?,RaceType,DefaultGovernment?,SpecialBehavior*,HideFromSelection?,ShipTravelDistanceOverride?,HasGenderUnits?,PersonalityTraits*,RaceTraits*,RequiresHomeworld?,StartingArtifactImprovement?,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?,IsDLC?)'

 

Reply #12 Top

each game defined faction has 5 traits and 2 abilities. In trying to alter that number, do I have to add traits/abilities to the FactionDefs.XML as well, so they match the desired change? (Whether from 5/2 to 8/3 or 10/4 or whatever numbers)

Reply #13 Top

OK, even copy/pasting the original GlobalDefs XML to the mod directory, gives the same error indicated above. An unmodified/altered original file, fails to load under the mod directory.

 

Full mod directory path: C\:Users\MyName\Documents\MyGames\GC3Crusade\Mods\CustomRacialTraitsandAbillitiesMOD\Game\GalCiv3GlobalDefs.xml

 

ANY one, have ANY clue?

Reply #14 Top

Solved.

After trying everything I could think of, I just gave up on it. Went to play a game, and 7 black holes were encountered with ZERO anti-matter deposits. Verified the STEAM files, and they failed to verify. Reacquired 4 files. Now it works.

Reply #15 Top

glad you figured it out. Cheers