It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Post edited August 05, 2010 by vespers
avatar
vespers:
Yes I do try this,:

Find the the DevMode.lua file in your Far Cry directory - move & save a copy of the original & put it somewhere safe like : My Documents as: FC1 - O Dev or something similar. Ues Administor option to give your permission to move,or save , edit the files in the properties menu of your FC Desktop icon, under the compatibility tag - right at the bottom., tick the box.

Now, since you copied the file, there should still be one left in your FC directory so copy and paste into THIS FILE the following text::
cl_display_hud = 1
cl_drunken_cam = 0
ThirdPersonView = 0
--p_model = "objects/characters/pmodels/hero/hero.cgf"

--Input:BindCommandToKey('#Movie:StopAllCutScenes()',"F7",1);
--Input:BindCommandToKey("\\SkipCutScene","F7",1);

-- Developer Cheat keys ---

--- non standard key bindings ---
-- Please NEWER use F9,F10 keys (reserved for debug purposes) (Vlad)

--Input:BindCommandToKey("#SwitchCameraMode()","f1",1);
-- Input:BindCommandToKey("#r_GetScreenShot=1","f12",1); -- this is now bindable
Input:BindCommandToKey("#ToggleAIInfo()","f11",1);

--Input:BindCommandToKey("#ToggleScreenshotMode()","f11",1);

Input:BindCommandToKey("#ToggleNewDesignerMode(10,15,0)","f4",1);

-- to be removed
Input:BindCommandToKey("#GotoNextSpawnpoint()","f2",1);
Input:BindCommandToKey("#MoreAmmo()","o",1);
Input:BindCommandToKey("#AllWeapons()","p",1);
Input:BindAction("SAVEPOS", "f9", "default");
Input:BindAction("LOADPOS", "f10", "default");
Input:BindCommandToKey("#ToggleNewDesignerMode(40,120,1)","f3",1);
Input:BindCommandToKey("#System:ShowDebugger();", "f8", 1);

-- to be removed

-- removed
--Input:BindCommandToKey("#Game.Save()","insert",1);
--Input:BindCommandToKey("#Game.Load()","home",1);
Input:BindCommandToKey("#DefaultSpeed()","f5",1);
Input:BindCommandToKey("#DecreseSpeed()","-",1);
Input:BindCommandToKey("#IncreseSpeed()","=",1);
--Input:BindCommandToKey("#p_single_step_mode=1-p_single_step_mode","[",1);
--Input:BindCommandToKey("#p_do_step=1","]",1);
--Input:BindCommandToKey("#TCM()",".",1);
--Input:BindCommandToKey("#e_hires_screenshoot=4","f10",1);
-- removed


--- temp variables for functions below ---
prev_speed_walk=p_speed_walk;
prev_speed_run=p_speed_run;

prev_speed_walk2=p_speed_walk;
prev_speed_run2=p_speed_run;

default_speed_walk=p_speed_walk;
default_speed_run=p_speed_run;

screenshotmode=0;


function ToggleAIInfo()

if (not aiinfo) then
aiinfo=1;
else
aiinfo=1-aiinfo;
end

if (aiinfo==1) then
ai_debugdraw=1;
ai_drawplayernode=1;
ai_area_info=1;
else
ai_debugdraw=0;
ai_drawplayernode=0;
ai_area_info=0;
end
end

function GotoNextSpawnpoint()

Hud:AddMessage("[NEXT]: next spawn point");

local pt;
pt=Server:GetNextRespawnPoint();

if(not pt)then -- last respawn point or there are no respawn points
pt=Server:GetFirstRespawnPoint(); -- try to get the first one
end

if(pt)then -- if there is one
Game:ForceEntitiesToSleep();

_localplayer:SetPos(pt);
_localplayer:SetAngles({ x = pt.xA, y = pt.yA, z = pt.zA });
end
end

function SetPlayerPos()
local p=_localplayer
p:SetPos({x=100,y=100,z=300});
end

