Profile image

Some help with XML please

4,193 FoxDynamicsWeapons  3.6 years ago

Is there some way to add a delay to rotators like you can do with detachers so that the rotators rotate the thing after some delay

  • Log in to leave a comment
  • Profile image
    6,837 Diver

    @spefyjerbf i came up wwith a gyro stabalized, multi axial weight and thrust system that doesnt use ft. but the rotators may not work without jamminng. hm...

    3.6 years ago
  • Profile image
    162k spefyjerbf

    @K2K No 2. Is definitely an advanced method, though it may be better for certain situations.

    3.6 years ago
  • Profile image
    6,837 Diver

    @spefyjerbf I considered no.1 but no. 2 is.... hard.

    3.6 years ago
  • Profile image

    @spefyjerbf ok this one works thanks you so much for the help and you can have a hug as a thanks

    +2 3.6 years ago
  • Profile image
    162k spefyjerbf

    Ah. That’s probably because the code that I gave wasn’t designed for booleans (which can either be true or false). Thankfully, the code becomes more simple when we apply it to true/false statements:
    .
    (ammo("Tomahawk 4")=0) * floor(smooth(clamp01(ammo("Tomahawk 4")=0), (ammo("Tomahawk 4")=0) ? 1 / 10 : pow(10, 10)))
    .
    I typed this out on my phone so lemme know if it works. I might be missing a parentheses or two

    3.6 years ago
  • Profile image

    @spefyjerbf ammo("Tomahawk 4")=0 * floor(smooth(clamp01(sign(ammo("Tomhawk 4")=0)*ceil(abs(ammo("Tomahawk 4")=0))), ammo("Tomahawk 4")=0 ? 1 / 10 : pow(10, 10))).

    This was what I used can you tell if I made a mistake or something

    3.6 years ago
  • Profile image

    @spefyjerbf hey so I tried you funky tree Magic spell it doesn't seem to work with detailed inputs ie: ammo("Tomahawk 1")=0 .It executes the input but doesn't seem to apply the delay any idea why this happens

    3.6 years ago
  • Profile image
    162k spefyjerbf

    @K2K Two ways:
    1. Set all but a few parts to massScale = 0
    2. Some funky trees magic with thrusters

    3.6 years ago
  • Profile image
    6,837 Diver

    @spefyjerbf I saw your sci fi builds and I'm wondering.. how do u make them float? Can you tell me if it's no trouble...

    3.6 years ago
  • Profile image
    19.8k RandomUser09

    @YoDudeChase stop he has deleted his account. Cringe.

    3.6 years ago
  • Profile image

    @YoDudeChase ok

    3.6 years ago
  • Profile image
    4,038 YoDudeChase

    But hes gone now...

    +1 3.6 years ago
  • Profile image

    Can I get an explanation of what is going on @TheMcDonaldsMan with some guy named Lanc because I think he deleted his comment

    3.6 years ago
  • Profile image

    @spefyjerbf thanks for the help, Idk why the comment section just exploded this never happened to me before

    +1 3.6 years ago
  • Profile image

    @spefyjerbf goood, but all i use is funky tress

    3.6 years ago
  • Profile image

    @TheMcDonaldsMan ?????? what

    3.6 years ago
  • Profile image

    @TheMcDonaldsMan true

    3.6 years ago
  • Profile image

    @TheMcDonaldsMan relax. He's dead

    +1 3.6 years ago
  • Profile image
    162k spefyjerbf

    Oh boy this comments section looks fun. I might as well leave a comment, but unlike the others I will actually be helpful. We can use some Funky Trees code to do what you are asking for:
    .
    RotatorInput * floor(smooth(clamp01(sign(RotatorInput)*ceil(abs(RotatorInput))), RotatorInput ? 1 / delayTime : pow(10, 10)))
    .
    Replace the following words with values as you see fit:
    RotatorInput: the input for your rotator. It could be VTOL or trim or something
    delayTime: however long your delay is, in seconds
    .
    Let me know if this works. I am not super familiar with how rotator inputs work with my standard delay inputs. Put this code in the “input” field of the rotator using overload, and lemme know if it works!

    +2 3.6 years ago
  • Profile image
    27.8k Strucker

    @Lanc
    Woah, a pretentious dick!

    3.6 years ago
  • Profile image

    @Dathcha pog

    3.6 years ago
  • Profile image
    3,656 Dathcha

    How does them being a furry make them a terrible person that you must hate? It’s kinda like saying all fat people are stupid and dumb @Lanc

    +4 3.6 years ago
  • Profile image

    im actually a furry to

    3.6 years ago
  • Profile image

    wow i could help

    3.6 years ago
  • Profile image
    19.8k RandomUser09

    Whose that furry in the pfp.

    3.6 years ago
  • Log in to see more comments