public PlayerGrenadeFireMode(GunBasic Parent) { //Sound FireSound = "Grenade"; FireVolume = 0.4f; //Ammo MaxROF = 400; MaxBurstTime = 2000; MaxReloadTime = 0; MaxBurstSize = 3; MaxClipSize = 1; //Creation BulletSpeed = 7f; Accuracy = 0; BulletCount = 1; ModifierFactor = 1; LifeTime = 1000; MaxHits = 1; //Damage Damage = 6; PushTime = 1.5f; ModifierFactor = 1; PushVelocityMult = 0.1f; BulletExplosionDistance = 200; BulletExplosionDamage = 3f; attackType = AttackType.Red; }
public SplinterTurretFireMode(GunBasic Parent) { //Sound FireSound = "SplinterTurretFire"; FireVolume = 0.75f; //Ammo MaxROF = 300; MaxBurstTime = 4000; MaxReloadTime = 0; MaxBurstSize = 3; MaxClipSize = 1; //Creation BulletSpeed = 8; LifeTime = (int)(SplinterTurretCard.EngagementDistance / BulletSpeed * 1000f / 60f); Accuracy = 0; BulletCount = 1; Damage = 1f; PushTime = 1; ModifierFactor = 1; attackType = AttackType.Red; BulletExplosionDistance = 150; BulletExplosionDamage = 0.25f; }
public RailTurretFireMode(GunBasic Parent) { //Sound FireSound = "RailTurretFire"; FireVolume = 0.75f; //Ammo MaxROF = 400; MaxBurstTime = 0; MaxReloadTime = 0; MaxBurstSize = 1; MaxClipSize = 1; MaxChargeTime = 0; //Creation BulletSpeed = 6; Accuracy = 0; BulletCount = 1; ModifierFactor = 1; LifeTime = (int)(RailTurretCard.EngagementDistance / BulletSpeed * 1000f / 60f); MaxHits = 1; //Damage Damage = 8; ModifierFactor = 1; PushTime = 50; PushVelocityMult = 1f; BulletExplosionDistance = 200; BulletExplosionDamage = 0.5f; attackType = AttackType.Green; }
public CrystalKnightFireMode(GunBasic Parent) { //Sound FireSound = "CrystalKnightFire"; FireVolume = 0.75f; //Ammo MaxROF = 2000; MaxBurstTime = 0; MaxReloadTime = 0; MaxBurstSize = 1; MaxClipSize = 1; //Creation BulletSpeed = 4f; Accuracy = 0; BulletCount = 1; ModifierFactor = 1; LifeTime = 4000; MaxHits = 1; //Damage Damage = 1; PushTime = 1.5f; ModifierFactor = 1; PushVelocityMult = 0.1f; BulletExplosionDistance = 0; BulletExplosionDamage = 0; attackType = AttackType.Blue; }
public PlayerEngineerFireMode(GunBasic Parent) { //Sound FireSound = "Engineer"; FireVolume = 0.6f; //Ammo MaxROF = 1400; MaxBurstTime = 0; MaxReloadTime = 0; MaxBurstSize = 6; MaxClipSize = 1; //Creation LifeTime = 1000; BulletSpeed = 5; Accuracy = 0; BulletCount = 1; Damage = 4f; BulletExplosionDamage = 1; BulletExplosionDistance = 200; PushTime = 1; ModifierFactor = 1; attackType = AttackType.White; }
public HornetFireMode(GunBasic Parent) { //Sound FireSound = "HornetFire"; FireVolume = 0.5f; FireDistance = 600; //Ammo MaxROF = 3000; MaxBurstTime = 0; MaxReloadTime = 0; MaxBurstSize = 1; MaxClipSize = 1; //Creation BulletSpeed = 5f; Accuracy = 0; BulletCount = 1; ModifierFactor = 1; LifeTime = 1200; MaxHits = 1; //Damage Damage = 2f; PushTime = 1.5f; ModifierFactor = 1; PushVelocityMult = 0.1f; BulletExplosionDistance = 0; BulletExplosionDamage = 0; attackType = AttackType.Red; }
public void Add(GunBasic gun) { if (Guns == null) { Guns = new List <GunBasic>(1); } Guns.Add(gun); gun.SetParent(this); }
public void SetGun(GunBasic gun) { if (Guns == null) { Guns = new List <GunBasic>(1); Guns.Add(gun); } else { Guns[0] = gun; } if (gun != null) { gun.SetParent(this); } }
public PlayerSuperShotgunFireMode(GunBasic Parent) { //Ammo MaxROF = 300; MaxBurstTime = 1000; MaxReloadTime = 0; MaxBurstSize = 3; MaxClipSize = 1; //Creation LifeTime = 500; BulletSpeed = 15; Accuracy = 0; BulletCount = 5; Damage = 3.5f; PushTime = 1; ModifierFactor = 1; attackType = AttackType.Blue; }
public PlayerSuperRailFireMode(GunBasic Parent) { //Ammo MaxROF = 100; MaxBurstTime = 0; MaxReloadTime = 0; MaxBurstSize = 1; MaxClipSize = 1; //Creation MaxChargeTime = 2000; LifeTime = 800; BulletSpeed = 15; Accuracy = 0; BulletCount = 6; Damage = 1f; PushTime = 1; ModifierFactor = 1; attackType = AttackType.Blue; }
public PlayerSuperLaserFireMode(GunBasic Parent) { //Ammo MaxROF = 200; MaxBurstTime = 0; MaxReloadTime = 0; MaxBurstSize = 6; MaxClipSize = 1; //Creation LifeTime = 700; BulletSpeed = 15; Accuracy = 0; BulletCount = 1; Damage = 1f; PushTime = 1; ModifierFactor = 1; BulletExplosionDamage = 3; BulletExplosionDistance = 300; attackType = AttackType.White; }
public SnapTurretFireMode(GunBasic Parent) { //Ammo MaxROF = 400; MaxBurstTime = 0; MaxReloadTime = 0; MaxBurstSize = 1; MaxClipSize = 1; //Creation BulletSpeed = 8; Accuracy = 0; BulletCount = 1; Damage = 1; ModifierFactor = 1; LifeTime = (int)(SnapTurretCard.EngagementDistance / BulletSpeed * 1000f / 60f); LifeTime = -1; MaxHits = 1; BulletExplosionDamage = 1; BulletExplosionDistance = 150; attackType = AttackType.Blue; }
public PlayerKnightFireMode(GunBasic Parent) { //Sound FireSound = "Knight"; FireVolume = 0.6f; //Ammo MaxROF = 200; MaxBurstTime = 0; MaxReloadTime = 0; MaxBurstSize = 6; MaxClipSize = 1; //Creation LifeTime = 1600; BulletSpeed = 8; Accuracy = 0; BulletCount = 1; Damage = 1f; PushTime = 1; ModifierFactor = 1; attackType = AttackType.White; }
public PlayerSnipeFireMode(GunBasic Parent) { //Sound FireSound = "Snipe"; FireVolume = 0.4f; //Ammo MaxROF = 400; MaxBurstTime = 1500; MaxReloadTime = 0; MaxBurstSize = 2; MaxClipSize = 1; //Creation LifeTime = 1200; BulletSpeed = 8; Accuracy = 0; BulletCount = 10; Damage = 1.5f; PushTime = 1; ModifierFactor = 1; attackType = AttackType.Blue; }
public PlayerStalkerFireMode(GunBasic Parent) { //Sound FireSound = "Stalker"; FireVolume = 0.5f; //Ammo MaxROF = 60; MaxBurstTime = 600; MaxReloadTime = 0; MaxBurstSize = 4; MaxClipSize = 1; //Creation LifeTime = 350; BulletSpeed = 15; Accuracy = 0; BulletCount = 6; Damage = 1.5f; PushTime = 1; ModifierFactor = 1; attackType = AttackType.Blue; }
public FlameTurretFireMode(GunBasic Parent) { //Sound FireSound = "FlameTurretFire"; FireVolume = 0.1f; //Ammo MaxROF = 100; MaxBurstTime = 0; MaxReloadTime = 0; MaxBurstSize = 1; MaxClipSize = 1; //Creation BulletSpeed = 3; Accuracy = 0; BulletCount = 1; Damage = 1.5f; ModifierFactor = 1; LifeTime = (int)(FlameTurretCard.EngagementDistance / BulletSpeed * 1000f / 60f); MaxHits = 1; attackType = AttackType.Red; }
public PlayerSingularityFireMode(GunBasic Parent) { //Sound FireSound = "Singularity"; FireVolume = 0.4f; //Ammo MaxROF = 200; MaxBurstTime = 0; MaxReloadTime = 0; MaxBurstSize = 6; MaxClipSize = 1; //Creation LifeTime = 800; BulletSpeed = 10; Accuracy = 0; BulletCount = 3; Damage = 1f; PushTime = 1; ModifierFactor = 1; attackType = AttackType.White; }
public PlayerRaidFireMode(GunBasic Parent) { //Sound FireSound = "Raid"; FireVolume = 0.3f; //Ammo MaxROF = 600; MaxBurstTime = 800; MaxReloadTime = 0; MaxBurstSize = 3; MaxClipSize = 1; //Creation LifeTime = 500; BulletSpeed = 10; Accuracy = 0; BulletCount = 3; Damage = 1.5f; PushTime = 1; ModifierFactor = 1; attackType = AttackType.Green; }
public SpearTurretFireMode(GunBasic Parent) { //Sound FireSound = "SpearFire"; FireVolume = 1f; //Ammo MaxROF = 100; MaxBurstTime = 0; MaxReloadTime = 0; MaxBurstSize = 1; MaxClipSize = 1; MaxChargeTime = 2000; //Creation LifeTime = 800; BulletSpeed = 15; Accuracy = 0; BulletCount = 1; Damage = 1f; PushTime = 1; ModifierFactor = 1; attackType = AttackType.Blue; }
public void SetParent(GunBasic Parent) { this.Parent = Parent; }