.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Half-Life 2, Source and Source Games (http://forums.bots-united.com/forumdisplay.php?f=58)
-   -   HL2 spawnable entities (http://forums.bots-united.com/showthread.php?t=3011)

HangFire 20-11-2004 07:28

HL2 spawnable entities
 
Does anyone know what all the spawnable entities (npc_manhack, npc_metropolice etc) are?


I know there is a list over on the http://hl2world.com/ forums, but that site effectively shut itself of to anyone who isn't already a member due to heavy traffic.

@$3.1415rin 20-11-2004 09:36

Re: HL2 spawnable entities
 
look at the SDK ( if it's already completely available ) :D

HangFire 20-11-2004 09:51

Re: HL2 spawnable entities
 
I looked and I don't think that the full SDK is out yet.

TruB 20-11-2004 10:59

Re: HL2 spawnable entities
 
its not..

HangFire 20-11-2004 18:57

Re: HL2 spawnable entities
 
I just figured out the important ones with the command groundlist.


And I figured out how to give guys any piece of equipment in the game. Army of crowbar wielding combine police vs the zombies!

sfx1999 21-11-2004 03:51

Re: HL2 spawnable entities
 
Mind sharing the wealth? I want to spawn an airboat with the gun.

HangFire 21-11-2004 04:36

Re: HL2 spawnable entities
 
For the vehicles:

ch_createjeep
ch_createairboat


NPC spawning:

npc_create_aimed X
npc_create_equipment X

NPC examples:
npc_zombie
npc_combine_s
npc_metropolice
npc_citizen
npc_manhack
npc_fastzombie
npc_poisonzombie
npc_strider
npc_sniper
npc_turret_floor
npc_antlion
npc_headcrab


As for the "npc_create_equipment", you'll need to use this when you spawn certain monsters such as citizens, metropolice, and combine. Type one of these into the console then after each of those monsters that you spawn will be armed with one. Not all weapons work with all monsters.

Example:
"npc_create_equipment weapon_smg"
weapon_ar2
weapon_pistol
weapon_rpg
weapon_crowbar
weapon_shotgun

sfx1999 21-11-2004 23:56

Re: HL2 spawnable entities
 
I spawned Alyx (npc_alyx) with a stunstick (weapon_stunstick). I tried to give myself one, but they only add to your armor.

After I gave her one, I tried to spawn a Combine soldier (npc_combine), but I crashed it. I think it was because I didn't have the Combine soldier precached. With Alyx, I precached her by typing 'give npc_alyx'. She spawned with no weapons, so I spawned a Metro Police officer, killed him, then spawned him with a stunstick, and it had it kill her.

I precached the Metro Police officer and Alyx with the 'give' command, but I didn't do it with the Combine soldier.

Pierre-Marie Baty 22-11-2004 00:41

Re: HL2 spawnable entities
 
can you spawn Alyx with no clothes ? :P

sfx1999 22-11-2004 01:16

Re: HL2 spawnable entities
 
Do not try to spawn an npc_combine; it crashes. I haven't tried npc_combine_s.


All times are GMT +2. The time now is 22:11.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.