InfWeaponSpreadAndKick.Weapon Kick: Difference between revisions

From Empires Wiki
Jump to navigation Jump to search
(Created Page.)
 
mNo edit summary
 
Line 2: Line 2:
{{InfWeaponSpreadAndKickDocumentation}}
{{InfWeaponSpreadAndKickDocumentation}}


==STANCESpreadDecrement==
==Weapon Kick==
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:
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_Max

Latest revision as of 06:47, 8 September 2009

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



Weapon Kick

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