Rainbow bullets!

Discussion in 'Mod Discussions' started by dom314, January 14, 2015.

  1. dom314

    dom314 Post Master General

    Messages:
    896
    Likes Received:
    1,196
    So I've been working on the Guma Guma Slide mod, and realised that I would love to have the bullets that my Dox shoot be rainbow colored. Is there any way to vary the color of the projectiles at the point when they were fired?

    EDIT: To make this clear, I would like the first bullet to be red, for the entirety of it's lifetime, then the next one to be orage, the next yellow etc.

    I can think of one way to do it, and that would be making multiple weapons that each have a different ammo and pfx associated with each bullet; but that would be kinda hacky and depend on being able to offset the gun being fired.

    What do the modding sages think?
  2. killerkiwijuice

    killerkiwijuice Post Master General

    Messages:
    3,879
    Likes Received:
    3,597
    I think...

    You'd probably need to make multiple weapons and chnage the ROF to make sure more than one bullet doesn't come out at the same time, it would be tedious.

    Also I'm not sure if Idle Aim delay would be of any use here....
    dom314 likes this.
  3. dom314

    dom314 Post Master General

    Messages:
    896
    Likes Received:
    1,196
    Yeah, what exactly does that parameter do? The idle time delay? Is it only before the first shot, or for every shot?
  4. killerkiwijuice

    killerkiwijuice Post Master General

    Messages:
    3,879
    Likes Received:
    3,597
    Actually there is a way to do this without multiple weapons. You could create a key array on the alpha value to make the weapon fade out at certain points, like adjusting opacity on something in video editing to make it flash.
  5. dom314

    dom314 Post Master General

    Messages:
    896
    Likes Received:
    1,196
    Hmm, but that wouldn't actually give each projectile a different color, just make them all flash independently.
  6. killerkiwijuice

    killerkiwijuice Post Master General

    Messages:
    3,879
    Likes Received:
    3,597
    You could also make a color array that changes the color in each flash.

    If the alpha flashes at .25 to .5 timescale of an effect that has a lifetime of 3 seconds, you just need to make one of the color values flash at the same time.

Share This Page