Warhammer 40,000: Gladius - Relics of War

Warhammer 40,000: Gladius - Relics of War

Create and Share Custom Mods
The best mods for Warhammer 40,000: Gladius live here. Mods are made by players, for players and are not officially licensed by Games Workshop. Click 'Learn More' below to read our Modder’s Guide.
Learn More
Lampros 2 Dec, 2020 @ 5:03am
How do you change the name of the unit?
I want to change Apothecaries into Apothecary and make it a single figure unit - per tabletop rules.

Thanks!
< >
Showing 1-2 of 2 comments
Jey 14 2 Dec, 2020 @ 10:20am 
To change the name of things, you must meddle with the Language files (\Data\Core\Languages).
For an unit you, obviously, need to edit the Units.xml file . Pay attention though, there might be occurrences of the word elsewhere, such as in the Upgrades.xml file (since Apothecaries are a research), and you'll need to fix its plural to singular (note that it will obviously not affect anything if you don't change it. You'll just have discrepancies in used terms....)

Note that in a mod you can simply put the Apothecary specific lines and nothing else. You do not need to put the WHOLE file. That will prevent issues when another line is changed in the Language files of the game.

To change the statistics of an unit, you need to go somewhere else :
Data\World\Units is where it's at. You'll need to go (once again, obviously) in the SpaceMarines folder. Then edit the Apothecary.xml file (In case you are completely clueless...).

After the <model> tag, you'll find a short line "<group size="3" rowSize="3" memberDeltaX="80" memberDeltaY="64"/>".
You can then edit the size to whatever amount you want.
rowSize can be modified, but I assume it won't be needed in your case.
The DeltaX/Y is the space between each model. You don't really need to edit it.


I suggest to edit
scale="0.9 0.9 0.9"
too, to make the single Apothecary model bigger, but that's up to you.




If I may, however, I'm not convinced making the Apothecary a single unit is reasonable. A 3 HP unit, even with 8 armor, will get slaughtered by basically any unit that finds it (even like a Neophyte hybrid a bit angry). Increasing its HP to 9 might honestly not be a good idea, because high AP weapons (to pierce the 8 armor) also have high damage, and will really appreciate those 9 HP.
Giving it a 67% invul reduction could work, but that creates trouble for Blast/Template weapons that should have an easier time to kill the unit.
Lampros 2 Dec, 2020 @ 3:44pm 
Originally posted by Iffu:
To change the name of things, you must meddle with the Language files (\Data\Core\Languages).
For an unit you, obviously, need to edit the Units.xml file . Pay attention though, there might be occurrences of the word elsewhere, such as in the Upgrades.xml file (since Apothecaries are a research), and you'll need to fix its plural to singular (note that it will obviously not affect anything if you don't change it. You'll just have discrepancies in used terms....)

Note that in a mod you can simply put the Apothecary specific lines and nothing else. You do not need to put the WHOLE file. That will prevent issues when another line is changed in the Language files of the game.

To change the statistics of an unit, you need to go somewhere else :
Data\World\Units is where it's at. You'll need to go (once again, obviously) in the SpaceMarines folder. Then edit the Apothecary.xml file (In case you are completely clueless...).

After the <model> tag, you'll find a short line "<group size="3" rowSize="3" memberDeltaX="80" memberDeltaY="64"/>".
You can then edit the size to whatever amount you want.
rowSize can be modified, but I assume it won't be needed in your case.
The DeltaX/Y is the space between each model. You don't really need to edit it.


I suggest to edit
scale="0.9 0.9 0.9"
too, to make the single Apothecary model bigger, but that's up to you.




If I may, however, I'm not convinced making the Apothecary a single unit is reasonable. A 3 HP unit, even with 8 armor, will get slaughtered by basically any unit that finds it (even like a Neophyte hybrid a bit angry). Increasing its HP to 9 might honestly not be a good idea, because high AP weapons (to pierce the 8 armor) also have high damage, and will really appreciate those 9 HP.
Giving it a 67% invul reduction could work, but that creates trouble for Blast/Template weapons that should have an easier time to kill the unit.

Thank you for your detailed explanation. I do know how to modify unit stats; but I wasn't sure how to change names and stuff. It seems like I need to change a lot more stats than just the number of figures and HPs though. So I might experiment a bit and see if it works or the balance is not to my liking.
< >
Showing 1-2 of 2 comments
Per page: 1530 50