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("#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 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() 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 _=999 Hud:AddMessage(": Give 999 ammo") System:LogToConsole("01CHEAT: Give 999 ammo") else Hud:AddMessage(": 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(": Give all weapons") System:LogToConsole("01CHEAT: 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) Īfter you save the a file, start a Far Cry game by adding -devmode at the end of the games's executable and you may use the following hotkeys for cheats:
cl_display_hud = 1 cl_drunken_cam = 0 ThirdPersonView = 0 -p_model = "objects/characters/pmodels/hero/hero.cgf" -Input:BindCommandToKey('#Movie:StopAllCutScenes()',"F7",1) Use a text editor (like Notepad.exe) to open the file and copy all the following contents into the a file (replace all the original contents). Locate the a file in your Far Cry directory. Press '~' to bring up the console and enter these codes:ĭeveloper Mode This involves editting a vital game file, so make a back up of the original file before you attempt the following hack.