Results 1 to 10 of 10
  1. #1
    Forlornblade's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    USA, Ohio
    Posts
    7
    Reputation
    10
    Thanks
    0
    My Mood
    Confused

    Garry's Mod 13 TTT Propkill lua

    I recently got a propkill script for ttt and it gets the job done but not always because it makes me do a 360 and then throws a prop the problem here is that while I do the 360 I can't see the person and you know how people move around alot in ttt so if anyone could make a nice propkill lua for ttt or direct me to one it would be a friendly deed. I also forgot that I saw one on a video by some guy named stgggs but I couldn't find it.

  2. #2
    ヽಠ_ಠᕤ Headrockin' ᕦಠ_ಠ╯
    MPGH Member
    IV2B's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    1,163
    Reputation
    101
    Thanks
    229
    My Mood
    Inspired
    Check for a 180° script,copy the 180° turn into another and bind two keys.
    Else than that,no way to make it easier to land.

  3. #3
    Forlornblade's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    USA, Ohio
    Posts
    7
    Reputation
    10
    Thanks
    0
    My Mood
    Confused
    Quote Originally Posted by IV2B View Post
    Check for a 180° script,copy the 180° turn into another and bind two keys.
    Else than that,no way to make it easier to land.
    I'm not a smart guy but this is the current script I'm using that makes me go into a 360 and then whip it


    function MagnetoThrow()
    -- Nice and easy, turn it slow 180
    timer.Simple(.02,Turn)
    timer.Simple(.04,Turn)
    timer.Simple(.06,Turn)
    timer.Simple(.08,Turn)
    timer.Simple(.10,Turn)
    timer.Simple(.12,Turn)
    timer.Simple(.14,Turn)
    timer.Simple(.16,Turn)
    timer.Simple(.18,Turn)
    timer.Simple(.20,Turn)
    timer.Simple(.22,Turn)
    timer.Simple(.24,Turn)
    timer.Simple(.26,Turn)
    timer.Simple(.28,Turn)
    timer.Simple(.30,Turn)
    timer.Simple(.32,Turn)
    timer.Simple(.34,Turn)
    timer.Simple(.36,Turn)
    -- OH MY GOD WHIP AROUND 180
    timer.Simple(.46,TurnBack)
    -- And deliver the final blow by pressing right click
    timer.Simple(.7,function() RunConsoleCommand("+attack") end)
    timer.Simple(.72,function() RunConsoleCommand("-attack") end)
    end

    function Turn()
    -- Turn function
    LocalPlayer():SetEyeAngles(LocalPlayer():EyeAngles ()-Angle(0,10,0))
    end

    function TurnBack()
    -- Turn 180 function
    LocalPlayer():SetEyeAngles(LocalPlayer():EyeAngles ()-Angle(0,180,0))
    end
    -- Making it a console command
    concommand.Add("ThrowMagneto",MagnetoThrow)

    I forgot to add that i need it to not turn me just throw it far and kill the target like turning up your wheel speed but with a magneto stick
    Last edited by Forlornblade; 09-25-2013 at 01:30 PM. Reason: Forgot

  4. #4
    ヽಠ_ಠᕤ Headrockin' ᕦಠ_ಠ╯
    MPGH Member
    IV2B's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    1,163
    Reputation
    101
    Thanks
    229
    My Mood
    Inspired
    Quote Originally Posted by Forlornblade View Post
    I'm not a smart guy but this is the current script I'm using that makes me go into a 360 and then whip it


    Code:
    function MagnetoThrow()
    -- Nice and easy, turn it slow 180 
    	timer.Simple(.02,Turn)
    	timer.Simple(.04,Turn)
    	timer.Simple(.06,Turn)
    	timer.Simple(.08,Turn)
    	timer.Simple(.10,Turn)
    	timer.Simple(.12,Turn)
    	timer.Simple(.14,Turn)
    	timer.Simple(.16,Turn)
    	timer.Simple(.18,Turn)
    	timer.Simple(.20,Turn)
    	timer.Simple(.22,Turn)
    	timer.Simple(.24,Turn)
    	timer.Simple(.26,Turn)
    	timer.Simple(.28,Turn)
    	timer.Simple(.30,Turn)
    	timer.Simple(.32,Turn)
    	timer.Simple(.34,Turn)
    	timer.Simple(.36,Turn)
    -- OH MY GOD WHIP AROUND 180
    	timer.Simple(.46,TurnBack)
    -- And deliver the final blow by pressing right click
    	timer.Simple(.7,function() RunConsoleCommand("+attack") end)
    	timer.Simple(.72,function() RunConsoleCommand("-attack") end)
    end
    
    function Turn()
    -- Turn function
    	LocalPlayer():SetEyeAngles(LocalPlayer():EyeAngles()-Angle(0,10,0))
    end
    
    function TurnBack()
    -- Turn 180 function
    	LocalPlayer():SetEyeAngles(LocalPlayer():EyeAngles()-Angle(0,180,0))
    end
    -- Making it a console command
    concommand.Add("ThrowMagneto",MagnetoThrow)
    I forgot to add that i need it to not turn me just throw it far and kill the target like turning up your wheel speed but with a magneto stick
    Here,try this:
    Code:
    function 180attack()
            timer.Simple(.25,Turn)
            timer.Simple(.25,Turn)
            timer.Simple(.25,Turn)
            timer.Simple(.25,Turn)
            timer.Simple(.25,Turn)
            timer.Simple(.25,Turn)
            timer.Simple(.25,Turn)
            timer.Simple(.25,Turn)
            timer.Simple(.25,Turn)
            timer.Simple(.25,Turn)
            timer.Simple(.25,Turn)
            timer.Simple(.25,Turn)
            timer.Simple(.25,Turn)
            timer.Simple(.25,Turn)
            timer.Simple(.25,Turn)
            timer.Simple(.25,Turn)
            timer.Simple(.25,Turn)
            timer.Simple(.25,Turn)
            timer.Simple(.01,TurnBack)
            timer.Simple(.7,function() RunConsoleCommand("+attack2") end)
            timer.Simple(.72,function() RunConsoleCommand("-attack2") end)
    end
     
    function Turn()
            LocalPlayer():SetEyeAngles(LocalPlayer():EyeAngles()-Angle(0,10,0))
    end
     
    function TurnBack()
            LocalPlayer():SetEyeAngles(LocalPlayer():EyeAngles()-Angle(0,360,0))
    end
    concommand.Add("189att",180attack)
    Remove the
    Code:
    timer.Simple(.7,function() RunConsoleCommand("+attack2") end)
            timer.Simple(.72,function() RunConsoleCommand("-attack2") end)
    part to make it a 180° turn only. (then change the command name and bind it to another key).

    It should be slightly more performant.

  5. #5
    notanimedad's Avatar
    Join Date
    Sep 2013
    Gender
    male
    Posts
    59
    Reputation
    10
    Thanks
    7
    anybody using that script is a fucking idiot lrn2calcview

  6. #6
    LennyPenny's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    314
    Reputation
    10
    Thanks
    381
    My Mood
    Sad
    Quote Originally Posted by notanimedad View Post
    anybody using that script is a fucking idiot lrn2calcview
    CalcView is used to change the position of your camera, not to turn you. You can make make a third person camera for example.

    You use CreateMove to turn yourself, or tbh simulate all player input.
    I however used CalcView to kinda make an aim camera for my ttt propkill script.
    https://******.com/LennyPenny/Lennys...er.lua#L40-L76

    You need to play around with the lag compensation though.
    Last edited by LennyPenny; 09-26-2013 at 09:43 AM.

  7. #7
    notanimedad's Avatar
    Join Date
    Sep 2013
    Gender
    male
    Posts
    59
    Reputation
    10
    Thanks
    7
    Quote Originally Posted by LennyPenny View Post
    CalcView is used to change the position of your camera, not to turn you. You can make make a third person camera for example.

    You use CreateMove to turn yourself, or tbh simulate all player input.
    I however used CalcView to kinda make an aim camera for my ttt propkill script.
    https://******.com/LennyPenny/Lennys...er.lua#L40-L76

    You need to play around with the lag compensation though.
    mameshiba's propkill script still works from turbo/bot
    if you use anything other than that you are prolly a dumb
    Last edited by notanimedad; 09-26-2013 at 11:13 AM.

  8. #8
    LennyPenny's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    314
    Reputation
    10
    Thanks
    381
    My Mood
    Sad
    Quote Originally Posted by notanimedad View Post
    mameshiba's propkill script still works from turbo/bot
    if you use anything other than that you are prolly a dumb
    What are you talking about?

  9. #9
    ヽಠ_ಠᕤ Headrockin' ᕦಠ_ಠ╯
    MPGH Member
    IV2B's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    1,163
    Reputation
    101
    Thanks
    229
    My Mood
    Inspired
    Quote Originally Posted by notanimedad View Post
    mameshiba's propkill script still works from turbo/bot
    if you use anything other than that you are prolly a dumb
    How about you stop bitching around?
    ...Just an idea uh!

  10. #10
    notanimedad's Avatar
    Join Date
    Sep 2013
    Gender
    male
    Posts
    59
    Reputation
    10
    Thanks
    7
    Quote Originally Posted by IV2B View Post
    How about you stop bitching around?
    ...Just an idea uh!
    go jerk your cat off idiot
    Quote Originally Posted by LennyPenny View Post
    What are you talking about?
    Code:
    ("hey", "tttrv", function(_,a,b,c)
    	if rearview:GetBool() then 
            b = b + Angle(0,180,0)
        end
    	return GAMEMODE:hey(_,a,b,c)
    end)
    
    ("hey", "tttbw", function(cmd)
    	if rearview:GetBool() then
    		cmd:SetForwardMove(-cmd:GetForwardMove())
    		cmd:SetSideMove(-cmd:GetSideMove())
            cmd:SetUpMove(-cmd:GetUpMove())
    	end
    end)
    wow
    superior in every way
    Last edited by notanimedad; 09-26-2013 at 03:08 PM.

Similar Threads

  1. Replies: 2
    Last Post: 01-06-2016, 12:38 AM
  2. [Help]TTT Propkilling Lua
    By dj46563 in forum Garry's Mod Discussions & Help
    Replies: 5
    Last Post: 04-18-2013, 02:23 PM
  3. Lua Garry's Mod 13 Click Aimbot?
    By Jaos in forum Garry's Mod Discussions & Help
    Replies: 6
    Last Post: 04-11-2013, 04:10 AM
  4. [request] Garry's Mod Lua Hack Pack!?
    By Ayzake in forum Garry's Mod Discussions & Help
    Replies: 3
    Last Post: 03-27-2013, 01:06 PM
  5. [Help] [Garry's Mod] TTT Weapon Models
    By [RAGE] Mad YET? in forum Steam Games Hacks & Cheats
    Replies: 2
    Last Post: 02-02-2013, 01:36 PM

Tags for this Thread