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
Imp0815 2 7 Mar, 2021 @ 5:42am
Add New Actions
Hey i'm trying to add a new Unit action but it seems that Unit Actions/Abillities are hardcoded and there is no way to add a own new custom one.

I'm trying to add a "Dig Trench" Abilities to guardsmen.
I used the constructImperalStrongpoint Action for now and it worked. But i want to Customize the Description.

I tryed to replace the ability with GenericUnitAbility but it wont work.

Also i'd like to know where the outpost model is defined and where the function is located to switch the flags on outpost capture.

Any Ideas?

AHHHHH "GenericUnitAbility" is case sensutive "genericUnitAbility" works...
Last edited by Imp0815; 7 Mar, 2021 @ 5:51am
< >
Showing 1-5 of 5 comments
TOFFster 3 7 Mar, 2021 @ 6:07am 
I highly recommend asking modding questions on the Discord
Imp0815 2 7 Mar, 2021 @ 6:22am 
Originally posted by TOFFster:
I highly recommend asking modding questions on the Discord

Discord?
Jey 14 7 Mar, 2021 @ 7:39am 
You can customize the description. You can check the Trygon ability to build Broodhives. It uses the constructImperialStrongPoint with custom parameters. You can always reuse a similar syntax for all actions.

I would assume the outpost model is hardcoded somewhere. But I never really dealt with graphics stuff, so maybe it's just hidden somewhere.

I don't know what you want to do on the function to switch the flags on outposts, but I'm convinced it won't be possible :P
Imp0815 2 8 Mar, 2021 @ 12:40am 
I found out that you can use a function that is called genericUnitAbility :

<actions>
<genericUnitAbility name="NAME" icon="ICON" cooldown="5">
<modifiers>
</modifiers>
<beginTargets>
</beginTargets>
</genericUnitAbility>
</actions>

Everything can be done with that.
< >
Showing 1-5 of 5 comments
Per page: 1530 50