shield damage absorbtion

A place for discussion of making game modifications.
Post Reply
User avatar
siyoa
Posts: 182
Joined: Fri Apr 21, 2017 3:19 pm

shield damage absorbtion

Post by siyoa »

I think I got it, it was actually fairly simple, I still need to test it more, to make sure there are no hidden issues

add following for any shield in SYSTEMS.lua (XX is amount of damage per weapon fired at it, shield should absorb)

Code: Select all

shield_absorbtion=XX,
and you need this file
You do not have the required permissions to view the files attached to this post.
Last edited by siyoa on Tue Mar 20, 2018 6:13 am, edited 1 time in total.
How did YOU get a key? All right, go in.
User avatar
siyoa
Posts: 182
Joined: Fri Apr 21, 2017 3:19 pm

Re: shield damage absorbtion

Post by siyoa »

vanilla shields, Harpies have 2 hardpoints with 2 spiters each doing 15 damage each, i.e. 2 x 30 damage
You do not have the required permissions to view the files attached to this post.
How did YOU get a key? All right, go in.
User avatar
siyoa
Posts: 182
Joined: Fri Apr 21, 2017 3:19 pm

Re: shield damage absorbtion

Post by siyoa »

shield absorbtion set to 10, each spitter does 15-10=5 damage only, 4x5=20 damage, 10 and 10 on the picture
You do not have the required permissions to view the files attached to this post.
How did YOU get a key? All right, go in.
User avatar
siyoa
Posts: 182
Joined: Fri Apr 21, 2017 3:19 pm

Re: shield damage absorbtion

Post by siyoa »

shield absorbtion set to 15, each spitter does 0 damage
You do not have the required permissions to view the files attached to this post.
How did YOU get a key? All right, go in.
Post Reply