Dessix (06-23-2013)
You should be using negative vectors for the cones- I think that brings you down and to the left on average (ie -VECTOR_5_DEGREES for SMG); If you combine a norecoil with this or, possibly, set the player's EyeAngles to the position you wanted to be aiming at (The second argument to manipulateshot) you should end up with a steady camera and Nospread.
Edit:
And for those who would do me verbal harm (Sticks and stones etc...), here is the page wherein I found the base for this source, riddled with race conditions, threading issues, leaks, and a problem where garbage collection was eating certain arguments before they were to be accessed:
https://facepunch.com/showthread.php?t=1058885
If it makes you less hurt, I declare this Nospread to be a derivative work from code originally posted by one MayorBee of Facepunch.
Last edited by Dessix; 06-23-2013 at 08:32 PM.
Awesome release!
This is how I did it for TTT
vecCone = Vector( -1 * lp:GetActiveWeapon().Primary.Cone, -1 * lp:GetActiveWeapon().Primary.Cone, 0 )
DS_manipulateShot(DS_md5PseudoRandom(DS_getUCMDCom mandNumber(cmd)), vecTarget, vecCone):Angle()
How do i use this?
This is just gmcl_deco, you literally did nothing but change a few headers, this isn't yours and you don't have the right to copyright it. Just because it isn't copyrighted by deco doesn't mean it's yours. Also, this barely works correctly and doesn't even utilize backward compatible headers.
Dessix (06-23-2013)
Dessix (06-23-2013)
Dessix (06-25-2013)
What does your code do exactly? Does it turn on nospread for all weapons? It looks like it has variables that aren't set to anything in it (i.e MB.shooteveryone). So I wouldn't be able to just load this up and have nospread would I? Is there any code that doesn't rely on code that isn't provided?
Sorry, but I'm very new to modules and working with them
Alright, for the record (Yet again...), this module is for developers only, if you don't know how to use it- refer to an Aimbot that implemented Nospread in order to put this into your own code. If you aren't a developer, please don't clutter the thread with "How do I use this?" for the fourth time :S