-- replacement for ToggleSuperDesignerMode() and ToggleDesignerMode()
--
-- USAGE:
-- deactivate designer mode: (nil,nil,0)
-- old super designer mode (with collision): (40,120,1)
-- old designer mode (without collision): (10,15,0)
-- change values: call with (nil,nil,0) then with the new values (0.., 0.., 0/1)
--
function ToggleNewDesignerMode( speedwalk, speedrun, withcollide )

if(SuperDesignerMode_Save1~=nil or speedwalk==nil) then
Hud:AddMessage("[CHEAT]: Designer fly mode OFF");

p_speed_walk = SuperDesignerMode_Save1;
p_speed_run = SuperDesignerMode_Save2;
_localplayer.DynProp.gravity = SuperDesignerMode_Save3;
_localplayer.DynProp.inertia = SuperDesignerMode_Save4;
_localplayer.DynProp.swimming_gravity = SuperDesignerMode_Save5;
_localplayer.DynProp.swimming_inertia = SuperDesignerMode_Save6;
_localplayer.DynProp.air_control = SuperDesignerMode_Save7;
_localplayer.cnt:SetDynamicsProperties( _localplayer.DynProp );
SuperDesignerMode_Save1=nil;

-- activate collision, parameter is 0 or 1
_localplayer:ActivatePhysics(1);

else
Hud:AddMessage("[CHEAT]: Designer fly mode ON");

SuperDesignerMode_Save1 = p_speed_walk;
SuperDesignerMode_Save2 = p_speed_run;
SuperDesignerMode_Save3 = _localplayer.DynProp.gravity;
SuperDesignerMode_Save4 = _localplayer.DynProp.inertia;
SuperDesignerMode_Save5 = _localplayer.DynProp.swimming_gravity;
SuperDesignerMode_Save6 = _localplayer.DynProp.swimming_inertia;
SuperDesignerMode_Save7 = _localplayer.DynProp.air_control;

p_speed_walk = speedwalk;
p_speed_run = speedrun;
_localplayer.DynProp.gravity=0.0;
_localplayer.DynProp.inertia=0.0;
_localplayer.DynProp.swimming_gravity=0.0;
_localplayer.DynProp.swimming_inertia=0.0;
_localplayer.DynProp.air_control=1.0;
_localplayer.cnt:SetDynamicsProperties( _localplayer.DynProp );

-- deactivate collision, parameter is 0 or 1
_localplayer:ActivatePhysics(withcollide);
end
end

function ToggleScreenshotMode()

if(screenshotmode~=0) then
System:LogToConsole
("SCREENSHOTMODE OFF-->SWITCH TO NORMAL");
screenshotmode=0;
hud_crosshair = "1"
cl_display_hud = "1"
r_NoDrawNear = "0"
ai_ignoreplayer = "0"
ai_soundperception = "1"
r_DisplayInfo = "1"
else
System:LogToConsole("SCREENSHOTMODE ON");
screenshotmode=1;
hud_crosshair = "0"
cl_display_hud = "0"
r_NoDrawNear = "1"
ai_ignoreplayer = "1"
ai_soundperception = "0"
r_DisplayInfo = "0"
end
end



function DecreseSpeed()

if tonumber(p_speed_walk)>5 then
p_speed_walk=p_speed_walk-5;
p_speed_run=p_speed_run-5;
System:LogToConsole("Decresed player speed by 5");
else
System:LogToConsole("You can not go any slower!");
end
end

function IncreseSpeed()

if tonumber(p_speed_walk)<500 then
p_speed_walk=p_speed_walk+5;
p_speed_run=p_speed_run+5;
System:LogToConsole("Incresed player speed by 5");
else
System:LogToConsole("You can not go any faster!");
end
end

function DefaultSpeed()

p_speed_walk=default_speed_walk;
p_speed_run=default_speed_run;
System:LogToConsole("Player speed reset");
end

