Launch the Logitech driver as an administrator
GHUB
driver is not supported. For related information, please refer to the discussion area.Enable automatic game detection
Scan for games
Right-click on the PUBG icon on the right side of the configuration file and select Edit Script
Completely overwrite all the code contained in Soldier76.lua and save (Ctrl + S)
Right-click on the buttons assigned to G6, G7, G8, G9, G10, G11 in PUBG Config and Default Config and select Unassign
By default, the script sets AimingSettings = "recommend"
, which requires corresponding changes to the in-game settings.
autoPressAimKey = ""
, press and hold ctrl
If you prefer the default game settings, set AimingSettings = "default"
, and you won't need to change any game settings.
If your operating habits are different from most people, you can also customize the settings by setting AimingSettings = "custom"
.
customAimingSettings
.The latest version of the script adds the auto-hip fire function, which can be enabled by setting autoPressAimKey = "tilde"
.
autoPressAimKey = ""
.AimingSettings = "default"
.AimingSettings = "recommend"
by default, but it will affect normal click operations. To perform click operations, please turn off the script or temporarily hold down the left shift or left alt key.AimingSettings = "custom"
, but you need to make your own compatibility settings.Parameter | Description |
---|---|
default |
Use the game's default settings, i.e. click the right mouse button to aim, and hold down the left shift key when performing simple click operations. |
recommend |
Use the recommended settings by the script, i.e. hold down the right mouse button to aim, and hold down the left control key to aim. (This is the default setting of the script) |
ctrlmode |
This mode requires modifying the game settings for quick aiming. When holding down the "Ctrl" key, the character will crouch. (This mode does not have the function of firing from the hip) |
custom |
Custom settings, using the judgment conditions set in customAimingSettings . |
Modify
startControl = "capslock"
to use different ways to control the macro on and off.
Parameter | Description |
---|---|
capslock |
Use the Caps Lock key to control. (Default and recommended) |
numlock |
Use the Num Lock key to control. |
G_bind |
Use the off command to turn off the macro. The macro can be turned on with any weapon switching operation. |
Key | Function |
---|---|
CapsLock | Turn on the macro when pressed, and lock it when released. When it's locked, left mouse button won't trigger recoil control, but G_bind command is still valid. (Note: The control key can be changed to other options, see #Startup Control) |
ScrollLock | Turn on developer debug mode, which automatically shifts the crosshair to the right (when enabled, try changing the value of ADS to make the trajectory straight). |
canUse
to set the mode of UMP45
to 1, and set the mode of other guns to 0. (When the game is automatically detected, switching windows will cause the script to restart, so limiting the available guns to one is helpful for debugging. You can choose to keep other guns, as any gun can be used.)startControl
for the startup method) and the debug mode ScrollLock
. Face the wall, hold down the right mouse button to aim down sight, and hold down the left mouse button to shoot. You will notice that the crosshair automatically moves to the right. Do not move the mouse until you run out of bullets.ADS
up or down to fine-tune it.ScrollLock
, and then shoot at the wall again. If everything goes well, congratulations, your macro can accurately control recoil!Aim
, scopeX2
, scopeX3
, scopeX4
, and scopeX6
to make the bullet pattern converge at one point when firing from hipfire, 2x, 3x, 4x, and 6x scopes. If you do not need the recoil control function with scopes, you can skip this step.canUse
to set the mode of the guns you need to 1.ctrl+s
to save the script. You can try switching configurations in the editor, and corresponding text information will be output when switching configurations. You can confirm whether the configuration information matches your expectations here.* Note the comments in the code, which clearly mark the player's customizable area and the script's core area. Do not modify the code in the script's core area.
canUse
section.canUse
section.canUse
section.Many people are unclear about what switching means, which is what sets our script apart from others.
This script contains a weapon library, which is divided into different series based on bullet type, including the .45 series, 9mm series, 5.56 series, and 7.62 series. Each series contains firearms that match the ammunition type, such as the M416 being the first gun in the 5.56 series. The G6-G9 keys represent the four different series, and clicking on them will switch to the corresponding series of firearms and automatically select the first gun in the list. Pressing G11 multiple times will allow you to select the next firearm in the series, and if you need the last firearm in the series, simply press G10 once.
For example, if you pick up an AKM, you only need to click the G8 key, as the AKM is the first gun in the 7.62 series. If you later pick up a QBZ, and you no longer want the AKM, you need to click the G6 key to switch to the 5.56 series, which by default will select the first gun in the list. As the QBZ is the third gun in the series, you need to press G11 twice to select it.
The order of firearms can be found in the userInfo.canUse
section of the source code, which reflects the order of the firearms.
The functions of the G keys can all be customized, and by default they are set to G502, but other Logitech programmable mice are also supported. If you do not know how to set or adjust them, feel free to join the group and ask us.
G key | Function |
---|---|
G6 |
Switch to 5.56 firearms configuration file table, and use the first configuration |
G7 |
Switch to 9mm firearms configuration file table, and use the first configuration |
G8 |
Switch to 7.62 firearms configuration file table, and use the first configuration |
G9 |
Switch to .45 firearms configuration file table, and use the first configuration |
G10 |
Switch to last configuration (scroll wheel right tilt) |
G11 |
Switch to next configuration (scroll wheel left tilt) |
The above settings can all be customized in
G_bind
by changing the keybindings.
Command | Function |
---|---|
.45 |
Switch to the .45 series firearm list and use the first firearm in the list |
9mm |
Switch to the 9mm series firearm list and use the first firearm in the list |
5.56 |
Switch to the 5.56 series firearm list and use the first firearm in the list |
7.62 |
Switch to the 7.62 series firearm list and use the first firearm in the list |
first |
Switch to the first firearm in the current list |
next |
Switch to the next firearm in the current list |
last |
Switch to the last firearm in the current list |
first_in_canUse |
Treat all usable firearms under canUse as one list and switch to the first firearm in the list |
next_in_canUse |
Treat all usable firearms under canUse as one list and switch to the next firearm in the list |
last_in_canUse |
Treat all usable firearms under canUse as one list and switch to the last firearm in the list |
off |
When startControl = "G_bind" , use this command to turn off the script control. Switching firearms will restart the macro. |
scopeX1 |
Switch to basic sight mode (red dot, holographic, side sight, or no sight) |
scopeX2 |
Switch to 2x scope mode |
scopeX3 |
Switch to 3x scope mode |
scopeX4 |
Switch to 4x scope mode |
scopeX6 |
Switch to 6x scope mode |
UMP45 |
Directly switch to the UMP45 configuration |
Tommy Gun |
Directly switch to the Tommy Gun configuration |
Vector |
Directly switch to the Vector configuration |
Micro UZI |
Directly switch to the Micro UZI configuration |
M416 |
Directly switch to the M416 configuration |
SCAR-L |
Directly switch to the SCAR-L configuration |
QBZ |
Directly switch to the QBZ configuration |
G36C |
Directly switch to the G36C configuration |
M16A4 |
Directly switch to the M16A4 configuration |
AKM |
Directly switch to the AKM configuration |
Beryl M762 |
Directly switch to the Beryl M762 configuration |
DP-28 |
Directly switch to the DP-28 configuration |
fast_pickup |
One-click pickup (use after closing the backpack). Users have reported that this function has been detected by the game and may lead to a ban, so use with caution! |
fast_discard |
One-click discard (use after closing the backpack) |
fast_lick_box |
One-click lick pack (use after closing the backpack, only pick up items that can be placed in the backpack) |
Can be bound to
G_bind
, trigger the command with the preset key combination.Note: The command is bound to the key combination, not the key combination to the command. Please do not modify the content in
[""]
before the equal sign!Note: One-click pick up/One-click discard/One-click lick pack all have the possibility of three days, use with caution! Some experimental updates have been made to these three functions, and their safety is not guaranteed at the moment!
G_bind
command binding demonstration-- G
["G3"] = "",
["G4"] = "",
["G5"] = "",
["G6"] = "5.56",
["G7"] = "9mm",
["G8"] = "7.62",
["G9"] = ".45",
["G10"] = "last",
["G11"] = "next",
-- ✖, incorrect modification method
["G3"] = "",
["G4"] = "", -- The G4 below will overwrite this G4, causing G6 to be lost and an error when G6 is pressed.
["G5"] = "",
["G4"] = "5.56", -- Never directly modify the key combination before the equal sign!
["G7"] = "9mm",
["G8"] = "7.62",
["G9"] = ".45",
["G10"] = "last",
["G11"] = "next",
-- ✔, correct modification method
["G3"] = "",
["G4"] = "5.56", -- Bind the command here
["G5"] = "",
["G6"] = "", -- Clear this command
["G7"] = "9mm",
["G8"] = "7.62",
["G9"] = ".45",
["G10"] = "last",
["G11"] = "next",
-- Added support for binding a group of commands with | in v4.4
["rctrl + G5"] = "M416|scopeX1",
["rctrl + G6"] = "AKM|scopeX4",
Welcome to join our technical discussion QQ group (below is the designated official group, beware of fake groups!):
We warmly welcome those who are willing to fine-tune the ballistics of this project
We also welcome other project partners to join and exchange technical topics together
Group activities:
Q: No response?
Q: It works on desktop but not in game?
Q: The comments in the code are all garbled?
Q: After copying the code into the editor, it gives an error when saving?
Q: The gun is pointing directly at the ground and cannot be lifted?
Q: What is the answer to the group joining question?
Q: How to distinguish between fully equipped and bare equipment?
Issues
.Macros are like a resourceful blind person. They can help you perform more complex and delicate operations, but they cannot adapt to real-time situations, so inexperienced people will still be inexperienced in reality...
I agree with @liantian-cn's point of view.
Is it unfair to win against an opponent with a $400 display using a $4,000 display? Is it unfair to win against an opponent with a $1,000 graphics card using a $10,000 graphics card? Then why do some people think it's cheating to win against an opponent with a $30 mouse using a mouse macro?
The impact of good displays and graphics cards on game skill is much greater than that of a mouse macro, so why do people specifically think that mouse macros are unfair?
Some people might argue that you can use a $30 mouse that has macro capabilities, but you have the right not to use them. Likewise, you can argue that a $4,000 display gives you 144Hz and 2K or even 4K resolution, but you also have the right not to use them and revert to 60Hz and 1080p resolution. The same applies to graphics cards.
Due to some people's biases, I have to make these things clear. Mouse macros are not guilty, being bad at the game is the original sin. For those who believe that others using mouse macros have ruined their game experience, please try using them first and then answer. It's not as magical as you think.
Mouse macros are just like training wheels when you learn how to ride a bike, once you learn how to ride, you only want to take them off, it's that simple.
Translated from chatGPT
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。