December 22, 2024, 06:42:23

Author Topic: Dynamic cone direction for particle  (Read 7639 times)

Offline crimsonsabre

  • Recruit
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Dynamic cone direction for particle
« on: January 31, 2012, 05:52:40 »
Hello everyone,

         I am new to this community. I have dabbled a little bit in Nexus modding before, but I am trying to sink my teeth into a couple projects. One of those projects is the development of a couple new weapons to play around with in the Skirmisher. I would really like to create a weapon that looks like a type of shotgun, with 4-5 projectiles appearing upon each shot. Also trying to learn about the particle system, I am trying to do this by having an emitter to fire several "shot" in the form of a cone.
         My issue is the direction parameter of the cone statement, is there a way that anyone knows of to get the current direction of the traveling shot to use as the direction vector for the particle?

I will put my particle definition here so someone can tell me if I am just doing things wrong:
Code: [Select]
PARTICLE "shotgun"

    EMITTER
   
        cone <1,0,0> 45
        maxcount [4,5]
        velocity 130
       
        EMIT
       
            duration 10
           
            FLARE
                Type 4
                Size 250
                Color <1,0.8,0.6>
                ColorB <1,0.6,0>
                pulse .7
            END

            SNAKE
                type 13
                TextureScale 20
                StartRadius 20
                EndRadius 40
                Color <0.7,0.4,0>
                attack .1
                sustain .1
                decay 2
            END
           
           
       
        END
   
    END

END

Offline crimsonsabre

  • Recruit
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Dynamic cone direction for particle
« Reply #1 on: February 24, 2012, 04:35:23 »
Ok. I will take a slightly different tact.
Does anyone know of any better documentation than what is in the  modding manual or someone that has a decent bit of experience with the particle system that I might be able to talk to?