網站首頁 電腦游戲 手機游戲 翻譯軟件 動漫下載 電影下載 電視劇下載 游戲攻略
標題 | 《cf》一鍵宏設置大全代碼一覽 |
分類 | 電腦游戲攻略 |
內容 | cf一鍵宏設置大全代碼在哪里看?在穿越火線中鼠標宏其實是類似外掛一樣的東西,有人問小編cf一鍵宏設置大全代碼在哪里看?下面小編就為大家帶來了cf一鍵宏設置大全代碼一覽。 ![]() cf一鍵宏設置大全代碼 1、一鍵鬼跳 -- 鬼跳(按住ctrl+方向鍵+側鍵) ---[[ if (event == "MOUSE_BUTTON_PRESSED" and arg == ghost_jump) then while(IsMouseButtonPressed(ghost_jump)) do PressKey("spacebar") Sleep(math.random(8,11)) ReleaseKey("spacebar") Sleep(math.random(8,11)) end end --]] -- 鬼跳1.2(只需要按住方向鍵+側鍵)(個人覺得沒有自己按ctrl手感好) ---[[ if (event == "MOUSE_BUTTON_PRESSED" and arg == ghost_jump and is_open_up) then while(IsMouseButtonPressed(ghost_jump)) do PressKey("spacebar") Sleep(math.random(5,8)) PressKey("lctrl") Sleep(math.random(1,3)) ReleaseKey("spacebar") Sleep(math.random(8,11)) end ReleaseKey("lctrl") end --]] 2、一鍵上箱 -- 一鍵上箱1.0 ---[[ if (event == "MOUSE_BUTTON_PRESSED" and arg == jump_box) then PressKey("spacebar") Sleep(math.random(267,275)) ReleaseKey("spacebar") Sleep(math.random(346,354)) PressKey("spacebar") Sleep(math.random(164,172)) ReleaseKey("spacebar") Sleep(math.random(96,104)) PressKey("lctrl") Sleep(math.random(140,148)) ReleaseKey("lctrl") end --]] 3、一鍵順JU -- 右鍵瞬狙 ---[[ if (event == "MOUSE_BUTTON_RELEASED" and arg == right_fire_Ju) then --OutputLogMessage("Hello World %f\\n", math.random()) -- 瞬發 PressMouseButton(1) Sleep(math.random(10,20)) ReleaseMouseButton(1) -- 切槍 if(change_gun == 1) then PressKey("q") Sleep(math.random(9,14)) ReleaseKey("q") Sleep(math.random(120,130)) PressKey("q") Sleep(math.random(9,14)) ReleaseKey("q") Sleep(math.random(9,14)) end end --]] 4、usp速點 -- usp連發 ---[[ if (event == "MOUSE_BUTTON_PRESSED" and arg == usp_fire) then -- usp連發壓槍 &nb21. 分手后你哭了,那是你還沒有看透;分手后你笑了,那說明你已經成熟。sp; time_sum = 0 move_y = 0 if(usp_push_gun)then move_y = 3 end while(IsMouseButtonPressed(usp_fire)) do MoveMouseRelative(0,move_y) PressMouseButton(1) usp_speed_end = usp_speed + 10 time_one = math.random(usp_speed,usp_speed_end) Sleep(time_one) ReleaseMouseButton(1) time_two = math.random(usp_speed,usp_speed_end) Sleep(time_two) time_sum = time_sum + time_one + time_two if(time_sum > 300) then move_y = 0 end end end --]] 5、雷神三連發 -- 雷神三連發 ---[[ if (event == "MOUSE_BUTTON_PRESSED" and arg == tree_constant) then -- 下面注意,判斷是否按壓的值和正在按壓的值不同,分別是132和123value --OutputLogMessage("Hello World %d\\n",2007) PressMouseButton(1) Sleep(math.random(178,190)) ReleaseMouseButton(1) Sleep(math.random(45,53)) end end --]] 6、雷神壓槍 -- 雷神壓槍2.0 ---[[ if (event == "MOUSE_BUTTON_PRESSED" and arg == force_gun_m4 and is_open_up) then move_y = 3 --縱向移動坐標 move_x = 0 --橫向移動坐標 time_all = 0 --槍口停止壓槍閥 --last_x_pos = 0 --上次的x坐標 --last_y_pos = 0 --上次的y坐標 --last_x_pos ,last_y_pos = GetMousePosition() --循環壓槍 while(IsMouseButtonPressed(force_gun_m4)) do if (time_all < 60) then --前2發不壓 move_y = 0 end time_one = math.random(7,10) Sleep(time_one) MoveMouseRelative(move_x,move_y) time_two = math.random(7,10) Sleep(time_two) time_all = time_all + time_one + time_two if (time_all > 360) then --達到壓槍閾值縱坐標停止運動 move_y = 0 -- 橫坐標開始運動 --current_x_pos,current_y_pos = GetMousePosition() --獲取當前鼠標坐標 --如果當前鼠標移動,自動像反方向壓槍 else move_y = 3 end end end --]] 7、ak火麒麟壓槍-- AK壓槍 ---[[ if (event == "MOUSE_BUTTON_PRESSED" and arg == force_gun_ak and is_open_up) then move_y = 4 --縱向移動坐標 move_x = 0 --橫向移動坐標 time_all = 0 --槍口停止壓槍閥 --last_x_pos = 0 --上次的x坐標 --last_y_pos = 0 --上次的y坐標 --last_x_pos ,last_y_pos = GetMousePosition() --獲取初始位置 --OutputLogMessage("%d,%d\\n",last_x_pos,last_y_pos) --sum_move_y = 0 --y軸移動全部距離 --循環壓槍 while(IsMouseButtonPressed(force_gun_ak)) do if (time_all < 40) then --單點不壓 move_y = 0 end --time_one = math.random(5,11) --Sleep(time_one) MoveMouseRelative(move_x,move_y) --sum_move_y = sum_move_y + move_y --計算移動后的距離 time_two = math.random(10,22) Sleep(time_two) time_all = time_all + time_two if (time_all > 430) then --達到壓槍閾值縱坐標停止運動 move_y = 0 -- 橫坐標開始運動 --current_x_pos,current_y_pos = GetMousePosition() --獲取當前鼠標坐標 --如果當前鼠標移動,自動像反方向壓槍 else move_y = 4 end end --sum_move_y = 0 - sum_move_y --OutputLogMessage("%d\\n",sum_move_y) --MoveMouseRelative(0,sum_move_y) --位置回執 --last_x_pos ,last_y_pos = GetMousePosition() --獲取初始位置 --OutputLogMessage("%d,%d\\n",last_x_pos,last_y_pos) end --]] ![]() |
隨便看 |
|
哈斯迪拉游戲下載網游戲攻略欄目提供軟件使用教程、手機游戲攻略等方法技巧。