Posted December 19, 2012
Per my user name sake, here's how you turn off the Hud in Far Cry:
Create the following function in your DevMode.lua file. Make sure to set hudmode=0; at the top of the file (just like in programming class, you have to assign an initial value to it).
So, at the top of the file somewhere you should put:
hudmode=0;
Farther down create the function:
function ToggleHud()
if (hudmode~=0) then
hudmode=0;
hud_disableradar = "1"
hud_fadeamount = "0"
else
hudmode=1;
hud_disableradar = "0"
hud_fadeamount = "1"
end
end
Input:BindCommandToKey("#ToggleHud()","h",1);
Replace "h" with the key of your choice.
If you'd rather disable ALL of the hud (text popups, rifle scopes, crosshairs, etc), create the following function in your DevMode.lua file:
function ToggleAllHud()
if (not cl_display_hud) then
cl_display_hud=1;
else
cl_display_hud=1-cl_display_hud;
end
end
Input:BindCommandToKey("#ToggleAllHud()","n",1);
And, replace "n" with the key of your choice.
Let's make a holster gun option so that you can put your gun away and enjoy the scenery if you want to. Add the following to your DevMode.lua file (in your Far Cry directory).
function Holster()
if (not r_NoDrawNear) then
r_NoDrawNear=1;
else
r_NoDrawNear=1-r_NoDrawNear;
end
end
Input:BindCommandToKey("#Holster()","y",1);
Change the key from "y" to the key of your choice.
When you start the game, press the key you assigned to turn the hud on/off. It may take a few seconds after a load for it to register, so if it doesn't work the first time, wait a few seconds and press the assigned key again.
Now you can play Far Cry without a Hud. I recommend playing with the IronSights mod as well to really make it feel like you're in the game.
Create the following function in your DevMode.lua file. Make sure to set hudmode=0; at the top of the file (just like in programming class, you have to assign an initial value to it).
So, at the top of the file somewhere you should put:
hudmode=0;
Farther down create the function:
function ToggleHud()
if (hudmode~=0) then
hudmode=0;
hud_disableradar = "1"
hud_fadeamount = "0"
else
hudmode=1;
hud_disableradar = "0"
hud_fadeamount = "1"
end
end
Input:BindCommandToKey("#ToggleHud()","h",1);
Replace "h" with the key of your choice.
If you'd rather disable ALL of the hud (text popups, rifle scopes, crosshairs, etc), create the following function in your DevMode.lua file:
function ToggleAllHud()
if (not cl_display_hud) then
cl_display_hud=1;
else
cl_display_hud=1-cl_display_hud;
end
end
Input:BindCommandToKey("#ToggleAllHud()","n",1);
And, replace "n" with the key of your choice.
Let's make a holster gun option so that you can put your gun away and enjoy the scenery if you want to. Add the following to your DevMode.lua file (in your Far Cry directory).
function Holster()
if (not r_NoDrawNear) then
r_NoDrawNear=1;
else
r_NoDrawNear=1-r_NoDrawNear;
end
end
Input:BindCommandToKey("#Holster()","y",1);
Change the key from "y" to the key of your choice.
When you start the game, press the key you assigned to turn the hud on/off. It may take a few seconds after a load for it to register, so if it doesn't work the first time, wait a few seconds and press the assigned key again.
Now you can play Far Cry without a Hud. I recommend playing with the IronSights mod as well to really make it feel like you're in the game.