Here is my version of a walk script that I have made:
Use it freely, but please ad my credits to the code if re-uploaded or in any way used in other scripts. Just a polite way to say thank you ;)
/*
=== NO MAN'S SKY - REDDIT VERSION V1.0 =======================================================================
=== Author: hugin / hugin_q3 =================================================================================
=== Use freely, but include me in credits if reuploaded, added and/or used together with other code please ===
=== This code is part of a bigger project that will have an Ingame Gui for tweaking setting on the fly =======
*/
;================================================================================================================================================================================== ;=== GLOBAL SETTINGS ============================================================================================================================================================== ;==================================================================================================================================================================================
;======================================= ;=== ASTRONAUT AUTO WALK SCRIPT V.01 === ;=======================================
F1::
if WalkState = 100
WalkState = Off
else
WalkState = 100
SetTimer LetsWalk, %WalkState%
if WalkState = Off
SendInput {w Up}
return
LetsWalk:
SendInput {w Down}
return
;========================================= ;=== ASTRONAUT AUTO SPRINT SCRIPT V.01 === ;=========================================
F2::
if SprintState = 100
SprintState = Off
else
SprintState = 100
SetTimer LetsSprint, %SprintState%
if SprintState = Off
SendInput {w Up}{LShift Up}
return
LetsSprint:
SendInput {w Down}{LShift Down}
return
;================================================== ;=== RELOAD, PAUSE & TERMINATE THE SCRIPT (App) === ;==================================================
; ... Reload Script ...............................
F9::
SoundBeep, 400, 150
Sleep, 75
SoundBeep, 400, 500
Reload
return
; ... Pause App ...................................
F10::
Suspend
Pause, Toggle, 1
if A_IsSuspended = 1
SoundBeep, 250, 750
if A_IsSuspended = 0
SoundBeep, 400, 250
Return
; ... Terminate App ...............................
F11::
{
SoundBeep, 400, 150
Sleep, 75
SoundBeep, 400, 500
Sleep, 75
SoundBeep, 250, 750
ExitApp
}
return