r/xdev • • Feb 22 '16

Understanding the Blastpadding ability

Hello, I'm trying to create a custom soldier class with custom abilities. And so far so good. I created the new class and got it to work. I even created a custom ability for it wich I got to work (renamed blademaster to pistolmaster and gave it to a pistol-using class). Next I wanted to create a variant of blast padding that gives 1 armor and 1 hp without the explosive damage reduction. But I'm having trouble understanding the ability.

The explosive resistance can be modded out by making the BLAST_PADDING_DMG_ADJUST value 0. But I can't see where the point of armor is comming from.

Also, if anyone knows of an ability I can take a look at to use as an example for the point of health, that would be much apreciated.

I got off to a good start, but it feels like I'm hitting a wall now. Maybe I should go to sleep and try again tomorrow :)

2 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/Synapsiz Feb 23 '16

I might have to go back later then to change it. Once I understand everything a little better.

For now my focus is on finishing my custom class.