-- he_large_wreck_light_single
-- he_large
-- he_large_wreck_dark
-- he_large_wreck_light
-- he_large_wreck_dark_single

return {
  ["he_large_wreck_light_single"] = {
    smoke = {
      air                = true,
      class              = [[CSimpleParticleSystem]],
      count              = 8,
      ground             = true,
      water              = true,
      properties = {
        airdrag            = 0.75,
        alwaysvisible      = false,
        colormap           = [[0.1 0.1 0.1 0.5  0 0 0 0]],
        directional        = true,
        emitrot            = 0,
        emitrotspread      = 0,
        emitvector         = [[dir]],
        gravity            = [[-0.05 r0.1, -0.05 r0.1, -0.05 r0.1]],
        numparticles       = 1,
        particlelife       = 48,
        particlelifespread = 16,
        particlesize       = 1,
        particlesizespread = 1,
        particlespeed      = [[d4 i0.5]],
        particlespeedspread = 1,
        pos                = [[-2 r4, -2 r4, -2 r4]],
        sizegrowth         = [[4 d-1 r1]],
        sizemod            = 0.5,
        texture            = [[smokesmall]],
      },
    },
  },

  ["he_large"] = {
    usedefaultexplosions = false,
    debris = {
      class              = [[CSimpleParticleSystem]],
      count              = 1,
      ground             = true,
      unit               = 1,
      properties = {
        airdrag            = 0.95,
        alwaysvisible      = false,
        colormap           = [[0 0 0 1  0 0 0 1]],
        directional        = true,
        emitrot            = 0,
        emitrotspread      = 90,
        emitvector         = [[0, 1, 0]],
        gravity            = [[0, -0.3, 0]],
        numparticles       = 32,
        particlelife       = 48,
        particlelifespread = 16,
        particlesize       = 2,
        particlesizespread = 16,
        particlespeed      = 6,
        particlespeedspread = 6,
        pos                = [[0, 0, 0]],
        sizegrowth         = 0,
        sizemod            = 1,
        texture            = [[debris2]],
      },
    },
    dirt = {
      class              = [[CDirtProjectile]],
      count              = 12,
      ground             = true,
      properties = {
        alpha              = 255,
        alphafalloff       = 10,
        color              = [[0.4 r0.1, 0.3 r0.1, 0.2 r0.1]],
        pos                = [[-3 r6, r3, -3 r6]],
        size               = [[12 r24]],
        sizeexpansion      = 0,
        slowdown           = 0.95,
        speed              = [[-3 r6, r3, -3 r6]],
        texture            = [[randdots]],
      },
    },
    fire = {
      air                = true,
      class              = [[CSimpleParticleSystem]],
      count              = 1,
      ground             = true,
      water              = true,
      properties = {
        airdrag            = 0.75,
        alwaysvisible      = false,
        colormap           = [[1 1 1 0.25  0.025 0.025 0.025 0.25  0 0 0 0]],
        directional        = false,
        emitrot            = 0,
        emitrotspread      = 90,
        emitvector         = [[0, 1, 0]],
        gravity            = [[0, 0, 0]],
        numparticles       = 32,
        particlelife       = 12,
        particlelifespread = 4,
        particlesize       = 1,
        particlesizespread = 0,
        particlespeed      = 1,
        particlespeedspread = 6,
        pos                = [[0, 0, 0]],
        sizegrowth         = [[6 r6]],
        sizemod            = 0.5,
        texture            = [[fireball]],
      },
    },
    groundflash = {
      circlealpha        = 0,
      circlegrowth       = 10,
      flashalpha         = 1,
      flashsize          = 48,
      ttl                = 12,
      color = {
        [1]  = 1,
        [2]  = 0.75,
        [3]  = 0.5,
      },
    },
    pikes = {
      air                = true,
      class              = [[CExploSpikeProjectile]],
      count              = 8,
      ground             = true,
      water              = true,
      properties = {
        alpha              = 1,
        alphadecay         = 0.08,
        alwaysvisible      = true,
        color              = [[1,0.75,0.5]],
        dir                = [[-4 r8, -4 r8, -4 r8]],
        length             = 1,
        lengthgrowth       = 1,
        width              = 8,
      },
    },
    smoke = {
      air                = true,
      class              = [[CSimpleParticleSystem]],
      count              = 1,
      ground             = true,
      water              = true,
      properties = {
        airdrag            = 0.75,
        alwaysvisible      = false,
        colormap           = [[0 0 0 0  0.025 0.025 0.025 0.25  0.025 0.025 0.025 0.25  0.025 0.025 0.025 0.25  0 0 0 0]],
        directional        = false,
        emitrot            = 0,
        emitrotspread      = 90,
        emitvector         = [[0, 1, 0]],
        gravity            = [[0, 0, 0]],
        numparticles       = 32,
        particlelife       = 48,
        particlelifespread = 16,
        particlesize       = 1,
        particlesizespread = 0,
        particlespeed      = 1,
        particlespeedspread = 8,
        pos                = [[0, 0, 0]],
        sizegrowth         = [[8 r8]],
        sizemod            = 0.5,
        texture            = [[smokesmall]],
      },
    },
    sparks = {
      class              = [[CSimpleParticleSystem]],
      count              = 1,
      ground             = true,
      unit               = 1,
      properties = {
        airdrag            = 0.8,
        colormap           = [[1 0.75 0.5 0.01   1 0.75 0.5 0.01   0 0 0 0]],
        directional        = true,
        emitrot            = 0,
        emitrotspread      = 90,
        emitvector         = [[0, 1, 0]],
        gravity            = [[0, -0.3, 0]],
        numparticles       = 8,
        particlelife       = 48,
        particlelifespread = 16,
        particlesize       = 1,
        particlesizespread = 2,
        particlespeed      = 6,
        particlespeedspread = 18,
        pos                = [[0, 1, 0]],
        sizegrowth         = 0,
        sizemod            = 1.0,
        texture            = [[plasma]],
      },
    },
    sphere = {
      air                = true,
      class              = [[CSpherePartSpawner]],
      count              = 1,
      ground             = true,
      water              = true,
      properties = {
        alpha              = 0.05,
        color              = [[1,1,1]],
        expansionspeed     = 4,
        ttl                = 12,
      },
    },
    water = {
      class              = [[CBitmapMuzzleFlame]],
      count              = 12,
      water              = true,
      properties = {
        colormap           = [[0.45 0.45 0.5 0.5  0.045 0.045 0.05 0.05]],
        dir                = [[-0.1 r0.2, 1, -0.1 r0.2]],
        frontoffset        = 0,
        fronttexture       = [[splashbase]],
        length             = [[24 r24]],
        sidetexture        = [[splashside]],
        size               = [[12 r6]],
        sizegrowth         = 1,
        ttl                = 24,
      },
    },
    wreck_dark = {
      class              = [[CExpGenSpawner]],
      count              = 4,
      ground             = true,
      unit               = 1,
      properties = {
        delay              = [[3 r3]],
        dir                = [[-1 r2, r1, -1 r2]],
        explosiongenerator = [[custom:HE_Large_Wreck_Dark]],
        pos                = [[0, 0, 0]],
      },
    },
    wreck_light = {
      class              = [[CExpGenSpawner]],
      count              = 4,
      ground             = true,
      unit               = 1,
      properties = {
        delay              = [[3 r3]],
        dir                = [[-1 r2, r1, -1 r2]],
        explosiongenerator = [[custom:HE_Large_Wreck_Light]],
        pos                = [[0, 0, 0]],
      },
    },
  },

  ["he_large_wreck_dark"] = {
    single = {
      air                = true,
      class              = [[CExpGenSpawner]],
      count              = 4,
      ground             = true,
      water              = true,
      properties = {
        damage             = [[i1]],
        delay              = [[i1]],
        dir                = [[dir]],
        explosiongenerator = [[custom:HE_Large_Wreck_Dark_Single]],
        pos                = [[0, 0, 0]],
      },
    },
  },

  ["he_large_wreck_light"] = {
    single = {
      air                = true,
      class              = [[CExpGenSpawner]],
      count              = 4,
      ground             = true,
      water              = true,
      properties = {
        damage             = [[i1]],
        delay              = [[i1]],
        dir                = [[dir]],
        explosiongenerator = [[custom:HE_Large_Wreck_Light_Single]],
        pos                = [[0, 0, 0]],
      },
    },
  },

  ["he_large_wreck_dark_single"] = {
    smoke = {
      air                = true,
      class              = [[CSimpleParticleSystem]],
      count              = 8,
      ground             = true,
      water              = true,
      properties = {
        airdrag            = 0.75,
        alwaysvisible      = false,
        colormap           = [[0.05 0.05 0.05 0.5  0 0 0 0]],
        directional        = true,
        emitrot            = 0,
        emitrotspread      = 0,
        emitvector         = [[dir]],
        gravity            = [[-0.05 r0.1, -0.05 r0.1, -0.05 r0.1]],
        numparticles       = 1,
        particlelife       = 48,
        particlelifespread = 16,
        particlesize       = 1,
        particlesizespread = 1,
        particlespeed      = [[d4 i0.5]],
        particlespeedspread = 1,
        pos                = [[-2 r4, -2 r4, -2 r4]],
        sizegrowth         = [[4 d-1 r1]],
        sizemod            = 0.5,
        texture            = [[smokesmall]],
      },
    },
  },

}

