11-19-2004, 02:03 AM
|
#1 (permalink)
|
|
is on the 5th circle: Wrath & Sullenness
Join Date: Oct 2003
Location: North Carolina
Posts: 1,152
Hellbux: 18,648
|
Well..many have played through the game, and seeing as alot of people dislike CS:Source because it's just too overplayed and loved, all they have is HL 2's single player mode.
By no means is this mode bad, I found the story very nice.. the ending was nice, and the game seemed to drag on and had PLENTY of exciting moments (the airboat...the striders... so forth..) but after beating it on Hard or Normal, you pretty much know the game now.
This is a guide to spawning many of the NPC's that litter the world. From Antlions to Zombies, to Headcrabs and Combine, I'll detail how to spawn each of these, to make many battles that you might want to set up.. this is something I spent some hours figuring out with the 'beta'.
Additions:
Original: Guide Started
Update 1: HL 2 DM comments added at the very end, new list of NPC's thanks to Inty
Update 2: 50+ Console commands added.
Update 2.5: Color coding! Lighter blue is cheats and specific easy commands. Dark BlueBlue is Basic Console Commands Green is NPC's and listings and Red is
Half Life 2 DM commands
Update 3.0: Added some very very cool server modification commands to the HL2 DM area 
Update 4.0: Added links to VERY COOL mods that let you do these NPC spawns, as well as MANY MANY other cool things. Purple is the color for the links, at the very bottom.
EDIT: I added a section on HL 2 Deathmatch commands (it will be updated again soon) and a list of other npcs.
EDIT 2: I added at LEAST 50+ commands to the list, right before NPC's
Learning the Console
Simply, the console is used to change alot of game values and do some cheats... change settings etc.. It lists alot of what you do (mainly saving and whatever you do in the console).
To enable the console, go to the Main Menu OR press ESC to go to the pause menu, then go to Options, Keyboard, Advanced and click Developer Console
This allows you to press ~ (Tilde) to open the console. Many should be familiar with this.
Now, whenever in-game or in the menu, just press ~ to open the console. This also pauses the game.
Whenever you type anything in the console box, it will list things based on the letter or series of letters you input, these listings are basically what start with whatever you typed. EXAMPLE:
I type R.
It lists R_3dnow, R_3dsky 1, so forth. You can scroll through these by pressing up and down, this way you can look for something easily.
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 (Supposedly it changes the 'level of detail' but to no effect.)
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!
Impulse 83 - Spawns Air-Boat.
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.
Now, for a large list of things you can modify!
sk_plr_dmg_357 # # is new damage value for .357 Magnum
sk_plr_dmg_crossbow # # is new damage value for crossbow
sk_plr_dmg_crowbar # # is new damage value for crowbar
sk_plr_dmg_grenade # # is new damage value for grenades
sk_plr_dmg_pistol # # is new damage value for pistol
sk_plr_dmg_ar2 # # is new damage value for Pulse Rifle
sk_plr_dmg_rpg_round # # is new damage value for RPG rockets
sk_plr_dmg_buckshot # # is new damage value for shotgun
sk_plr_dmg_smg1_grenade # # is new damage value for SMG grenades
sk_plr_dmg_smg1 # # is new damage value for submachine gun
sk_max_357 # # is new max ammo for .357 Magnum
sk_max_crossbow # # is new max ammo for crossbow
sk_max_grenade # # is new max ammo for hand grenades
sk_max_pistol # # is new max ammo for pistol
sk_max_ar2 # # is new max ammo for Pulse Rifle
sk_max_ar2_altfire # # is new max ammo for Pulse Rifle energy orbs
sk_max_rpg_round # # is new max ammo for RPG
sk_max_buckshot # # is new max ammo for shotgun
sk_max_smg1_grenade # # is new max ammo for SMG grenades
sk_max_smg1 # # is new max ammo for submachine gun
sk_max_smg1 # # is new max ammo for submachine gun
net_graph 1 Thorough detail of FPS
viewmodel_fov # Adjusts size of the weapon you're carrying (54 = default)
cl_showpos 1 brings up position display in top right of screen (0 removes it)
getpos can be used to get current coords for use with setpos
air_density # Change the density of air. (Add number in place of #)
Hurtme # Damages player by whatever variable you input as #
+mlook Enables mouse look
cl_ragdoll_collide 1 Enables ragdolls that don't clip through each other, but stack realistically on one another.
exec # Execute a script file (Input filename in place of #)
firstperson First Person View
sv_infinite_aux_power 1 gives infinite power for sprinting, etc.
sk_plr_num_shotgun_pellets # Increases pellets fired from each shotgun shell. 100 works well. 1000+ and it lags.
mat_numtextureunits # Limit the number of texture units. (Add number in place of #) (0=Default)
setpos Move player to specified origin
mat_fullbright 1 removes all shadows (a 0 restores them)
impulse 203 removes the item or NPC pointed at
help $ replace $ with a command to get a brief description of it
sv_gravity # Set Gravity (Add number in place of #)
dsp_explosion_effect_duration # Set length of confusion/ear-ringing effect(Add number in place of #)
sv_stopspeed # Set Minimum Stopping Speed on ground (Add number in place of #)
sv_waterdist # Set Vertical View when eyes are near water plane.
sv_friction # Set World Friction (Add number in place of #)
sv_bounce # Sets bounce multiplier for physically simulated object collisions
Developer # Sets developer mode to on/off/verbose (0-off, 1-on, 2-verbose)
sv_maxvelocity # Sets Maximum Velocity of any moving object (Add number in place of #)
status Shows some game info, including current map
setang Snap players eyes to a specified pitch yaw
thirdperson Third Person View
prop_debug Toggle bounding-boxes debug mode on/off red - ignore damage, white - respond to damage, green - health)
cl_drawhud 1 Toggle HUD display On
cl_enablehud 1 Toggle HUD display On
sv_soundemitter_filecheck Toggle reporting missing .wav files for sounds
ai_disable Toggles enemy AI on/off
picker Toggles Picker mode on
sv_unlockedchapters # Unlocks chapters 1 through # (15 is end credits)
Next: NPC's!
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 
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! Antlions that spawn on the beach levels (the natural, out of the ground ones), will be stupid, and not attack anything, or even follow you. The ones you spawn will be aggressive towards all (including you, with or without bugbait). Thanks to Tonysic for clearing this up!
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"
If you can't use one of those keys or want to rebind to somewhere just change the letter or whatever to something that you would like.
Now, all you have to do is point, press, and they are spawned. All NPC's have logic and AI instantly built into them, so they do all the soldiers in SP do, or Antlions, so forth. (NOTE: 90% of the time they will just stand in place, unless they are following you, then they act like you're squad.)
Here is a list by Inty that lists 95% of all the npc's. Atleast the common ones. Next to their name I will list the guns they can use.
give npc_barney (Pistol, SMG)
give npc_mossman (nothing)
give npc_breen (nothing)
give npc_alyx (Alyxgun)
give npc_gman (nothing?)
give npc_eli (nothing)
give npc_dog (nothing)
give npc_vortigaunt (nothing?)
give npc_citizen (Pistol, SMG, RPG, AR, Shotgun)
give npc_zombie
give npc_fastzombie
give npc_poisonzombie
give npc_headcrab
give npc_headcrab_black (poison one)
give npc_barnacle (might cause crash)
give npc_antlion
give npc_strider
give npc_helicopter
give npc_metropolice (can use Pistol)
give npc_combine_s (Pistol, SMG, AR, Shotgun)
give npc_combinegunship
give npc_manhack
give npc_csscanner
npc_crow (doesnt fly)
npc_seagull (doesnt fly)
npc_barnacle_tongue_tip (untried)
Half Life 2 Deathmatch usability
I recently found out you can spawn any of these NPC's inside a multiplayer game (only if sv_cheats is set to 1 though)
They have no ai, but you can give them a gun and they just spin around to look at you, nothing more.
Impulse 101 also works, as it gives you full ammo for every weapon and nothing more.
Nothing too special, but funny no doubt.
Gravity Cannon for Server Hosts:
Physcannon_maxforce - The maximum force it can shoot an object. The lighter the object, the harder it shoots.
Physcannon_minforce - The minimum force it can shoot an object. Nomatter what, it shoots this fast.
Physcannon_tracelength - The distance it can pull objects from.
Physcannon_maxmass - How heavy of objects can be picked up. Change to 20+ thousand and you can pick up cars.
Physcannon_pullforce - How fast it pulls things to you. DO NOT set higher then 2x it's original amount (about 4000 is default) or alot of things will fly and crush you.
Phys_pushscale - How much objects are affected by gunshots. Default is 1 but make it 100 and anything will fly
Mod Links
Garry's Mod V7a - Half Life 2
Garry's Mod lets you spawn NPC's with AI, Weapons, and more with the click of a few buttons. Also, you can do things like shape ragdolls, change the body of people to look like water or glass, spawn any object in the game, and attach balloons to things. The list goes on.
Garry's Mod V7a Counter Strike Source
This is the CSS version, it lets you use T and CT models, guns, and other items and levels in CSS. Works with HL2 version too.
Strider 0.2.75
This lets you spawn and pilot Striders, Combine APCs, Gunships, Helicopters, and even an Antlion Guard (the huge one)!
More to come!
Copyright 2004 by Rhett (Patrick L. Moore) (Rhett816@gmail.com to contact) Until notified and accepted, this guide cannot be directly posted onto another site. Links to this guide are alright, but posting this without my permission opens up some possibilities (lawsuits etc) so... be nice!
|
|
|
11-20-2004, 07:06 PM
|
#2 (permalink)
|
|
is on the 1st circle: Limbo
Join Date: Nov 2004
Posts: 2
Hellbux: 330
|
hey thanks i have been trying to figure this stuff out too. heres alist of npc's you can spawn. i havnt been able to figure them all out though ! p.s for the striders and choppers etc noclip and go in the air so they dont spawn underground
give npc_barney
give npc_mossman
give npc_breen
give npc_alyx
give npc_gman
give npc_eli
give npc_dog
give npc_vortigaunt
give npc_citizen (spawns random citizens)
give npc_zombie
give npc_fastzombie
give npc_poisonzombie
give npc_headcrab
give npc_headcrab_black (poison one)
give npc_barnacle (might cause crash)
give npc_antlion
give npc_strider
give npc_helicopter
give npc_metropolice (no weapon)
give npc_combine_s
give npc_combinegunship
give npc_manhack
give npc_csscanner
npc_crow (doesnt fly)
npc_seagull (doesnt fly)
npc_barnacle_tongue_tip (untried)
|
|
|
11-21-2004, 01:21 AM
|
#3 (permalink)
|
|
is on the 5th circle: Wrath & Sullenness
Join Date: Oct 2003
Location: North Carolina
Posts: 1,152
Hellbux: 18,648
|
1: you don't type "give" that makes it crash the game, its npc_create
2: metropolice doesn't work (tried it before you posted it)
either ways, nice to have help.
|
|
|
11-21-2004, 02:12 PM
|
#4 (permalink)
|
|
is on the 1st circle: Limbo
Join Date: Nov 2004
Posts: 2
Hellbux: 330
|
you can use give if you use noclip , also metropolice work fine for me , with various weapons
i have made guide to mini-modding (distributed save files) as there starting to take off over at hlfallout and thanked you in the thread. i wil post a link to here this thread also. there is an updated npc list now wich is close to complete.
http://www.hlfallout.net/forums/index.php?...showtopic=22029
|
|
|
11-21-2004, 08:16 PM
|
#5 (permalink)
|
|
is on the 5th circle: Wrath & Sullenness
Join Date: Jun 2004
Posts: 1,944
Hellbux: 20,233
|
Nice work from both of you Rhett & inty keep it coming! :thumbup:
__________________