function TeleportToSpawn(n)
local player = _localplayer;
local pos = Server:GetRespawnPoint("Respawn"..n);
if pos then
player:SetPos(pos);
player:SetAngles({ x = pos.xA, y = pos.yA, z = pos.zA });
end
end


-- Give the player the passed weapon, load it if neccesary
function AddWeapon(Name)

Game:AddWeapon(Name)
for i, CurWeapon in WeaponClassesEx do
if (i == Name) then
_localplayer.cnt:MakeWeaponAvailable(CurWeapon.id);
end
end
end


function MoreAmmo()

if _localplayer then
_localplayer.cnt.ammo=999;
Hud:AddMessage("[CHEAT]: Give 999 ammo");
System:LogToConsole("\001CHEAT: Give 999 ammo");
else
Hud:AddMessage("[CHEAT]: no ammo today");
end
end

function AllWeapons()

AddWeapon("AG36");
AddWeapon("Falcon");
AddWeapon("SniperRifle");
AddWeapon("MP5");
AddWeapon("RL");
AddWeapon("Shotgun");
AddWeapon("OICW");
AddWeapon("P90");
AddWeapon("M4");

_localplayer.cnt:GiveBinoculars(1);
_localplayer.cnt:GiveFlashLight(1);

Hud:AddMessage("[CHEAT]: Give all weapons");
System:LogToConsole("\001CHEAT: Give All weapons");
end

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);

.............................................................................................................. ..............
At the prompt hit "Confirm" or "Yes" to allow the changes.
.............................................................................................................. ..............

Lastly, right click on your FC desktop icon to change the target line of it , via properties, to read exactly like this, providing you made your install here:

"C:\Program Files\Ubisoft\Crytek\Far Cry\Bin32\FarCry.exe" -devmode

Otherwise the line can be altered to suit where you installed your game to. For example,
if you've bought & downloaded the GOG.com version of Far Cry then your desk top icons target line should now look like this:

"C:\Program Files\GOG.com\Far Cry\Bin32\FarCry.exe" -devmode

Well, that's it except , if you press the letter O in game it gives you ammo, while pressing the letter p in game gives you all weapons. Hope this helps! :)

To enable god mode hit : BACKSPACE when in game.

Now start the game & enjoy! :)

Let me know if this works for you &/or if you need any further assistance.
Post edited January 15, 2011 by Ubergurl1
Ubergurl1 - Thank you very much for your thoughtful and thorough advice. Your primer was just what I needed!
Post edited February 19, 2011 by vespers
avatar
vespers: Ubergurl1 - Thank you very much for your thoughtful and thorough advice. Your primer was just what I needed!
That's great - I'm so glad I could help & you're most welcome mate.

btw: if you haven't figured it out already, then press F3 in game to activate fly mode. Be aware though that sometimes it can cause problems later on & that it also give the mercs & monsters flying capabilities too. But it sure does make the game a lot more fun, especially for sniping from high & hidden places. Be careful not to stray too far though or the unkillable chopper will come out of nowhere.
Post edited October 04, 2011 by Ubergurl1
Hey vespers, have you tried the following mods yet?

contest island invasion
the suvivor update
outpost 22
farmer jack 1 & 2
massive attack (latest Version)
di-tower
ascent
crazy beach

give them a go & let me know how you go, any probs with running or installing any of them let me know. Keep in mind though that some mods for Far Cry 1 don't allow God Mode, which makes it more of a challenge to finish them yes, but not entirely impossible either mate. :)
avatar
vespers:
avatar
Ubergurl1: Yes I do try this,:

Find the the DevMode.lua file in your Far Cry directory - move & save a copy of the original & put it somewhere safe like : My Documents as: FC1 - O Dev or something similar. Ues Administor option to give your permission to move,or save , edit the files in the properties menu of your FC Desktop icon, under the compatibility tag - right at the bottom., tick the box.

