izh18shotgun.c 445 B

1234567891011121314151617181920212223
  1. /**@class Izh18_Base
  2. * @brief base for Izh18Shotgun
  3. * @NOTE name copies config base class
  4. **/
  5. class Izh18Shotgun_Base extends RifleSingleShot_Base
  6. {
  7. void Izh18Shotgun_Base ()
  8. {
  9. }
  10. override RecoilBase SpawnRecoilObject()
  11. {
  12. return new Izh18ShotgunRecoil(this);
  13. }
  14. //Debug menu Spawn Ground Special
  15. override void OnDebugSpawn()
  16. {
  17. super.OnDebugSpawn();
  18. SpawnEntityOnGroundPos("Ammo_12gaPellets", GetPosition());
  19. }
  20. };