ItsMods

Full Version: Halo 2 MLG style Sheild system.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
im working on a halo 2 MLG mod, and im not sure how to code the shield system.

do i use %'s of health as a basis to code the sheild..

100% health = 100% shield
25% health = 0% shield

or do i make a new var system that takes damage and directs it to the shield until the shield reaches 0 and then directs damage at the player? (i want to use this, but im not sure how)

can anyone help me?
I dont understand what you mean Undecided
I want to display the bar on the screen as long as the player.health is <25% ... Full health would display a full bar.

OR

I want to create a new variable for the hudElem settings (ie: self.shieldbar) and force all damage to go to the shield amount variable until the variable is 0. Then the player would have very low health to balance the shield:

No Shield:
  • 1 Round (3 Bullets) Headshot = Kill
  • 3 Rounds (9 Bullets) Torso/Limbs - Kill
The shield would absorb 3 rounds before directing damage to the player.