Profile image

What funky tree code do I put to make an autocannon?

28.2k Zero0Two2  7 months ago

For example, I wanted to make a clip for an autocannon.

Like this.

Normal cannon: Boom, reload.
Autocannon: Boom, boom, boom, reload

  • Log in to leave a comment
  • Profile image
    5,147 SPsidearm

    @SILVERPANZER
    Yo
    Can you show me a Demonstration of this FT, so i can mod it? (i don't understand)
    I wanna make a test Autocannon

    3 months ago
  • Profile image
    55.0k SILVERPANZER

    Cannon Activation Group: smooth(clamp(rate(clamp01(round(repeat(sum(rate(-ammo("Cannon Name"))),ammo))=0)),0,9999)*clamp01(FireWeapons), clamp(rate(clamp01(round(repeat(sum(rate(-ammo("Cannon Name"))),ammo))=0)),0,9999)+1/reload)=0
    This code is inserted into the gun activation group.
    Cannon Name - the name of your cannon.
    ammo - number of shells in one clip (numerical value).
    reload - clip reload time (numeric value).
    The rate of fire can be adjusted by setting the desired Firing Delay.

    +1 7 months ago