Basic Features

GENERAL

There are brief descriptions of main scripts:

Basic:

  • WeaponManager.js - Script to manage weapons. Fire, Reload, etc commands come to WeaponGeneric scripts from this one
  • WeaponGeneric.js - MAIN SCRIPT for whole Shooting/Weapon system. Configure your weapon here 
  • WeaponAmmoPack.js - Service class for Weapon system (used in WeaponGeneric script)
  • MaterialGeneric.js - Material script for Weapon system. Allow object to interact with missiles and ray tracer fromWeaponGeneric script

Additional:

  • WeaponFX.js - Can be attached to weapon as child object to simulate different effects
  • WeaponAnimation.js - Play sound weapon according to it state { none, idle, fire, reload } 
  • WeaponSounds.js - Animate weapon according to it state { none, idle, fire, reload } 
  • Missile.js - Simulate missiles, balls, bombs, grenades etc.
  • TimedDestruction.js - Simple script that destroys current object after some time