Here is begginer moding tutorial
https://rogercpress.wordpress.com/2012/ ... -tutorial/ What you need is check your mod file, in documets/my game/supcom/mod crete new folder with name of your mod, check some other mod copypast mod.info file, open it change name, author and ID for some other random.
And then create some new folder for example "units" where you would put your units that you want to change.
place where you found units is C/programdata/fafforever/gamedata -> folder units.nx2 rename on units.rar -> open it and copypast everything inside on some new folder that you have on desktop (then rename units.rar back on .nx2) this units are every units that was changed in FAF, but is dont contain every units, because some was not changed, and also dont containt every .lua file.
For this you need open folder with supcom/programdata/units.nx2 and make the same. take care dont take this 2 units pack on one folder, othervise it would be chaos.
Then open some units.bp with text editor (i use notepad++) and you have blue print of units, where you can change stats and etc.. information about with stat what change you found in tutorial that i send you.
Proper way how to change them is only copypast pasagge that you want to change and take merge function on start.
so it would looks like :
- Code: Select all
#T2 AA flack
UnitBlueprint {
Merge = true,
BlueprintId = "ual0205",
Economy = {
BuildCostEnergy = 1000,
BuildCostMass = 200,
BuildTime = 1000,
},
Defense = {
Health = 900, #from 1000
MaxHealth = 900,
},
}
everything that is not here would be same as is in game -> that cause merge = true,
When you want to change something that is about behaviour of units, then you need check lua file of units, This parth must be on separate folder of your mode with "hook" name (probably) but about lua coding i have no clue, and only guessing how it can work.