Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Important console commands for JBMod
- To bring up the console menu press the tilde key, the key to the left of the 1 key.
- Basic commands every JBModder needs to know:
- Allow cheats for everyone in your game, this command is required to use many other console commands.
- sv_cheats 1 Turn on
- sv_cheats 0 Turn off
- noclip Fly and clip through collisions, requires cheats to be on.
- Use ; to combine multiple commands.
- sv_cheats 1;give weapon_pistol;sv_cheats 0 Will turn on cheats, give you a pistol and then turn cheats off.
- Create a thruster. 0 thrusttime does not mean infinite :(
- ent_create_cannister [thrust 0 - 10,000+] [thrusttime 0 - 10,000+] Create a physics cannister and colorizes it from least to most powerful. Green = 0 Thrust Red = 10,000 Thrust. Example: ent_create_cannister 5000 1000
- Any key can be bound by using the bind command.
- bind [Key] noclip Example bind x noclip Will toggle flying on/off when you press x.
- JBMod exclusive commands:
- phys_gunattract 0 Ability to turn off pellet attraction. Use in combination with phys_gunautoweld 1 for best results.
- phys_gunautoweld 1 in console to force the physgun to automatically weld when it makes contact, this makes welding to ragdolls A LOT easier.
- give weapon_leafblower Gives you the Leafblower weapon, can be used to blow props around.
- leafblower_force Increases the left click blowing force. Default 16
- leafblower_force_multiplier Increases the right click blowing force. Default 4
- leafblower_range Increases the blowing range. Default 512
- Multiplayer commands:
- To use voice chat you need to bind a button in the console. (Replace [key] with any key on your keyboard without the brackets)
- bind [key] +voicerecord While held, activates your microphone for other players to hear you speak in multiplayer
- sv_allowdownload This command sets whether or not clients can download files from the server (e.g. map files)
- sv_allowupload This command sets whether or not clients can upload files to the server (usually customization files).
- Spawn commands:
- ent_create [Entity Name] Spawn an entity https://developer.valvesoftware.com/wiki/List_of_entities
- give [Weapon Name] Add weapon to your arsenal https://developer.valvesoftware.com/wiki/List_of_Source_weapons
- prop_physics_create [Prop Name] Create a prop with physics enabled https://k-roleplay.wixsite.com/hl2-server/prop-list
- impulse 101 Gives player health, all HL2 weapons, and ammo.
- ch_createairboat Spawns a pilotable airboat
- ch_createjeep Spawn a drivable jeep
- Advanced commands:
- ent_create game_text targetname text message "Hello World!" color "255 255 255" holdtime 3 x -1 y -1 spawnflags 1;ent_fire text display Display text in the center of the screen for 3 seconds https://developer.valvesoftware.com/wiki/Game_text
- ent_create ai_relationship targetname newrel subject npc_citizen target !player disposition 1 reciprocal 1 startactive 1 Sets npc_citizens to enemy so you can kill them
- bind [key] ent_fire !picker disablemotion Freezes object
- bind [key] ent_fire !picker enablemotion Unfreeze object
- alias "+cheats" "sv_cheats 1"Allows a specified command to invoke one or several other commands. Aliases will only act for the game session they were defined in. However, keys bound can last if config.cfg is not set to read-only.
- Autoexec A CFG file for launching a game with set convars that will get automatically executed on launch. https://developer.valvesoftware.com/wiki/Autoexec
- unbindall Unbind all keys. Return the default binds in the Options menu.
Advertisement
Add Comment
Please, Sign In to add comment