Author Topic: Lightning Particle/Weather Effect?  (Read 2100 times)

XxInsaneAsylumxX

  • Guest
Lightning Particle/Weather Effect?
« on: November 16, 2015, 09:29:27 pm »
So, I haven't managed to find it anywhere, but I'm looking for a lightning particle/weather effect. I thought I had one, but it doesn't work for some reason.
Maybe I haven't been digging enough, but then again I've been more focused on my art.
Does anyone know where I can find lightning? Maybe with thunder sound effects as well?
EDIT: Is there a money rain particle? I would LOVE if that were a thing. if not, could someone make it for me?
« Last Edit: November 16, 2015, 10:30:21 pm by Churro~of~Time »

Offline HollowWolf

  • Finest Floof
  • ***
  • Posts: 718
  • Country: au
  • Floof-O-Meter: 33
    • View Profile
Re: Lightning Particle/Weather Effect?
« Reply #1 on: November 17, 2015, 01:30:07 am »
I found this~

http://www.feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=26418.0

I can't actually see the pictures at the moment, but it says there's a lightning particle in there. Hopefully it's the right thing xD

A money rain particle would be interesting, but I'm not very experienced with particles and such. :3 Good luck with your searches.
Side account for Sigyn

Offline elektricroze

  • Familiar Grounds Dweller
  • **
  • Posts: 94
  • Country: 00
  • Floof-O-Meter: 4
  • Do not Fear, For Fear is an Illusion
    • View Profile
Re: Lightning Particle/Weather Effect?
« Reply #2 on: November 18, 2015, 01:47:24 pm »
I am actually looking for one too, and the links don't work anymore which being outdated 4 years, I can see why. XD
Signature by Me

Offline HollowWolf

  • Finest Floof
  • ***
  • Posts: 718
  • Country: au
  • Floof-O-Meter: 33
    • View Profile
Re: Lightning Particle/Weather Effect?
« Reply #3 on: November 19, 2015, 01:34:11 am »
Oh xD haha sorry, good luck anyway~
Side account for Sigyn

Offline hugrf2

  • Purple Derple
  • Honored Hero
  • *****
  • Posts: 5,314
  • Country: us
  • Floof-O-Meter: 120
  • wrow
    • hugrf
    • channel/UChLphw5s3-hS8EFAgnNv6FQ
    • hugrf
    • hugrf
    • Ain't nobody got time fo' dat
    • View Profile
Re: Lightning Particle/Weather Effect?
« Reply #4 on: November 19, 2015, 02:35:48 am »
The only thing I have for you is the code for a lightning-like particle I made a while back, although the picture for it is horrid. Perhaps you can make use of it? Otherwise I can try again at finding a good, free photo to use for it and send it to you if you wish. I'm kinda busy, but maybe I can try that...

Lightning.particle code
particle_system Lightningaura01
{
   quota   10000
   material   lightnings01
   particle_width   25
   particle_height   25
   cull_each   false
   renderer   billboard
   sorted   false
   local_space   false
   iteration_interval   0
   nonvisible_update_timeout   0
   billboard_type   oriented_common
   billboard_origin   center
   billboard_rotation_type   texcoord
   common_direction   0 -1 0
   common_up_vector   0 1 0
   point_rendering   false
   accurate_facing   false

   emitter Ring
   {
      angle   0
      direction   0 1 0
      emission_rate   5
      position   0 0 0
      velocity   0
      velocity_min   0
      velocity_max   0
      time_to_live   0.5
      time_to_live_min   0.5
      time_to_live_max   1
      duration   0
      duration_min   0
      duration_max   0
      repeat_delay   0
      repeat_delay_min   0
      repeat_delay_max   0
      width   17
      height   17
      depth   0.5
      inner_width   1
      inner_height   1
   }

   affector DirectionRandomiser
   {
      randomness   100
      scope   1
      keep_velocity   true
   }

   affector LinearForce
   {
      force_vector   0 0 0
   }
}

You can probably mess with the coding to your liking, too, like under that "emitter ring" thing... I never tried it, but it looks like the spot.

XxInsaneAsylumxX

  • Guest
Re: Lightning Particle/Weather Effect?
« Reply #5 on: November 21, 2015, 06:03:08 am »
Thanks for the help.
Hugrf, Im not quite sure what to do with those codes, but Im sure theyre helpful. Im unfamiliar with codes.

Offline hugrf2

  • Purple Derple
  • Honored Hero
  • *****
  • Posts: 5,314
  • Country: us
  • Floof-O-Meter: 120
  • wrow
    • hugrf
    • channel/UChLphw5s3-hS8EFAgnNv6FQ
    • hugrf
    • hugrf
    • Ain't nobody got time fo' dat
    • View Profile
Re: Lightning Particle/Weather Effect?
« Reply #6 on: November 21, 2015, 10:23:18 pm »
Ahhh, let me try to explain... If you need anymore information, I'd be happy to help as I already am. ^^

Go into Feralheart>media>particles and open up one of the .particle files. Replace the code with the one I showed you.

Also, as I forgot to mention earlier, you need a material file too.
Matieral code.
material lightnings01
{
   technique
   {
      pass
      {
         lighting off
         scene_blend add
         depth_write off
         fog_override true
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture Lightning01.png
         }
      }
   }
}

To make the image show up on the particle, name it "Lightning01.png" or whatever you put next to the line "texture" in the above code.

If you're having any trouble, I can make my own lightning particle into a download, but again, beware of the horrifying image on it. ^^'

Also, if you want to rename the material (Look at line "matieral lightnings01" at the very top of the code I provided in this post.) you'll have to change the mat I had just mentioned, as well as the line below to match eachother.

Part of the particle file
  quota   10000
   material   lightnings01
   particle_width   25
   particle_height   25
   cull_each   false
   renderer   billboard
   sorted   false
   local_space   false
   iteration_interval   0
   nonvisible_update_timeout   0
   billboard_type   oriented_common
   billboard_origin   center
   billboard_rotation_type   texcoord
   common_direction   0 -1 0
   common_up_vector   0 1 0
   point_rendering   false
   accurate_facing   false

Hope I /somewhat/ made sense?