SOTW4 & SOTW TAG-TEAM WINNER / The empires of the future are the empires of the mind.
|
|
|
11-22-2004, 02:01 AM
|
#6 (permalink)
|
|
is on the 6th circle: Heresy
Join Date: Aug 2004
Posts: 2,665
Hellbux: 38,112
|
A note their Rhett. the lr_lod command has more options then 0 and 1.. id guess between 0 and 3 at the least. lod stands for level of detail, basically where textures start bluring, where things lose detail, and at what distance.. I haven't played with it yet.. but ill post that asap, So you can adjust performance vs quality. Doesn't seem to work though.
I know mine set itself to -1. so its probably -1 for highest quality, 1 for lowest quality.
Doesn't seem to work noticablly though.
__________________

P4 Northwood 2.8Ghz 800Mhz FSB, i875P, 1.5gb DDR400, Radeon 9800(R350)
Aquamark3 Score: 47,825
Steam, Xfire: Sepht
You need at least 1 server (you know, the black ones) -Cowgoboom
Sepht do you take pride in making others Feel... How should i say this... Retarded? -Silent Archer
|
|
|
11-22-2004, 12:11 PM
|
#7 (permalink)
|
|
is on the 5th circle: Wrath & Sullenness
Join Date: Oct 2003
Location: North Carolina
Posts: 1,152
Hellbux: 18,648
|
All I did was get it from a beta command list (only one though, figured it did something though.)
And thanks Inty!
|
|
|
11-24-2004, 11:55 AM
|
#8 (permalink)
|
|
is on the 3rd circle: Gluttony
Join Date: Oct 2003
Posts: 456
Hellbux: 7,914
|
I've tried spawning characters but when I do they spawn right where I'm standing. then I can't move. For instance I typed in, "give npc_gman" then I would find myself inside him unable to move. what can I do about this?
__________________
|
|
|
11-24-2004, 12:01 PM
|
#9 (permalink)
|
|
is on the 5th circle: Wrath & Sullenness
Join Date: Oct 2003
Location: North Carolina
Posts: 1,152
Hellbux: 18,648
|
I put in the guide specifically how to spawn them.. its not Give its NPC_Create...
Give makes them spawn inside of you, making you use noclip.
|
|
|
11-25-2004, 08:59 AM
|
#10 (permalink)
|
|
is on the 5th circle: Wrath & Sullenness
Join Date: Oct 2003
Location: North Carolina
Posts: 1,152
Hellbux: 18,648
|
Wow.. 2,000 views within two weeks..... nice!
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
Powered by vBulletin Copyright 2000 - 2008, Jelsoft Enterprises Ltd
Template-Modifikationen durch TMS
|