Now, since you copied the file, there should still be one left in your FC directory so copy and paste into THIS FILE the following text::
cl_display_hud = 1
cl_drunken_cam = 0
ThirdPersonView = 0
--p_model = "objects/characters/pmodels/hero/hero.cgf"

--Input:BindCommandToKey('#Movie:StopAllCutScenes()',"F7",1);
--Input:BindCommandToKey("\\SkipCutScene","F7",1);

-- Developer Cheat keys ---

--- non standard key bindings ---
-- Please NEWER use F9,F10 keys (reserved for debug purposes) (Vlad)

--Input:BindCommandToKey("#SwitchCameraMode()","f1",1);
-- Input:BindCommandToKey("#r_GetScreenShot=1","f12",1); -- this is now bindable
Input:BindCommandToKey("#ToggleAIInfo()","f11",1);

--Input:BindCommandToKey("#ToggleScreenshotMode()","f11",1);

Input:BindCommandToKey("#ToggleNewDesignerMode(10,15,0)","f4",1);

-- to be removed
Input:BindCommandToKey("#GotoNextSpawnpoint()","f2",1);
Input:BindCommandToKey("#MoreAmmo()","o",1);
Input:BindCommandToKey("#AllWeapons()","p",1);
Input:BindAction("SAVEPOS", "f9", "default");
Input:BindAction("LOADPOS", "f10", "default");
Input:BindCommandToKey("#ToggleNewDesignerMode(40,120,1)","f3",1);
Input:BindCommandToKey("#System:ShowDebugger();", "f8", 1);

-- to be removed

-- removed
--Input:BindCommandToKey("#Game.Save()","insert",1);
--Input:BindCommandToKey("#Game.Load()","home",1);
Input:BindCommandToKey("#DefaultSpeed()","f5",1);
Input:BindCommandToKey("#DecreseSpeed()","-",1);
Input:BindCommandToKey("#IncreseSpeed()","=",1);
--Input:BindCommandToKey("#p_single_step_mode=1-p_single_step_mode","[",1);
--Input:BindCommandToKey("#p_do_step=1","]",1);
--Input:BindCommandToKey("#TCM()",".",1);
--Input:BindCommandToKey("#e_hires_screenshoot=4","f10",1);
-- removed

--- temp variables for functions below ---
prev_speed_walk=p_speed_walk;
prev_speed_run=p_speed_run;

prev_speed_walk2=p_speed_walk;
prev_speed_run2=p_speed_run;

default_speed_walk=p_speed_walk;
default_speed_run=p_speed_run;

screenshotmode=0;

function ToggleAIInfo()

if (not aiinfo) then
aiinfo=1;
else
aiinfo=1-aiinfo;
end

if (aiinfo==1) then
ai_debugdraw=1;
ai_drawplayernode=1;
ai_area_info=1;
else
ai_debugdraw=0;
ai_drawplayernode=0;
ai_area_info=0;
end
end

function GotoNextSpawnpoint()

Hud:AddMessage("[NEXT]: next spawn point");

local pt;
pt=Server:GetNextRespawnPoint();

if(not pt)then -- last respawn point or there are no respawn points
pt=Server:GetFirstRespawnPoint(); -- try to get the first one
end

if(pt)then -- if there is one
Game:ForceEntitiesToSleep();

_localplayer:SetPos(pt);
_localplayer:SetAngles({ x = pt.xA, y = pt.yA, z = pt.zA });
end
end

function SetPlayerPos()
local p=_localplayer
p:SetPos({x=100,y=100,z=300});
end

-- replacement for ToggleSuperDesignerMode() and ToggleDesignerMode()
--
-- USAGE:
-- deactivate designer mode: (nil,nil,0)
-- old super designer mode (with collision): (40,120,1)
-- old designer mode (without collision): (10,15,0)
-- change values: call with (nil,nil,0) then with the new values (0.., 0.., 0/1)
--
function ToggleNewDesignerMode( speedwalk, speedrun, withcollide )

