Npc Help

  • Thread starter Thread starter Cureless_Poison
  • Start date Start date
C

Cureless_Poison

Guest
ok iv'e been adding Npc's and junk having a little Combine-S's VS. Fast Zombie Army but when i was puting it together i figured WTF! they got no guns i cant figure out how to give my Npc's guns/equipment can any-one help me out here? :cat:
 
to give a combine a weapon type this:

npc_create_equpiment weapon_(WAHT WEAPON YOU WANT THEM TO HAVE);wait; npc_create npc_combine_s
 
weapon_357 -Revolver
weapon_bugbait -Bug Bait
weapon_crossbow -Crossbow
item_dynamic_resupply -Grenade
weapon_crowbar -Crowbar, duh
weapon_smg1 -SMG
weapon_ar2 -Pulse Rifle
weapon_pistol -Pistol
weapon_rpg -Rocket Launcher
weapon_shotgun -Shotgun
weapon_physcannon -Manipulator
 
:cheese: thanks now my troops are kickin ass properly instead of hitting them with their imaginary gun-stocks :p
 
Do you bind keys, it makes things much easier?
 
Yep, binding is fun. Here's the file I use when I want to mess around (not the best, but it will give you some ideas).

Path:
Program Files\Valve\Steam\SteamApps\veazeyt\half-life 2\hl2\cfg

File name:
autoexec.cfg

File:
Code:
sv_cheats 1
cl_ragdoll_collide 1

//BULLET-TIME EFFECTS
bind v "host_timescale .2"
bind b "host_timescale 1"

//UNIQUE
bind l "npc_create_equipment weapon_alyxgun; wait; npc_create npc_alyx"
bind k "npc_create_equipment weapon_smg1; wait; npc_create npc_barney"
bind j "npc_create_equipment weapon_annabelle; wait; npc_create npc_monk"

//OVERWATCH/CIVIL PROTECTION
bind p "npc_create_equipment weapon_smg1; wait; npc_create npc_metropolice"
bind o "npc_create_equipment weapon_pistol; wait; npc_create npc_metropolice"
bind i "npc_create_equipment weapon_ar2; wait; npc_create npc_combine_s"
bind u "npc_create_equipment weapon_shotgun; wait; npc_create npc_combine_s"
bind y "npc_create_equipment weapon_smg1; wait; npc_create npc_combine_s"

//RESISTANCE
bind m "npc_create_equipment weapon_shotgun; wait; npc_create npc_citizen"
bind n "npc_create_equipment weapon_smg1; wait; npc_create npc_citizen"

//XEN
bind h "npc_create npc_vortigaunt"
bind t "npc_create npc_zombie"

//DESTRUCTION OF PROPERTY
bind q "ent_setname kindling; wait; ent_fire kindling explode"  //EXPLODE
bind x "ent_setname kindling; wait; ent_fire kindling ignite" //IGNITE
bind z "ent_remove"


Keep in mind that I may not use the same key combinations, and you could possibly need to go back to your config.cfg to fix any overwrites.
 
Back
Top