Basic Modding Guide for dummies with no experience
Posted: Sat Jul 21, 2018 12:09 am
Required Software for this guide
Notepad++
https://notepad-plus-plus.org/
Aim of this guide:
To show players how to make basic edits to the gamefiles of the game.
Example: How to edit a unit's basic stats.
In this example we're going to be just doing simple edits to the unit "Guardsmen".
First you need to open the game files, this can be done by going to Steam, Right clicking the game in your library > Local Files > Browse Local Files.
If you don't have the game through steam you will need to go to the folder you installed the game. The folders name is "Warhammer 40000 Gladius - Relics of War"
Once you have the game file folder open go to Data>World>Units>AstraMilitarum.
Make a copy of the file Guardsman.xml and save it in a folder named "Backups" somewhere you can find easily. I typically preserve the file structure as well so I can navigate and find my backup files easily. I also use linked folders with shortcuts to easily navigate between my backup files and main game files. This is not necessary however I would highly recommend making backups.
Open the file Guardsman.xml in Notepad ++, you should see this: https://i.imgur.com/HGBmwZo.png
Using the find function (Or just searching manually) with ctrl+F, locate the string (A string is a name of a piece of data) "hitpointsMax", you should see something like this: https://i.imgur.com/50EsE2g.png
You can now edit the unit's health to whatever you want. An important note is that a Units health will be multiplied by the string "group", with the sub modifier "size = x" (x is placeholder). If you search for "size" you will find this: https://i.imgur.com/BQ43PgR.png
Since the "groups size = 8" if we set the units health to 10, the units total health in game would be 10*8= 80. See this image: https://i.imgur.com/Klc9huA.png
You now have all the basic skills necessary to edit any of the units basic statistics, including their Upkeep, their cost, their accuracy, their production costs and so on. Most of the strings are self explanatory.
I'm currently trying to figure out how to create entirely new units, but thats something I've been struggling with, if anyone has any information on how to do this I would be very grateful. I also need to know how to open the .anm files, and the .MSH files of the game. If I could figure out how to do that I could start work on an immersion mod to include all the units we can think of.
Notepad++
https://notepad-plus-plus.org/
Aim of this guide:
To show players how to make basic edits to the gamefiles of the game.
Example: How to edit a unit's basic stats.
In this example we're going to be just doing simple edits to the unit "Guardsmen".
First you need to open the game files, this can be done by going to Steam, Right clicking the game in your library > Local Files > Browse Local Files.
If you don't have the game through steam you will need to go to the folder you installed the game. The folders name is "Warhammer 40000 Gladius - Relics of War"
Once you have the game file folder open go to Data>World>Units>AstraMilitarum.
Make a copy of the file Guardsman.xml and save it in a folder named "Backups" somewhere you can find easily. I typically preserve the file structure as well so I can navigate and find my backup files easily. I also use linked folders with shortcuts to easily navigate between my backup files and main game files. This is not necessary however I would highly recommend making backups.
Open the file Guardsman.xml in Notepad ++, you should see this: https://i.imgur.com/HGBmwZo.png
Using the find function (Or just searching manually) with ctrl+F, locate the string (A string is a name of a piece of data) "hitpointsMax", you should see something like this: https://i.imgur.com/50EsE2g.png
You can now edit the unit's health to whatever you want. An important note is that a Units health will be multiplied by the string "group", with the sub modifier "size = x" (x is placeholder). If you search for "size" you will find this: https://i.imgur.com/BQ43PgR.png
Since the "groups size = 8" if we set the units health to 10, the units total health in game would be 10*8= 80. See this image: https://i.imgur.com/Klc9huA.png
You now have all the basic skills necessary to edit any of the units basic statistics, including their Upkeep, their cost, their accuracy, their production costs and so on. Most of the strings are self explanatory.
I'm currently trying to figure out how to create entirely new units, but thats something I've been struggling with, if anyone has any information on how to do this I would be very grateful. I also need to know how to open the .anm files, and the .MSH files of the game. If I could figure out how to do that I could start work on an immersion mod to include all the units we can think of.