Home   Help Search Login Register  

Author Topic: grenade launcher smoke  (Read 1270 times)

0 Members and 1 Guest are viewing this topic.

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
grenade launcher smoke
« on: 08 Jul 2005, 21:31:15 »
could sombody make a particle for grenade launchers that just looks like a like smoke trail that follows a launched grenade for the first 5 or 6 meters of its flight, its kind of greyish in color and forms in a spiral from the spin of the grenade.

its really just gunpowder particles left stuck to the grenade that fall off as it goes forming the small trail


thanks
« Last Edit: 08 Jul 2005, 21:31:46 by penguinman »

Bluelikeu

  • Guest
Re:grenade launcher smoke
« Reply #1 on: 09 Jul 2005, 00:40:31 »
I'll get on it right away, i'll have it done by the time I wake up.

Thanks,
Bluelikeu

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:grenade launcher smoke
« Reply #2 on: 09 Jul 2005, 02:18:03 »
cool thanks!!


« Last Edit: 09 Jul 2005, 02:19:13 by penguinman »

Offline Fragorl

  • Coding Team
  • Former Staff
  • ****
Re:grenade launcher smoke
« Reply #3 on: 09 Jul 2005, 02:53:51 »
Hm, the spiral might be complicated; that's some complex rotation a grenade undergoes as it spins... pitch, yaw and roll...

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:grenade launcher smoke
« Reply #4 on: 09 Jul 2005, 03:53:20 »
Hm, the spiral might be complicated; that's some complex rotation a grenade undergoes as it spins... pitch, yaw and roll...

[begin useless comment]
Actually, wouldn't it just be roll?
[/end useless comment]
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Offline Fragorl

  • Coding Team
  • Former Staff
  • ****
Re:grenade launcher smoke
« Reply #5 on: 09 Jul 2005, 04:38:25 »
You might well be right .... but roll with several axes of rotation?

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:grenade launcher smoke
« Reply #6 on: 09 Jul 2005, 06:50:50 »
Well, what I'm saying is that the grenade only spins around it's directional axis (like a plane doing barrel rolls). Just like a bullet, the only rotation it is given is the spin from the rifling in the launcher barrel. There might be some other rotation that occurs later on from gravity/wind, but not until much later, as it would have to overcome the spin from the rifling.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Bluelikeu

  • Guest
Re:grenade launcher smoke
« Reply #7 on: 09 Jul 2005, 15:50:20 »
I thought of just dropping some cl_basic particals in a circle around the grenade, and just feather off as the grenade moves. I'd say about 20 particals in total, they're quite small.

      *   *
         *   *
       **  * *
                        _______________
      *    *                                         \
         *   *                                       /
     *                 ------------------------
     *  *   * *
        *   * *


ummmmm......yeah......its visually complicated...yes



didn't look like it was done when i woke up....sorry bout that.
« Last Edit: 09 Jul 2005, 15:51:15 by Bluelikeu »

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:grenade launcher smoke
« Reply #8 on: 13 Jul 2005, 00:07:55 »
is it almost done? :)

Bluelikeu

  • Guest
Re:grenade launcher smoke
« Reply #9 on: 13 Jul 2005, 00:57:55 »
Ok, here's the script. I'm not sure exactly how much dust comes of the grenade. Also, I want to be able to rotate it a bit around the back of the grenade, it only rotates x/y.

Thanks,
Bluelikeu

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:grenade launcher smoke
« Reply #10 on: 13 Jul 2005, 03:48:59 »
thats perfect  except the particles are a little to big, lthe rotation is perfect, but the trail is not much bigger than the with of the grenade. its maby about half a foot when it starts and gets a little wider as it disperses but i love the spin, i havent seen what it looks like with smaller particles but i dont think anything needs to be done to the spin

good work
thanks

Bluelikeu

  • Guest
Re:grenade launcher smoke
« Reply #11 on: 13 Jul 2005, 14:47:43 »
here's v2, i think that it has a little less dispersion, but i can't seem to get the trail to be any shorter. Decreasing the life time of the drops seems to make it look a bit cutoff somewhere, but thats just my opinion