cod4重制H1mod代码备份......
本帖最后由 ancientdoom 于 2025-6-23 16:33 编辑部分代码S1X是可以通用的
开启控制台~:sv_cheats 1
无敌god
追尾视角camera_thirdPerson 1
Commands Example Cheat Protected IW4x IW6x S1x Description
name name John X ✓ ✓ ✓ Changes your name.名字
unlockstats unlockstats X ✓ ✓ ✓ Unlock everything and rank up.解锁等级
cg_fov cg_fov 90 (Changes FOV to 90) X ✓ ✓ ✓ Manually tweak your desired FOV value.视野
sensitivity sensitivity 1.25 X ✓ ✓ ✓ The command is useful for fine tuning of your desired sensitivity.
intro intro 0 X ✓ X X Enables/Disables the IW4x intro.片头
cg_drawfps cg_drawfps 1 (enables) cg_drawfps 0 (disables) X ✓ ✓ ✓ Displays a FPS counter on-screen.
cl_yawspeed cl_yawspeed 800 X ✓ ✓ ✓ Adjusts the yawspeed (Turn Right/Left) sensitivity.
customtitle customtitle ^1Hello! X ✓ X X Adjusts your title with whatever you want.
com_maxfps com_maxfps "85" X ✓ ✓ ✓ Adjusts the FPS (this is only useful for doing a specific FPS)
r_fullbright r_fullbright 1 X ✓ ✓ ✓ Enable/Disable fullbright.
r_specularCustomMaps r_specularCustomMaps 1 X ✓ X X Enable/Disable specular custom maps.
safeArea_horizontal safeArea_horizontal .5 X ✓ X X Change the horizontal position of the safe area.
safeArea_vertical safeArea_vertical .5 X ✓ X X Change the vertical position of the safe area.
bg_playerCollision bg_playerCollision 1 X ✓ X ✓ Flag whether player collision is on or or off, named g_playerCollision on IW6x and S1x.
bg_playerEjection bg_playerEjection 1 X ✓ X ✓ Flag whether player ejection is on or or off, named g_playerEjection on IW6x and S1x.
connect connect 127.0.0.1:27017 (IPort) X ✓ ✓ ✓ Connect to specified IP and port.
map mp_mapname map mp_afghan X ✓ ✓ ✓ Change the map.
fast_restart fast_restart X ✓ ✓ ✓ Quickly restarts the match.
map_restart map_restart X ✓ X ✓ Fully restart the map.
status status X ✓ ✓ X Display information about the current game and players.
clientkick clientkick 1 X ✓ ✓ X Kicks the player by ID. Use the status command to obtain the client ID.
net_port net_port 28965 X ✓ ✓ ✓ Changes the port your server/game will run on.
camera_thirdPerson camera_thirdPerson 0 ✓ ✓ ✓ ✓ Enables third person mode.追尾视角。。。。。。。。。。。。。。。。。。。。。
cg_chatHeight cg_chatHeight 4 X ✓ ✓ ✓ The size of the chat that can be shown.
cg_draw2D cg_draw2D 0 ✓ ✓ ✓ ✓ Enables/disables the HUD.
ui_drawCrosshair ui_drawCrosshair 0 X ✓ ✓ ✓ Enables/disables the crosshair.
cg_drawGun cg_drawGun 1 ✓ ✓ ✓ ✓ Enables/disables the showing of your gun.
cg_drawPing cg_drawPing 1 X X ✓ ✓ Enables/Disables the ping counter.
drawLagometer drawLagometer 0 X ✓ X X Enables/Disables the lagometer.
cg_fovScale cg_fovScale 1.2 X ✓ ✓ ✓ Manually tweak your desired FOV value. (affects aim fov)瞄准视野
cg_gun_x cg_gun_x X ✓ ✓ ✓ Tweak x value of your gun. (In IW6x the max value is 2)
devmap mp_mapname devmap mp_rust - ✓ X X Change the map and enables cheats.
sv_cheats sv_cheats 1(enables), sv_cheats 0 (disables) - ✓ ✓ ✓ Enable cheats.开秘技。。。。。。。。。。。。。。。。。。。。。。。
developer developer 1 X ✓ ✓ ✓ Enables/Disables developer mode.
g_speed g_speed 300 ✓ ✓ ✓ ✓ Change game speed (requires devmap or sv_cheats 1)
g_gravity g_gravity 300 (gravity is reduced by half) ✓ ✓ ✓ X Change game gravity (requires devmap or sv_cheats 1)
bg_fallDamageMaxHeight / bg_fallDamageMinHeight bg_fallDamageMaxHeight 300 ✓ ✓ X X Changes amount you need to fall to take damage.
noclip noclip ✓ ✓ ✓ X Enables/Disables noclip mode.
ufo ufo ✓ ✓ ✓ ✓ Enables/Disables ufo mode.
god god ✓ ✓ ✓ ✓ Enables/Disables god.无敌。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
jump_height jump_height 1000 ✓ ✓ X ✓ Sets the jump height.
timescale timescale 2 ✓ ✓ X X Sets the scale of time.
r_znear r_znear 0 ✓ ✓ ✓ ✓ See through stuff.
r_fog r_fog 0 ✓ ✓ ✓ ✓ Enable/Disable fog.雾气
sv_hostname sv_hostname "^2Server ^5Name" X ✓ ✓ ✓ Change the hostname of your server/private match.
g_gametype g_gametype gtnw X ✓ ✓ ✓ Change the gametype of your server/private match.
rcon rcon g_speed 200 X ✓ ✓ X Used for managing your server in game.
scr_game_high_jump scr_game_high_jump 0 X X X ✓ Disable the Exo Suits on a dedicated server.
spawnBot spawnBot 18 X ✓ ✓ ✓ Spawns bots into your game.加机器人。。。。。。。。。。。。。。。。。。。。。
disconnect disconnect X ✓ ✓ ✓ Disconnects you from the current game.
reconnect reconnect X ✓ ✓ ✓ Attempts to rejoin the last game you were in.
g_antilag g_antilag 1 X ✓ X X Flag whether Lag Compensation is on or or off.
bg_bounces bg_bounces 1 X ✓ ✓ ✓ Enable Bounces, named pm_bouncing on IW6x and S1x.
sv_allowAimAssist sv_allowAimAssist 0 X ✓ ✓ ✓ Toggle Aim Assist Serverside, named aimassist_enabled on IW6x and S1x.
bg_elevators bg_elevators 0 X ✓ ✓ ✓ Allow Elevators to be used, named g_elevators on S1x and g_enableElevators on IW6x.
bg_rocketJump bg_rocketJump 1 X ✓ X X Enable Rocket Jumps.
bg_bouncesAllAngles bg_bouncesAllAngles 1 X ✓ X X Enable Bouncing from all Angles.
cg_noclip_scaler cg_noclip_scaler 100 ✓ ✓ X X Modify movement speed when in noclip mode.
cg_ufo_scaler cg_ufo_scaler 100 ✓ ✓ X X Modify movement speed when in ufo mode.
player_proneSpeedScale player_proneSpeedScale 100 ✓ ✓ X X Modify movement speed when prone.
player_duckedSpeedScale player_duckedSpeedScale 100 ✓ ✓ X X Modify movement speed when ducking.
rcon_log_requests rcon_log_requests 1 X ✓ X X Serverside setting to log RCON requests.
sv_randomMapRotation sv_randomMapRotation 1 X ✓ X X Serverside setting to randomize the Map Rotation.
sv_allowColoredNames sv_allowColoredNames 0 X ✓ X X Serverside setting to allow players to use colors in their names.
muteClient / unmuteClient / unmuteAll muteClient/unmuteClient / unmuteAll X ✓ X X Serverside command to mute players (text and voice chat).
bg_bulletRange bg_bulletRange 10000 ✓ ✓ X X Increase or decrease Bullet Range.
bg_surfacePenetration bg_surfacePenetration 10 ✓ ✓ X X Increase or decrease Bullet Surface Penetration Depth.
sv_disableChat sv_disableChat 1 X ✓ X X Serverside toggle to enable or disable Text Chat.
addMap addMap mp_rust X ✓ X X Serverside command to add a Map to the Map Rotation.
addGametype addGametype sd X ✓ X X Serverside command to add a Gametype to the Map Rotation.
clanName clanName KEK X ✓ X X Sets your Clan Tag.
sv_voice sv_voice 0 X ✓ X X Serverside toggle to enable or disable Voice Chat.
give give cheytac_mp ✓ ✓ X X Give a specified weapon to the player.
kill kill ✓ ✓ ✓ ✓ Kills the Player.
quit quit X ✓ ✓ ✓ Closes your game.
Singleplayer commands
Cheat Code Effect
give all Get all weapons.
give health Refill the health meter.
god Activate God mode (invincibility).
demigod Activate God mode but the screen still shakes.
noclip Turn off clipping (walk through walls).
notarget Make enemies ignore you.
give ammo Refill your ammo.
jump_height number (Default is 39) Adjust gravity.
timescale number (Default is 1.00) Adjust time.
cg_LaserForceOn 1 Add lasers to all weapons.
cg_drawGun Remove gun.
cg_fov Zoom with any gun.
r_fullbright Turn display to full brightness.
ufo Activate flight mode.
weapon 32 Shoot rifles in automatic mode.
give rpg Get an RPG.
give g3 Get a G3.
give mp5 Get an MP5.
give dragunov Get a Dragunov.
give beretta Get a Beretta.
give usp Get a USP.
give saw Get a SAW.
give m9 Get an M9.
give stinger Get a Stinger.
give javelin Get a Javelin.
toggle cg_drawgun Hide arm and gun to boost the frame rate.
toggle g_entinfo Show scripts over important objects/soldiers.
toggle r_fastsky Remove the sky.
toggle cg_draw2d Remove screen information for a cleaner UI.
toggle r_showtris Activate wire frame mode.
map_restart Restart the current level.
kill Commit suicide.
cmdlist List all console commands.
:loveliness: :loveliness::loveliness:
页:
[1]