March 29, 2024, 11:54:18

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - crimsonsabre

Pages: [1]
1
Game Assets / 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

Pages: [1]