【2022最新罗技G502吃鸡宏】

更新时间:2023-06-18 03:50:20 阅读: 评论:0

【2022最新罗技G502吃鸡宏】
妥协的意思罗技G502吃鸡宏
function.sh
----------------        Basic Variable      -----------------------------
----------------        Do not edit                ---------------------
local current_weapon ="none"
----------------        基本设置      ------------------------------
----这⾥是枪⽀设置----
local ump9_key =3
local akm_key =7
local m16a4_key =5
local m416_key =4
local scarl_key =8
local uzi_key =nil
local t_off_key =6
succeed---- 开⽕设置 ----
local fire_key ="Pau"--游戏设置开⽕按键改为pau
local mode_switch_key ="capslock"--⼤写锁定键被激活开启四倍压枪
---- 暂停宏可选按钮 ----
---- can u "lalt", "ralt", "alt"  "lshift", "rshift", "shift"  "lctrl", "rctrl", "ctrl"
local ignore_key ="rctrl"--暂停⿏标宏按右ctrl
--- 游戏设置
-
-- 默认⿏标速度 50.0
local target_nsitivity =50
local scope_nsitivity =50
local scope4x_nsitivity =50
---- Obfs tting
---- Two firing time intervals = weapon_speed * interval_ratio * ( 1 + random_ed * ( 0 ~ 1))
local weapon_speed_mode =fal
-- local obfs_mode = fal
local obfs_mode =true
thirller
local interval_ratio =0.75
local random_ed =1
-
---------------      ⿏标下移参数        ------------------------------
---------------- You can fix the value here ------------------------------
local recoil_table ={}
recoil_table["ump9"]={
basic={18,19,18,19,18,19,19,21,23,24,23,24,23,24,23,24,23,24,23,24,23,24,24,25,24,25,24,25,24,25,24,25,25,26,25,26,25,26,25,26,25,26,25,26,25,26 },
},
quadruple={83.3,83.3,83.3,83.3,83.3,83.3,83.3,116.7,116.7,116.7,116.7,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93. 3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3},
speed =92
}
recoil_table["akm"]={
basic={23.7,23.7,23.7,23.7,23.7,23.7,23.7,23.7,23.7,23.7,23.7,28,28,28,28,29.7,29.7,29.7,29.7,29.7,29.7,29.7,29.7,29.7,29.7,29.7,29.7,29.7,29.7,29.7, 29.7,29.7,29.7,29.7,29.7,29.7,29.7,29.7,29.7,29.7},
quadruple={66.7,66.7,66.7,66.7,66.7,66.7,66.7,66.7,66.7,66.7,66.7,123.3,123.3,123.3,123.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93. 3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3,93.3},
speed =100
}
recoil_table["m16a4"]={
basic={25,25,25,29,33,33,32,33,32,32,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30},
quadruple={86.7,86.7,86.7,86.7,86.7,86.7,86.7,150,150,150,150,120,120,120,120,120,120,120,120,
120,120,120,120,120,120,120,120,120,120,120,12 0,120,120,120,120,120,120,120,120,120},
speed =75
}
recoil_table["m416"]={
basic={21,21,21,21,21,21,21,21,21,23,23,24,23,24,25,25,26,27,27,32,31,31,31,31,31,31,31,32,32,32,35,35,35,35,35,35,35,35,35,35,35},
quadruple={86.7,86.7,86.7,86.7,86.7,86.7,86.7,150,150,150,150,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7, 96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7},
speed =86
}
recoil_table["scarl"]={spooning
basic={20,21,22,21,22,22,23,22,23,23,24,24,25,25,25,25,26,27,28,29,30,32,34,34,35,34,35,34,35,34,35,34,34,34,34,34,35,35,35,35,35,35,35,35,35,35 },
quadruple={86.7,86.7,86.7,86.7,86.7,86.7,86.7,150,150,150,150,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7, 96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7,96.7},
speed =96
}
recoil_table["uzi"]={
basic={16,17,18,20,21,22,23,24,25,26,28,30,32,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34 ,34,34},
quadruple={13.3,13.3,13.3,13.3,13.3,21.7,21.7,21.7,21.7,21.7,46.7,46.7,46.7,46.7,46.7,46.7,46.7,46.7,46.7,46.7,46.7,46.7,46.7,46.7,46.7,46.7,46.7,46.
7,46.7,46.7,46.7,46.7,46.7,46.7,46.7,46.7,46.7,46.7,46.7,46.7},
speed =48
}
recoil_table["none"]={
basic={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
quadruple={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
speed =60
}
----------------          Function          ------------------------------
function convert_ns(unconvertedSens)
培训网站return0.002* math.pow(10, unconvertedSens /50)
end
function calc_ns_scale(nsitivity)
return convert_ns(nsitivity)/convert_ns(50)
end
nylon是什么意思local target_scale =calc_ns_scale(target_nsitivity)
local scope_scale =calc_ns_scale(scope_nsitivity)
local scope_scale =calc_ns_scale(scope_nsitivity)
local scope4x_scale =calc_ns_scale(scope4x_nsitivity)
function recoil_mode()
if IsKeyLockOn(mode_switch_key)then
return"quadruple";
el
return"basic";
end
end
function recoil_value(_weapon,_duration)
local _mode =recoil_mode()
local step =(math.floor(_duration/100))+1
if step >40then
step =40
end
local weapon_recoil = recoil_table[_weapon][_mode][step]
-
- OutputLogMessage("weapon_recoil = %s\n", weapon_recoil)
local weapon_speed =30
if weapon_speed_mode then
weapon_speed = recoil_table[_weapon]["speed"]
end
steak
-- OutputLogMessage("weapon_speed = %s\n", weapon_speed)
local weapon_intervals = weapon_speed
if obfs_mode then
local coefficient = interval_ratio *(1+ random_ed * math.random())        weapon_intervals = math.floor(coefficient  * weapon_speed)
end
-- OutputLogMessage("weapon_intervals = %s\n", weapon_intervals)
recoil_recovery = weapon_recoil * weapon_intervals /100
-- issues/3
if IsMouButtonPresd(2)then
recoil_recovery = recoil_recovery / target_scale
elif recoil_mode()=="basic"then
recoil_recovery = recoil_recovery / scope_scale
elif recoil_mode()=="quadruple"then
recoil_recovery= recoil_recovery / scope4x_scale
end
return weapon_intervals,recoil_recovery
end
-
---------------          压枪触发事件        ------------------------------
function OnEvent(event, arg)
四级考试2020报名官网OutputLogMessage("event = %s, arg = %d\n", event, arg)
if(event =="PROFILE_ACTIVATED")then
EnablePrimaryMouButtonEvents(true)
elif event =="PROFILE_DEACTIVATED"then
current_weapon ="none"
shoot_duration =0.0
ReleaKey(fire_key)
ReleaMouButton(1)
end
if(event =="MOUSE_BUTTON_PRESSED"and arg == t_off_key)then
current_weapon ="none"
elif(event =="MOUSE_BUTTON_PRESSED"and arg == akm_key)then
current_weapon ="akm"
elif(event =="MOUSE_BUTTON_PRESSED"and arg == m16a4_key)then        current_weapon ="m16a4"
elif(event =="MOUSE_BUTTON_PRESSED"and arg == m416_key)then        current_weapon ="m416"
elif(event =="MOUSE_BUTTON_PRESSED"and arg == ump9_key)then        current_weapon ="ump9"
elif(event =="MOUSE_BUTTON_PRESSED"and arg == uzi_key)then
current_weapon ="uzi"
elif(event =="MOUSE_BUTTON_PRESSED"and arg == scarl_key)then
current_weapon ="scarl"
dataforth
elif(event =="MOUSE_BUTTON_PRESSED"and arg ==1)thenfrustration
-- button 1 : Shoot
if((current_weapon =="none")or IsModifierPresd(ignore_key))then
PressKey(fire_key)
repeat
Sleep(30)
until not IsMouButtonPresd(1)
ReleaKey(fire_key)
el
local shoot_duration =0.0
repeat
local intervals,recovery =recoil_value(current_weapon,shoot_duration)
PressAndReleaKey(fire_key)
MoveMouRelative(0, recovery )
Sleep(intervals)
shoot_duration = shoot_duration + intervals
until not IsMouButtonPresd(1)
end
elif(event =="MOUSE_BUTTON_RELEASED"and arg ==1)then
ReleaKey(fire_key)
end
end

本文发布于:2023-06-18 03:50:20,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/90/148922.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:设置   压枪   开启   按键   游戏   考试
相关文章
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图