Adding Shields in Star Wars-like fashion
Is it possible to make it so that units are given a second bar underneath their health bar-- one for shields? Once the shield bar is at zero, a sphere around the unit would disappear, leaving the bare armor of the unit vulnerable for attack?
Or maybe just have it so that the shield is included in the health bar, but when the shield disappears, its health can not be renewed over that certain point which accounts for the shields?
I am the project leader of the Star Wars Mod, Imperial Assault, and right now I have a coder who is making it so that a sphere is around the unit and it absorbs all laser fire every second or so, so that when many enemies are firing at the unit, the shields would not be able to absorb it, leaving their armor vulnerable. Using the same code as paladins destroying missiles as it comes towards it.
However, this is not accurate to the star wars universe, in that really the shields are supposed to have a special amount of damage it can resist, and then the shields disappear, leaving the hull vulnerable to attacks.
So could something like the first two options be achieved? If so, how?
|