-
Notifications
You must be signed in to change notification settings - Fork 145
Fuzion Lua AA Guide
Lua Scripting has been added so you can make your own AA's on the fly. It's also fun for screwing around with new memes.
To compile it, you'll first want to install Lua Development for your Distro. For me(Fedora) it was "lua-devel". Then go ahead and continue with the cmake . and make
The Lua Editors are found in the HVH tab, you'll first have to select one of the Lua options from the Yaw/Pitch Dropdown menu's. Afterwards some textboxes will appear on the right.
Lua is interpreted as you type. If Debug Mode is on, you can see Syntax/Runtime and other errors in the CSGO Console. You can turn Debug mode off after you've got yourself a working script to please your speed autism.
The AA Options "Lua2" and "LUA_UNCLAMPED2" may seem redundant, but they can be used in case you wish to run a separate script for Fake/Actual Yaw. Be warned that the Unclamped versions can get you untrusted on Valve servers.
When making Lua, you are free to use variables, each AntiAim script is separated from one another.
Note that you cannot Change the Function Name.
Two pieces of data are passed to Lua in order to make your scripting easier/more useful. "lastAngle" is the angle from the previous frame. "angle" is the unmodified angle from the current frame
The angle you are returning is the final angle that will be used for the current frame.
Random in between Max up and Max Down
function angleX(lastAngle, angle)
return math.random(-89,89);
end
Backjitter
function angleY(lastAngle, angle)
return angle-math.random(140,220);
end
Backwards
function angleY(lastAngle, angle)
return angle-180;
end
More...