1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. Join the 6th Melee Mapping Contest for a chance to have your map featured in this year's Hive Cup!
    Dismiss Notice
  4. Shoot to thrill, play to kill. Sate your hunger with the 33rd Modeling Contest!
    Dismiss Notice
  5. Do you hear boss music? It's the 17th Mini Mapping Contest!
    Dismiss Notice
  6. Let your favorite entries duke it out in the 15th Techtree Contest Poll.
    Dismiss Notice
  7. Weave light to take you to your highest hopes - the 6th Special Effect Contest is here!
    Dismiss Notice
  8. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.
Wietlol
Last Activity:
Feb 16, 2020
Joined:
Aug 1, 2013
Messages:
4,638
Albums:
1

Wietlol

The everlasting roar!

Wietlol was last seen:
Feb 16, 2020
    1. PurgeandFire
      PurgeandFire
      lol.

      Handing JASS to GUI'ers never works out. Otherwise I would've forgotten GUI a long time ago.
    2. PurgeandFire
      PurgeandFire
      hehe, I just like giving rep if people go the extra mile to help someone. In your case, you coded a whole system. That is pretty awesome.
    3. BPower
      BPower
      To modify a projectile pitch I would recommend:
      //=======================================================
      // Projectile pitch. Takes and returns radians!

      private real angleZ
      method operator pitch takes nothing returns real
      return angleZ
      endmethod

      method operator pitch= takes real theta returns nothing
      local real cos = Cos(theta)
      local real vel = velocity// GetVelocity(missile)
      local real acc = acceleration

      set velX = vel*Cos(angle)*cos
      set velY = vel*Sin(angle)*cos
      set velZ = vel*Sin(theta)
      set accX = acc*Cos(angle)*cos
      set accY = acc*Sin(angle)*cos
      set accZ = acc*Sin(theta)

      set angleZ = theta
      call Missile_SetUnitPitch(dummy, theta)// Set Animation Index.
      endmethod
      to avoid issues with 0 division.
    4. BPower
      BPower
      I'm working hard on my Missile system, going completly away from the way
      I dealt with horizontal and vertical motion before.

      Actually now it's very close to what you did in the first place.
      What will remain is the data structure MissileStruct module.

      Thanks for the pastbin link
    5. BPower
      BPower
      In your custom projectile system you should use
      Atan2 over Atan to calculate the facing angle.

      theta = Atan(velY/velX)
      theta = Atan2(velY, velX)

      Wiki link about Atan2

      I'm working on mine again and checked other existing projectile systems.
    6. IcemanBo
      IcemanBo
      You have shown me a map once, I think... in which you had some custom models from hive figures imported? :)
    7. Ardenian
      Ardenian
      Ahh, I understand, thank you! Then it should be fine when using it for a custom obstacle system
      or a talent tree where no interaction with other players occurs.
    8. Ardenian
      Ardenian
      So it is safe to create a function and within that function, use GetLocalPlayer to hide and show a unit ?
      If I call this function from another function and after returning, move the hidden unit,
      would this cause desync ?
      Or to go into detail, can I safely manipulate the units being hidden to certain players,
      like moving, scaling, killing, removing ... ?
    9. Ardenian
      Ardenian
      Hu, I knew of that method, but doesn't this easily cause desyncs ?
      Cause of GetLocalPlayer() ?
    10. Ardenian
      Ardenian
      Ah I see, thank you, that's some code to go through
    11. Ardenian
      Ardenian
      ----------
      Custom interfaces should be visible for one player, then recreated for each human player so all players can be in the custom interface without having to see what player 1 is watching.
      ----------
      Is there a tutorial for this or an explanation ? Never heard of this
    12. Xonok
      Xonok
      LOL.
      Iirc it was because you edited your post while I wrote mine.
    13. The_Silent
      The_Silent
      Fair, the rep message was wrong. Sorry.
    14. FRENGERS
      FRENGERS
    15. Flux
    16. Flux
      Flux
      "Originally Posted by Ninja Wietlol"
      that was your name before?
    17. Flux
    18. FRENGERS
      FRENGERS
      lol it's stacking thou.....
      but don't worry about that :D :D I appreciate it <3 <3
      hehe I should change it to 10% to confirm it either works or not :D :D
    19. Flux
      Flux
      Were you a "Ninja" before?
    20. FRENGERS
  • Loading...
  • Loading...
  • About

    WarCraft 3 Realm:
    Northrend (Europe)
    Favourite Race:
    Arakkoa
    Favorite Organization/Clan:
    Kirin Tor

    Signature

    So much for a user friendly website.[​IMG]
  • Loading...
  • Loading...