Recent content by Ofel

  1. Ofel

    Hi Sir Fleymark

    Hi Sir Fleymark
  2. Ofel

    Thank you.

    Thank you.
  3. Ofel

    Virus attack (please help) - Ransomware

    There's nothing wrong in the system I think, everything works normally after the infection. It changed only my files in disk [D:] to .codnat (about 70%). My first thought was that maybe system restore would fix any error caused by the infection in [C:] if any. Then I installed Avast for a full...
  4. Ofel

    Virus attack (please help) - Ransomware

    It's okay. I've wholeheartedly discarded all the data turned into .codnat files. Damn...
  5. Ofel

    Operating special effect orientation

    Hmm, that's our only hope for now it seems. I did use that a year ago maybe. Gonna use that back again. Is there anyone you know has included the new functions?
  6. Ofel

    Operating special effect orientation

    I just downloaded the latest patch. Feel great to have the latest update but there is no more syntax highlighter here. Anyway, thanks FYI.
  7. Ofel

    Operating special effect orientation

    Hello guys I'm back wrestling with special effect, now with the orientation. I used this library: library OrientEffect //============================================================================================ //OrientEffect by Cyclotrutan...
  8. Ofel

    Parabola with fixed max height and velocity

    Right! This is just what I wanted. Thanks. Didn't notice that section.
  9. Ofel

    Parabola with fixed max height and velocity

    I'm trying to project a missile to a point vertically higher with fixed max height and velocity of x. Max height should be based on whether initial x or target x, depending which one is higher (above target). Anyone know how to find or operate the velocity of y? Or maybe any other way to draw...
  10. Ofel

    Projectile arc on hill

    I have this missile (special effect), arc-projected to a point on the air. I'll just combine the target location z with the target height. I used this parabola function: function Parabola takes real h, real d, real x returns real return (4.00 * h / d) * (d - x) * (x / d) // 'h' is the...
  11. Ofel

    Picking random variable in an array

    Mistakenly double posted. Please delete this one instead.
  12. Ofel

    Picking random variable in an array once only

    x[1] = 50 x[2] = 52 x[3] = 54 x[4] = 56 x[5] = 58 I have these five array variables and I want to pick each one by random without picking it back twice or more. How do I achieve this? Thanks in advance.
  13. Ofel

    Picking random variable in an array

    x[1] = 50 x[2] = 52 x[3] = 54 x[4] = 56 x[5] = 58 I have these five array variables and I want to pick each one by random without picking it back twice or more. How do I achieve this? Thanks in advance.
  14. Ofel

    How to find absolute 0-360 angle? (and in radian)

    Thanks. It won't go beyond 360 now, but actually I still don't understand modulus well enough. How do I filter the value not to go below 0 now?
  15. Ofel

    How to find absolute 0-360 angle? (and in radian)

    What if I have: x = 540 (same as 180) or x = 630 (same as 270) I wanted x to be just around 0-360 How do I achieve this? And please explain this in radian too 'cause that's my main purpose to learn :) In radian: x = 3π (in degree, it's 540 which is same as 180) x should only be around 0-2π ??
Top