InfWeaponSpreadAndKick.Weapon Kick

From Empires Wiki
Revision as of 06:47, 8 September 2009 by Gilmore110j (talk | contribs) (Created Page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Empires Scripting Documentation
Scripting Overview | Vehicle Script Overview | Vehicle Handling Script Overview | Weapon Script Overview | Armor Script Overview | Building Script Overview | Infantry Script Overview | Hint Messages | Loading Screen Script Overview | Tutorials



Weapon Spread And Kick Documentation
STANCE Spread | STANCE SpreadModifier | STANCE SpreadMax | STANCE SpreadIncrement | STANCE SpreadDecrement | Weapon Kick



STANCESpreadDecrement

Weapon kick is portrayed in the X (vertical) and Y (horizontal) axis. It interpolates between the full and no spread value based on the current spread. It uses 8 variables per stance, defined as floats:

  • [STANCE] Kick_X_FullSpread_Max
  • [STANCE] Kick_X_FullSpread_Min
  • [STANCE] Kick_X_NoSpread_Max
  • [STANCE] Kick_X_NoSpread_Min


  • [STANCE] Kick_Y_FullSpread_Max
  • [STANCE] Kick_Y_FullSpread_Min
  • [STANCE] Kick_Y_NoSpread_Max
  • [STANCE] Kick_Y_NoSpread_Min