Page 1 of 1

Cheat Codes

Posted: Fri Dec 01, 2017 7:32 pm
by draytondavant
Hi All, my question is, can you use manual cheat codes (constole: ` give_item_armor_vest) as an example. We used to be able to do that and / or create keyboard shortcuts to add / give certain items. I recall there used to be the FoC Script as well - would that work with the current version of the game (5.99)?

thank you, and thank you for keeping this game alive - it has always been my favorite.

Re: Cheat Codes

Posted: Sat Dec 02, 2017 11:07 pm
by tschumann
I think it would be give item_armor_vest (after setting sv_cheats to 1 and reloading the map if it's anything like Half-Life).

Re: Cheat Codes

Posted: Tue Dec 05, 2017 3:42 pm
by Rise2Shine
This indeed still works on servers supporting this, or if you set up your own server and enable cheats.
The difference with the 1.1/1.0 version of the game is that there's more settings to customize your server.

sv_cheats 1
sv_cheats 2
sv_cheats 3
sv_cheats 4

(and 0 of course to turn those off). I cannot remember anymore what each setting did, but I am sure you can find that in the server documentation from nightfirepc.com. If you want anything possible, just use sv_cheats 4. And above answer is correct how to use cheats, but you can find most available cheats on Google.

Re: Cheat Codes

Posted: Wed Dec 06, 2017 10:40 pm
by Kenny.tw
sv_cheats 1: impulse 101
sv_cheats 2: impulse 101, item spawning(give), teleportation (goto)
sv_cheats 3: impulse 101, give, goto, notarget, noclip
sv_cheats 4: impulse 101, give, goto, notarget, noclip, god

Some common server commands
sv_maxspeed
sv_friction
sv_gravity
cam_tothirdperson
cam_tofirstperson
sv_grappleanywhere
cl_forwardspeed
cl_backwardspeed
mp_friendlyfire
changelevel (ctf_ dm_ m_)

Item names
Spoiler: show
weapon_taser
weapon_flashgrenade
weapon_pda
weapon_lighter
weapon_smokegrenade
weapon_qworm
weapon_fraggrenade
weapon_minigun
weapon_rocketlauncher
weapon_grenadelauncher
weapon_l96a1
weapon_l96a1_winter
weapon_frinesi
weapon_up11
weapon_pdw90
weapon_commando
weapon_raptor
weapon_kowloon
weapon_mp9
weapon_mp9_silenced
weapon_laserrifle
weapon_pp9
weapon_ronin
weapon_pen
weapon_watch
item_armor_plate
item_armor_vest
item_breakable
item_ctfaccelerator
item_ctfbackpack
item_ctfbase
item_ctfflag
item_ctfportablebattery
item_ctfregeneration
item_ctfspeed
item_drivetarget
item_explosive
item_explosive_planted
item_generic
item_genericfalling
item_grappletarget
item_key
item_lasertarget
item_locktarget
item_longjump
item_model_follow
item_padlock
item_scubasuit
item_security
item_sodacan
item_space_suit
ammo_bondmine
ammo_commando
ammo_darts
ammo_flashgrenade
ammo_fraggrenade
ammo_grenadelauncher
ammo_kowloon
ammo_mini
ammo_mp9
ammo_p99
ammo_pdw90
ammo_pp9
ammo_raptor
ammo_rocketlauncher
ammo_shotgun
ammo_smokegrenade
ammo_sniper
ammo_up11
gadget_nightvision

Re: Cheat Codes

Posted: Fri Dec 08, 2017 5:38 pm
by GaroK
About cheat codes, I wanto to screw around with the noclip, but the commands I put in the console does not work, tried sv_cheats 1, not working.

Re: Cheat Codes

Posted: Sat Dec 09, 2017 6:47 pm
by Rise2Shine
As I and Kenny mentioned, you need to use a different setting than '1'. Try sv_cheats 4.
After using sv_cheats you have to restart the map for it to work. sv_cheats 4 first and then type restart in console.

It should work then!