Terminator: Dark Fate - Defiance

Terminator: Dark Fate - Defiance

41 ratings
Basic Modding/Changing Unit or Equipment Values
By Grotsky
All credit to Alfafiles - I am reposting this here as he cannot post a guide himself.
Original thread link: https://gtm.steamproxy.vip/app/1839950/discussions/0/4344355442318555952/
3
   
Award
Favorite
Favorited
Unfavorite
Basic Info from Alfafiles
"I'll tell you a secret: all the characteristics of units/equipment/weapons are stored in easy-to-read Excel files in the game, you can edit these files and these changes will be applied in the game.
IT'S SO SIMPLE!

In the root of the game you need to open the “basis.pak” file using an archiver such as WINRAR. (password: “oKoo$]bnGTKJLMNBA9A”), copy the basis.pak/scripts/species folder to yourself separately, inside the “species” folder you will find all the characteristics of everything that is in the game.

How to edit:
For convenience, change the file extension to .XLS (for example tanks.xml -> tanks.XLS).
Now the file can be easily opened in Excel, for example, find “Fnd_abrams” in the first column and moving along the line to the right, look for the “supply_consumption” column, change “5500” to .... for example “500”, okay, now the daily cost of maintaining the abrams tank is only 500. Similarly, you can change any value, including for cars (cars.xml), helicopters (helicopters.xml), units (squads.xls) and so on.

In the “exp_levels.xml” file you can change the required amount of experience for leveling up units.

IMPORTANT !!!
How to save changes and add to the game:
After editing the files themselves, you simply save and return the original file extension .xml
BUT! DO NOT ADD CHANGED FILES to “basis.pak” or overwrite the original files.
You need to put the modified files in a similar path to the appropriate subfolder of the game (there is a folder in the root of the game called basis, you need to create the missing subfolders “scripts”\”species”). Modified files in these folders will take precedence over the original files.

P.S.
Watch the introductory video CAREFULLY. In the first seconds, sets of numbers appear, try googling them, it will surprise you ;) "

Please check the thread for more info, and updated links as people continue figuring out how to modify this excellent game.
65 Comments
Xul 24 Jul @ 11:21pm 
What is it that you want to do ?
That file handles a number of things, xp required to level up, health gained per level, accuracy per level, fire rate per level, cqc strength per level..etc.

I'd recommend anyone seeking further help with modding to join the official Terminator Dark Fate Defiance discord, the modding community is very active there.
Voodoo Doctor 24 Jul @ 10:52pm 
Can't make sense of the exp level file
How do I manipulate the numbers in it
Xul 4 Feb @ 6:32pm 
This guide was very helpful to me and aided in my modding efforts to iron out some of the rough edges of the game.
Most of the files in the basis.pak are out of date due to various patches and can cause crashes or issues when edited (depending on the file). You need to extract the most recent version of the files you want to edit via searching inside the various patch .pak files and checking the date on them. Once you have the most recent version you are good to start editing.
After future patches/dlc updates, it is likely you will have to redo your edits in the newest version of the files to ensure compatibility.
In addition, the .pak files can be renamed to .zip files and easily extracted without need for an archiver program. The password needed for the patch .pak's are the same as the basis one.
Franzosisch 22 Jan @ 5:15pm 
What exactly do you edit in exp_levels.xml?
MasterCook 8 Jan @ 10:06am 
@Alpha Check in scripts/species/cars.xml. use wps spreadsheet to open the file. its super easy that way
Alpha 3 Jan @ 4:37pm 
Anyone knows where to edit the supply ressources for the Hemtt Supply, Supply Truck, Supply Trailer? Would love to increase the amount of ammo supply from 6000/10000 up to 25000 and 50000 - but cant find the number or the file where i have to change it.
MasterCook 30 Dec, 2024 @ 3:16am 
when editing any of the files. always load a save that is after mission meaning it has to have 'completed' in name. and you dont need anything in your game folder. use the documents path its the most reliable
Profile_Name 17 Dec, 2024 @ 6:43pm 
@AJacketPotato
Wait... are you loading into an ongoing campaign?
When you make changes, they won't take affect until another loading thing occurs.
So either, load up an ongoing mission and head to exit at the end of mission.
If you're in the overworld map, you'll have to start a mission and finish it to see changes.

In the future, I recommend making a save before finishing a mission (Just have a unit near the exit box)
AJacketPotato 17 Dec, 2024 @ 9:41am 
I'm still struggling to get it working. I have a basis->scripts->species file path in both the documents game folder and steamapps folder, both with the modded shop_preset files but I see no change in game. Do i need to rename or delete the basis.PAK file for the unpacked version to take precedence? Or to do something with the patch files (1-10)? Any help appreciated!
Sumatris 17 Dec, 2024 @ 12:28am 
Darkhart's workaround seems to work for other modifications, too. I just shifted all my files into this folder and got my adjusted upkeep values back the way they were before the update. Incidentally, this made me notice that the previous 40% upkeep reduction for Normal difficulty has been reduced to 25%.