I'm not good with Ahk, so i'm asking you if it's possible to make a script who can change the render distance in game.
exemple:
f1 : render distance = 300
f2 : render distance = 1700
Sorry for my bad english, thanks.
H1Z1 - Render distance.
Re: H1Z1 - Render distance.
Hey
You could do a script that read the games INI/settings file then when you press a key it would change, i don't own the game myself so i don't know if it would work.
UserOptions.ini
RenderDistance=2250.000000
You could do a script that read the games INI/settings file then when you press a key it would change, i don't own the game myself so i don't know if it would work.
UserOptions.ini
RenderDistance=2250.000000
Re: H1Z1 - Render distance.
Ok i see what you are saying, but i don't know how to do that
I'm not good at all with script etc...
Thanks for your answer i'll search around this !
I'm not good at all with script etc...
Thanks for your answer i'll search around this !
Re: H1Z1 - Render distance.
Ok so i have now 2 .ahk file that do :
IniWrite, 450, C:\Program Files (x86)\Steam\steamapps\common\H1Z1 King of the Kill\UserOptions.ini, Rendering, RenderDistance
and
IniWrite, 1900, C:\Program Files (x86)\Steam\steamapps\common\H1Z1 King of the Kill\UserOptions.ini, Rendering, RenderDistance
when i double click on it, it change the UserOptions.
Now i have to find a way to put the ahk1 on "f1" and the ahk2 on "f2".
IniWrite, 450, C:\Program Files (x86)\Steam\steamapps\common\H1Z1 King of the Kill\UserOptions.ini, Rendering, RenderDistance
and
IniWrite, 1900, C:\Program Files (x86)\Steam\steamapps\common\H1Z1 King of the Kill\UserOptions.ini, Rendering, RenderDistance
when i double click on it, it change the UserOptions.
Now i have to find a way to put the ahk1 on "f1" and the ahk2 on "f2".
Re: H1Z1 - Render distance.
This should work and if it doesn't remove the " " around the path.
also you might not need to run it as admin so run the Admin
also you might not need to run it as admin so run the Admin
Code: Select all
IF NOT A_IsAdmin
{
Run *RunAs "%A_ScriptFullPath%"
ExitApp
}
#SingleInstance Force
#Persistent
ini_Path = "C:\Program Files (x86)\Steam\steamapps\common\H1Z1 King of the Kill\UserOptions.ini"
F1::
IniWrite, 450, %ini_Path%, Rendering, RenderDistance
return
F2::
IniWrite, 1900, %ini_Path%, Rendering, RenderDistance
return
Re: H1Z1 - Render distance.
Thanks, it do exactly what i want, but it's not enough to change the render while i'm in game.FloowSnaake9k wrote:This should work and if it doesn't remove the " " around the path.
also you might not need to run it as admin so run the Admin
Code: Select all
IF NOT A_IsAdmin { Run *RunAs "%A_ScriptFullPath%" ExitApp } #SingleInstance Force #Persistent ini_Path = "C:\Program Files (x86)\Steam\steamapps\common\H1Z1 King of the Kill\UserOptions.ini" F1:: IniWrite, 450, %ini_Path%, Rendering, RenderDistance return F2:: IniWrite, 1900, %ini_Path%, Rendering, RenderDistance return
It edit the .ini, but the game have to be restart to take the new ini.
I think it cant work that way
So i did it in click script :
Code: Select all
PgUp::Render600()
Render600(){
BlockInput On
SetDefaultMouseSpeed 0
sendinput {esc}
Sleep 400
MouseClick, left, 959, 523, 1, 1
Sleep 400
MouseClick, left, 990, 505, 1, 1
Sleep 400
MouseClick, left, 895, 833, 1, 1
Sleep 400
sendinput {esc}
BlockInput Off
return
}
PgDn::Render1900()
Render1900(){
BlockInput On
SetDefaultMouseSpeed 0
sendinput {esc}
Sleep 400
MouseClick, left, 959, 523, 1, 1
Sleep 400
MouseClick, left, 1088, 505, 1, 1
Sleep 400
MouseClick, left, 895, 833, 1, 1
Sleep 400
sendinput {esc}
BlockInput Off
return
}
End::Suspend
I don't know if there is another way to do it
Return to “Gaming Scripts (v1)”
Who is online
Users browsing this forum: No registered users and 60 guests