thanks - works like a charm
small problem
hello this works great however everytime i press a gkey to activate it it activates my mini map in warzone and after everytime i right click to look down sights my mini map pops up. any ideas?
Does this work with having only a Logitech Keyboard and not also a Logitech Mouse?
Can you update with recoil table for CR-56?
Awesome Script!
Thanks so much for making this! This is my first attempt at using a mouse script and I'm having a blast adjusting some of the numbers in the table to match my attachment setups. However, I'm struggling a little bit understanding exactly what some of the variables do. If someone could fill in the gaps I'd be very appreciative, but here are my best guesses for each:
BASIC/FULL/QUADRUPLE/FULLOF4X = The magnitude of the pull-down, each one needs manual input
BASICTIMES/FULLTIMES... = Multiply the global recoil time (.6) times the individual weapon time (example mp5 basictimes is .42) gives .252. Is .252
the time (in seconds) between pull-downs?
SPEED = How fast the cursor moves during the pull-down? If this is true, I'm not sure what significance this has, so long as the pull-down completes
before the next bullet.
MAXBULLETS = The only thing I can think of is that this the maximum amount of numbers to pull from the basic/full/quadruple/fullof4x array in a
single spray. If this is true, why even have a maximum?
Thank you in advance!
Thank you bud! This is very helpful, would you mind to elaborate the structure of the recoil table? and how the data is being processed by the function? so we all can custome the script with our need. Also, can you upload the script to ******? so everyone one contribute it.
same problem
done everthing
works great on the desktop but nothing in game any ideas or did i forget a step?
thanks in advance
When ever I download it and import it I just see random characters. Can you copy and paste it.
Would this work through a VM?
Does this work on L33T Gaming mouse GBM01L33T?
Gshift key labelling
Hi there, trying ot make this, work wiht a G102. If i change my DPI cycle button ot G shift, I get 6 more button to use, to be able to toggle the weapon in use. How od I know what G number they shoudl be assigned? In Ghub it just shows it as G Shift. (activated. adn then forward key is 6.) However will teh script know I have used Gshift first? )r will it always think that forward button is number 6 whether shifted or not?
Fix for those having trouble

Originally Posted by
sbuj
Modern Warfare NoRecoil Script
Logitech GHUB
Features:
Randomized variables
Human Recoil compensation
No recoil
Universal DPI
Instructions:
1. Install GHUB, if it is not already installed (only for GHUB and Gkey enabled mice)
2. Download the Lua file
3. Click on the top and go on the profiles area
4.Create or hover over a profile and click the little scripting button

5. Go on edit script or OPTIONAL: Edit on emeditor or notepad++
6. Import script via files

7. go where the keybinds for the mouse/keyboard are

8. Change the binds according to your Gkeys: example (local Kilo141_key = 5 > for G5 Key)
Check under system if you are unsure if you have gkeys
9. Set the profile as persistent
10.
IMPORTANT! EXPORT THE LUA OUT TO ANOTHER PART OF YOUR PC
I.e windows D: or C: drive somewhere out of your desktop make sure u empty out the script that is in the script editor!
11. Edit the script again and type this :
data = dofile[[D:\Luaname.lua]] Change D: with whatever and luaname as the name you have it on, if it doesnt work on launch and u dont see ur mouse going down just put the actual location of the script
12. FOR OPTIMAL PERFORMANCE SET SETTINGS TO:
8.I
Mouse sens: 8.00
Vertical Sensitivity Multipliers : 1.00
IF YOU WANT TO RUN WITHOUT ATTACHMENTS DO SCROLL LOCK OFF
TO SCOPE, do NUM LOCK + SCROLL LOCK ON
best attachments for every gun
Attachments for each weapon
Kilo
Muzzle: Compensator
Barrel: Singuad Arms 19.8" Prowler
Underbarrel: Operator Foregrip
Rear Grip: Rubberized Grip Tape
M4A1:
Muzzle: Compensator
Barrel: stock m16 grenadier
Underbarrel: operator foregrip
Stock: m16 stock
AK-47:
Muzzle: Compensator
Barrel: 23.0" RPK Barrel
Underbarrel: Ranger Foregrip
Stock: Field LMG Stock
ODEN:
Muzzle: Compensator
Barrel: Oden Factory 810mm
UnderBarrel: Operator Foregrip
Stock: Forge TAC Ballast Pack
M13:
Muzzle: Compensator
Barrel: Tempus Marksman
Underbarrel: Operator Foregrip
Stock: Forge TAC Stalker
SCAR17:
Muzzle: Compensator
Barrel: Forge TAC 20.0" LB
Underbarrel: Merc Foregrip
Stock: XRK Obelisk Pro
AUG:
Muzzle: Compensator
Barrel: 622mm Long Barrel
Underbarrel: Operator Foregrip
Rear Grip: Rubberized Grip Tape
PKM:
Muzzle: Compensator
Barrel: 26.9" Extended Barrel
Underbarrel: Snatch Grip
Rear Grip: Granulated Grip Tape
SA87:
Muzzle Compensator
Underbarrel: Ranger Foregrip
Rear Grip: Granulated Grip Tape
Stock: FSS SA87 Heavy Stock Pro
M91:
Muzzle: Compensator
Barrel: M91 Heavy
Underbarrel: Ranger Foregrip
Stock: FORGE TAC Stalker
MG34:
Muzzle: Compensator
Underbarrel: Ranger Foregrip
Rear Grip: Granulated Grip Tape
Stock: Forge TAC Stalker
Holger-26:
Muzzle: Compensator
Underbarrel: Commando Foregrip
Rear Grip: Granulated Grip Tape
Stock: FSS RangerP90:
Muzzle: Compensator
Barrel: FORGE TAC Retribution
Underbarrel: Stippled Grip Tape
Stock: FSS Heavy Stock Pro
MP5:
Muzzle: Compensator
Underbarrel: Tactical Foregrip
Rear Grip: Granulated Grip Tape
Stock: Classic Straight-line Stock
BIZON:
Muzzle: Compensator
Barrel: 8.7 Steel
Rear Grip: Granulated Grip Tape
Laser: Tac Laser
MP7:
Muzzle: Compensator
Barrel: FSS Recon
Underbarrel: Ranger Foregrip
Rear Grip: Granulated Grip Tape
UZI:
Muzzle: Compensator
Barrel: 16.5" Factory Carbine
Underbarrel: Ranger Foregrip
Stock: Standard-issue Wood Stock
Striker 45:
Muzzle: Compensator
Barrel: 400mm Stainless Steel
Underbarrel: Commando Foregrip
Stock: FTAC Precision Fixed Stock
RAM-7:
Muzzle: Compensator
Barrel:: RK Ranger
Underbarrel: Commando Foregrip
Stock: FTAC EE uilibrium
Grau 5.56
Muzzle: Compensator
Barrel: FSS 26.4" Archangel
Underbarrel: Ranger Foregrip
Rear Grip: Cronen Sniper Elite

Originally Posted by
alucard268
done everthing
works great on the desktop but nothing in game any ideas or did i forget a step?
thanks in advance
Dont assign any of the profiles to G1 or G2 these are key click for the left and right mouse. if you use them it goes into a rapied mode trying to continuously activate the profile.
assign from G3 onwards and you will be fine.
If its not working on the game, try running Logitech G Hub as administrator, that did the trick for me.