if(SuperDesignerMode_Save1~=nil or speedwalk==nil) then
Hud:AddMessage("[CHEAT]: Designer fly mode OFF");

p_speed_walk = SuperDesignerMode_Save1;
p_speed_run = SuperDesignerMode_Save2;
_localplayer.DynProp.gravity = SuperDesignerMode_Save3;
_localplayer.DynProp.inertia = SuperDesignerMode_Save4;
_localplayer.DynProp.swimming_gravity = SuperDesignerMode_Save5;
_localplayer.DynProp.swimming_inertia = SuperDesignerMode_Save6;
_localplayer.DynProp.air_control = SuperDesignerMode_Save7;
_localplayer.cnt:SetDynamicsProperties( _localplayer.DynProp );
SuperDesignerMode_Save1=nil;

-- activate collision, parameter is 0 or 1
_localplayer:ActivatePhysics(1);

else
Hud:AddMessage("[CHEAT]: Designer fly mode ON");

SuperDesignerMode_Save1 = p_speed_walk;
SuperDesignerMode_Save2 = p_speed_run;
SuperDesignerMode_Save3 = _localplayer.DynProp.gravity;
SuperDesignerMode_Save4 = _localplayer.DynProp.inertia;
SuperDesignerMode_Save5 = _localplayer.DynProp.swimming_gravity;
SuperDesignerMode_Save6 = _localplayer.DynProp.swimming_inertia;
SuperDesignerMode_Save7 = _localplayer.DynProp.air_control;

p_speed_walk = speedwalk;
p_speed_run = speedrun;
_localplayer.DynProp.gravity=0.0;
_localplayer.DynProp.inertia=0.0;
_localplayer.DynProp.swimming_gravity=0.0;
_localplayer.DynProp.swimming_inertia=0.0;
_localplayer.DynProp.air_control=1.0;
_localplayer.cnt:SetDynamicsProperties( _localplayer.DynProp );

-- deactivate collision, parameter is 0 or 1
_localplayer:ActivatePhysics(withcollide);
end
end

function ToggleScreenshotMode()

if(screenshotmode~=0) then
System:LogToConsole
("SCREENSHOTMODE OFF-->SWITCH TO NORMAL");
screenshotmode=0;
hud_crosshair = "1"
cl_display_hud = "1"
r_NoDrawNear = "0"
ai_ignoreplayer = "0"
ai_soundperception = "1"
r_DisplayInfo = "1"
else
System:LogToConsole("SCREENSHOTMODE ON");
screenshotmode=1;
hud_crosshair = "0"
cl_display_hud = "0"
r_NoDrawNear = "1"
ai_ignoreplayer = "1"
ai_soundperception = "0"
r_DisplayInfo = "0"
end
end

function DecreseSpeed()

if tonumber(p_speed_walk)>5 then
p_speed_walk=p_speed_walk-5;
p_speed_run=p_speed_run-5;
System:LogToConsole("Decresed player speed by 5");
else
System:LogToConsole("You can not go any slower!");
end
end

function IncreseSpeed()

if tonumber(p_speed_walk)<500 then
p_speed_walk=p_speed_walk+5;
p_speed_run=p_speed_run+5;
System:LogToConsole("Incresed player speed by 5");
else
System:LogToConsole("You can not go any faster!");
end
end

function DefaultSpeed()

p_speed_walk=default_speed_walk;
p_speed_run=default_speed_run;
System:LogToConsole("Player speed reset");
end

function TeleportToSpawn(n)
local player = _localplayer;
local pos = Server:GetRespawnPoint("Respawn"..n);
if pos then
player:SetPos(pos);
player:SetAngles({ x = pos.xA, y = pos.yA, z = pos.zA });
end
end

-- Give the player the passed weapon, load it if neccesary
function AddWeapon(Name)

Game:AddWeapon(Name)
for i, CurWeapon in WeaponClassesEx do
if (i == Name) then
_localplayer.cnt:MakeWeaponAvailable(CurWeapon.id);
end
end
end

