Impulse commands

Joined
Dec 12, 2004
Messages
1,238
Reaction score
0
Ok, this is my best guess for which forum to post this in but does anyone have a list of what all the impulse commands do?

I know:

Impulse 81 - The cubemap tool thing (!)
Impulse 101 - All weapons

and that's pretty much it actually, i think! :S

I'm sure I read someone saying something about one that tells you what the textures are called, but it could've been for HL1.

Anyway, any help would be good. and if this gets comprehensive enough it could get sticked somewhere maybe!
 
Maybe this'll be of use.

Sir_Shunt said:
Maybe this will help...

Basic Console Commands

Now.. this area will just be console items you can input to make your FPS rise a little.

Items will be listed Command 1/0 . 1/0 means you can toggle it on and off using 1 or 0 respectively.


r_3dsky 1/0 - Turns off the clouds and sky effects. SOME FPS is gained, not a lot though.

r_shadows 1/0 - As far as I know, all it changes is being able to use flashlights. It might disable shadows though.

r_dynamic 1/0 - I believe it disables dynamic water effects... not quite sure. Disable if you don't like the water or there is alot of water and it lags you.

r_lod 1/0 - Not sure...supposedly helps FPS (if someone can test this or I test myself, will update)

This is all I know so far, but they seem to help.

Now for some cheats:
NOTE:You have to enable SV_cheats to use them.

sv_cheats 1/0 (1 to enable cheats, otherwise they don't work)

God - Simple eh? God mode. Invincible.

Buddha - Takes away damage or something..

Noclip - Back from the Quake 1 days... you can fly basically, through walls, floors, doors so forth.

Notarget - Enemies don't know your there, some triggers still happen though, like Antlions popping up or enemies/allies spawning at parts of the map.

Impulse 101 - All weapons, full ammo.

Impulse 102 - Spawns a human skull that just pops out of the sky..

Impulse 82 - Spawns buggy. Fun!

cl_drawhud 1/0 - turns hud display on/off

and now Map

Map - loads a map from the SP campaign.

Maps * - loads a list of maps you can play.



These are just basics... next we start the NPC stuff smile.gif



Advanced Spawning Commands

Finally.. the point of my guide...

This will detail how to spawn all kinds of NPC's such as the ones stated in the beginning.

We start with the command NPC_create. This is the base of all of the spawning. I spent hours figuring out what the base enemies were called so I could spawn them.


NPC_create - creates an NPC...can NOT be used by itself.

NPC_create NPC_(name here) - this is how it is basically used.

NPC_create_aimed - same as the first create command, but the NPC you spawn is aimed away from you.

NPC_create_equipment - this is where you give your NPC's weapons. They can all only use what they use during the game (Pulse rifle, SMG, pistol, RPG, Shotgun). You have to change this to each one when you want spawn enemies with different weapons.

NPC_citizen_auto_player_squad 1/0 - This makes citizens automatically join your squad when you get near them. Cannot be used unless the next command is set to '1'.

NPC_citizen_auto_player_squad_allow_use 1/0 - This HAS to be on to allow the citizens to join you.

NPC_barnacle_Swallow 1/0 - thrown in for laughs..make an NPC go to a barnacle and he will be gibbed biggrin.gif


Now we go to the NPC and weapon lists.


NPC's are always accessible, nomatter what map. So long as you name it correctly, it will spawn.


List of NPC's:

These are used as: npc_create npc_citizen for example, it spawns a citizen at the spot your crosshair is pointed at.

Good guys:

npc_citizen*
npc_antlion* (only good if you have Pheropods, or BugBait)

Bad guys:

npc_combine_s (regular combine soldier)
npc_zombie
npc_headcrab

*NOTE 1: Will attack Antlions. Nomatter what.

*NOTE 2: Will attack anyone but you (ONLY if you have bugbait.) (this includes Citizens.)

NOTE 3: Warning! do not get Bugbait or antlions will sit still like idiots.

I'm trying to get sentry guns, manhacks, and more to spawn but all I got was a strider... which started under the level.

NPC_create_equipment weapons:

weapon_smg1 (normal SMG everyone uses)
weapon_ar2 (pulse rifle)
weapon_pistol (pistol)
weapon_shotgun (shotgun)
weapon_rpg (rocket launcher, they use it against ANYTHING. does not work with Combine)


So, to spawn a citizen that has an RPG, and will follow you:

NPC_citizen_auto_player_squad 1
NPC_citizen_auto_player_squad_allow_use 1
NPC_create_equipment weapon_rpg
NPC_create npc_citizen

Now you have a citizen, with an RPG, that is in your squad. He will follow all orders and shoot to kill.

To bind yourself 4 keys to spawn a Zombie, a Citizen, an Antlion, and a Combine Soldier, use this:

In the console:

Bind M "npc_create npc_zombie"
Bind , "npc_create npc_antlion"
Bind . "npc_create npc_citizen"
Bind / "npc_create npc_combine_s"

(I also wouldn't see why npc_metrocop wouldn't be valid...)
 
Back
Top