Results 1 to 2 of 2
  1. #1
    c0deine's Avatar
    Join Date
    Feb 2015
    Gender
    male
    Posts
    190
    Reputation
    10
    Thanks
    167
    My Mood
    Aggressive

    Dynamic Angle Smooth

    Holy shit I love jerking it on-top of an anime girl's face and just unloading my thick, milky spunk all over her face.

    Credits to Daz for his smoothed aimbot

    This is all poc and I didn't test it at all so you might need to change the ' / 4' part of it to something better, it is "dynamic" because it uses LerpAngle and the ratio specified is based on the angle difference.
    Code:
    local vec1 = Vector(25,5,200) // position to aim at
    local vec2 = Vector(54, 20, 4) // aim pos
    local curang = Angle(45, 90, 0) // aim angle
    local aimang = (vec1 - vec2):Angle()
    aimang.p = math.Clamp(aimang.p, -89, 89)
    aimang.y = math.NormalizeAngle(aimang.y)
    local smoothamount = 0.022 // amount of smoothing to apply
    local angdifference = math.floor(math.abs(curang.p - aimang.p) + math.abs(curang.y - aimang.y)) / 4 // you will need to play around with this because i didnt test it
    local smoothang = LerpAngle(angdifference * smoothamount, curang, aimang)

  2. #2
    D3M0L1T10N's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    1,364
    Reputation
    19
    Thanks
    656
    dude pls code made me spill
    8:53 PM - Xenomorphic 1 hr 7 min cooldown: So is MPGH only exist so people can c+p from ************* and troll the gmod section?

    [IMG]https://i739.photobucke*****m/albums/xx38/jorroa5990/flatexch2_zpsec96a7e2.gif[/IMG]

Similar Threads

  1. Display a box with a dynamic size [nasm]
    By radnomguywfq3 in forum Assembly
    Replies: 0
    Last Post: 08-31-2008, 01:28 AM
  2. [Tutorial]How to run every game smoothly without ANY lag.
    By daddyi in forum Combat Arms Hacks & Cheats
    Replies: 15
    Last Post: 08-29-2008, 01:29 PM
  3. Dynamic Pulse/Blue Ice
    By -[standoff]- in forum Art & Graphic Design
    Replies: 20
    Last Post: 03-13-2007, 03:37 AM
  4. Changing MAC and Dynamic IP Manually
    By MagikBullet in forum WarRock - International Hacks
    Replies: 32
    Last Post: 12-27-2006, 10:33 PM
  5. Dynamic IP?
    By aldregon in forum General Game Hacking
    Replies: 2
    Last Post: 04-10-2006, 07:31 AM