function MoreAmmo()

if _localplayer then
_localplayer.cnt.ammo=999;
Hud:AddMessage("[CHEAT]: Give 999 ammo");
System:LogToConsole("\001CHEAT: Give 999 ammo");
else
Hud:AddMessage("[CHEAT]: no ammo today");
end
end

function AllWeapons()

AddWeapon("AG36");
AddWeapon("Falcon");
AddWeapon("SniperRifle");
AddWeapon("MP5");
AddWeapon("RL");
AddWeapon("Shotgun");
AddWeapon("OICW");
AddWeapon("P90");
AddWeapon("M4");

_localplayer.cnt:GiveBinoculars(1);
_localplayer.cnt:GiveFlashLight(1);

Hud:AddMessage("[CHEAT]: Give all weapons");
System:LogToConsole("\001CHEAT: Give All weapons");
end

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);

.............................................................................................................. ..............
At the prompt hit "Confirm" or "Yes" to allow the changes.
.............................................................................................................. ..............

Lastly, right click on your FC desktop icon to change the target line of it , via properties, to read exactly like this, providing you made your install here:

"C:\Program Files\Ubisoft\Crytek\Far Cry\Bin32\FarCry.exe" -devmode

Otherwise the line can be altered to suit where you installed your game to. For example,
if you've bought & downloaded the GOG.com version of Far Cry then your desk top icons target line should now look like this:

"C:\Program Files\GOG.com\Far Cry\Bin32\FarCry.exe" -devmode

Well, that's it except , if you press the letter O in game it gives you ammo, while pressing the letter p in game gives you all weapons. Hope this helps! :)

To enable god mode hit : BACKSPACE when in game.

Now start the game & enjoy! :)

Let me know if this works for you &/or if you need any further assistance.
I tried everything and f3 it doesn't work at all. >:(
I've had such trouble with DevMode.lua's. I got the Far Cry game from GOG with it's included DevMode.lua and the god mode backspace key did not work. the o and p keys worked for ammo and weapons. I copy and pasted this one here into a new Devmode.lua and everything worked fine. I tried one from IGN that supposedly added some stuff and it cheats didn't work at all. And yes all were started in game with -devmode. I loaded a FCam mod and the cheats didn't work with that one either. Seems like these devmode.lua's are hit or miss. At least the ones I tried were.
Post edited October 05, 2019 by MikeLyno
If you want save and load ant time, you can.
Use ~ write: \save_game savename
\load_game savename
Post edited February 11, 2020 by tiamaria83
so can anyone translate this into english for those of us that dont speak code? :(
Bummer. This does not work.
I have GOG 1.4 with FCAM as a mod, copied this to Notepad and saved as Devmode.lua, placed it in the proper FC folder (with bin32, etc), and nothing.
Sadly this also does NOT work for me. Win10 64bit, FC 1.4, -devmode on the launch icon, blah blah blah.......nothing works.
avatar
shoboy: Sadly this also does NOT work for me. Win10 64bit, FC 1.4, -devmode on the launch icon, blah blah blah.......nothing works.
nothing has every worked for me either on W-10 64 bit. Did you ever figure it out ?
avatar
shoboy: Sadly this also does NOT work for me. Win10 64bit, FC 1.4, -devmode on the launch icon, blah blah blah.......nothing works.
avatar
ericguy2011: nothing has every worked for me either on W-10 64 bit. Did you ever figure it out ?
Nope. Never got them to work at all.
avatar
ericguy2011: nothing has every worked for me either on W-10 64 bit. Did you ever figure it out ?
avatar
shoboy: Nope. Never got them to work at all.
Same as me, Win 11, widescreen fix community patch.
I want to bump this thread

I've tried every fix I can find online and absolutely nothing seems to work. The console commands to skip levels work but god mode (the only one I'm interested in) and anything else with devmode doesn't work

I am getting killed so much the game is nearly unplayable for me. Yes, I'm playing it on easy...