New plasma shot

edited 2015 Dec 15 in Addons for DOOM
Hello i had previously made a plasma particle ded witch was good but not great. seeing the new doom trailer i revamped it and optimized it and i think it looks 10 time better. normally i would have screens but this just needs to be seen in game and not in a screen if you want to see it static i can do that but no screen.
#------------------------------------------------------------------
# MODEL DEFINITIONS

ModelPath "data\jdoom\Models\Projectiles\PlasmaShot"

# PlasmaShot

Model {
  State = "PLASBALL"
  Scale = 1.2
  Inter = 0
  Flags = fullbright | alignpitch | alignyaw | notexcomp | noz
  Md2{
      File = "PlasmaShot.md2"
      Frame = "0"
   }
}

Copy Model {
  State = "PLASBALL"
  Scale = 1.5
  Inter = .5
  Md2{
      Frame = "1"
   }
}

Copy Model {
  State = "PLASBALL2"
  Scale = 1.5
  Inter = 0
  Md2{
      Frame = "2"
   }
}

Copy Model {
  State = "PLASBALL2"
  Scale = 1.5
  Inter = .5
  Md2{
      Frame = "3"
   }
}

# Plasma Explosion

Model {
  State = "PLASEXP"
  Scale = .9
  Skin tics = 1
  Flags = fullbright | brightshadow2 | alignpitch | alignyaw
  Md2{
      File = "plasbolt_e.md2"
      Frame = "0"
      Skin range = 3
   }
}

Copy Model {
  State = "PLASEXP2";
  Md2{
   Frame = "1"
   }
}

Copy Model {
  State = "PLASEXP3"
  Md2{
   Frame = "2"
   }
}

Copy Model {
  State = "PLASEXP4"
  Md2{
   Frame = "3"
   }
}

Copy Model {
  State = "PLASEXP5"
  Md2{
   Frame = "4"
   }
}

#------------------------------------------------------------------
# LIGHT DEFINITIONS

Light{
  State = "PLASBALL"
  Size = .6
  Color { .5 .5 .5}
}

Light{
  State = "PLASBALL2"
  Size = .5
  Color { .6 .6 .9}
}

Light{
  State = "PLASEXP"
  Flags = nohalo
  Size = .6
  Color { .9 .9 1}
}

Light{
  State = "PLASEXP2"
  Flags = nohalo
  Size = .4
  Color { .7 .7 .9}
}

Light{
  State = "PLASEXP3"
  Flags = nohalo
  Size = .3
  Color { .5 .5 .8}
}

Light{
  State = "PLASEXP4"
  Flags = nohalo
  Size = .2
  Color { .3 .3 .6}
}

Light{
  State = "PLASEXP5"
  Flags = nohalo
  Size = .1
  Color { .15 .15 .3}
}

#------------------------------------------------------------------
# PARTICLE DEFINITIONS


Generator {
  State = "PLASBALL"
  Flags = blend | srcvel | srcdir | extra
  Speed = 1
  Speed rnd = 0.2
  Spawn radius = 2
  Spawn age = 40
  Max age = -1
  Particles = 40
  Spawn rate = 50
  Vector rnd = 3
  Center { 0 0 0 }
  Stage {
   Type = "pt_tex01"
   Flags = "ptf_bright"
   Tics = 1
   Radius = 3
   Bounce = 0
   Resistance = .6
   Color { .034 .034 1 .1 }
   }
}

Generator {
  State = "PLASBALL"
  Flags = blend | srcvel | srcdir | extra
  Speed = 1
  Speed rnd = 0.2
  Spawn radius = 1.5
  Spawn age = 40
  Max age = -1
  Particles = 40
  Spawn rate = 50
  Vector rnd = 3
  Center { 0 0 0 }
  Stage {
   Type = "pt_tex02"
   Flags = "ptf_bright"
   Tics = 1
   Radius = 2
   Bounce = 0
   Resistance = .6
   Color { .034 .034 1 .3 }
   }
}

Generator {
  State = "PLASBALL"
  Flags = blend | srcvel | srcdir | extra
  Speed = 1
  Speed rnd = 0.2
  Spawn radius = 1
  Spawn age = 40
  Max age = -1
  Particles = 40
  Spawn rate = 50
  Vector rnd = 3
  Center { 0 0 0 }
  Stage {
   Type = "pt_tex04"
   Flags = "ptf_bright"
   Tics = 1
   Radius = 1
   Bounce = 0
   Resistance = .6
   Color { .034 .034 1 .5 }
   }
}


# Explosion

Generator {
  State = "PLASEXP";
  Flags = blend | extra
  Speed = 5;
  Speed rnd = 0.6;
  Spawn age = -1;
  Spawn radius =2;
  Max age = -1;
  Particles = 80;
  Spawn rate = 50;
  Spawn Rnd = 0.2;
  Vector rnd = 3
  Stage {
   Type = "pt_tex04"
   Flags = "ptf_bright";
   Tics = 4;
   Radius = 4;
   Bounce = 3;
   Resistance = .6;
   Color { .034 .034 1 .5 };
   };
}

i wanted to give that affect that it was unstable, too bad i could not have gottent it to spawn particles in more slowly.

Comments

Sign In or Register to comment.