Enable god mode in Far Cry

Far Cry screenshot

Far Cry is far and away the most difficult game I have ever played. I tried my best to get through it, but after repeating the same level literally hundreds of times, I decided enough was enough. The story was compelling enough that I wanted to see it through, but I couldn’t stand dying one more time–it was time to turn on god mode.

You would think that accomplishing this would be as simple as typing in a cheat code, but alas that is not the case. You actually have to jump through a few hoops to be able to enable it.

First of all, I am convinced that the Far Cry developers are sadistic–they actually removed the function that lets you turn on god mode in the 1.4 patch, so before you do anything else you have to edit a file in your Far Cry directory to add back in this functionality. Open up Windows Explorer and navigate to the directory where you installed Far Cry and open the file DevMode.lua in a text editor like Notepad. Scroll all the way to the bottom of this file and you should see a line that says end. enter a couple of line breaks after that and then paste this in to the file:

function ToggleGod()
	if (not god) then
		god=1;
	else
		god=1-god;
	end
	if (god==1) then
		System:LogToConsole("God-Mode ON");
	else
		System:LogToConsole("God-Mode OFF");
	end
end
Input:BindCommandToKey("#ToggleGod()","backspace",1);

Save the file and close it.

The next step requires turning on Developer’s mode for the game. Right click your Far Cry shortcut and select properties. In the target line, add -devmode to the end:

Far Cry shortcut properties

Now you can launch the game and enable god mode by pressing backspace. If you did everything correctly, you should now see the word god with a number next to it in the upper left corner of your screen:

Far Cry god mode display
Once that is enabled, you are no longer susceptible to dying. Your health will still decrease, and when it reaches zero, the number next to the god mode display will increment by one, indicating that you have “died” while the mode was enabled.

In case you were wondering, I died about 70 times on the last level.