The spawn consists of a few entities and because of the system i implemented you only need one entity to make a spawn point.
First we need to spawn the few entities and set them up:
first spawn a npc_fastzombie and check the flags:
Long visibility
Think outside PVS
Template NPC
Ignore player push
also set it a name of : zombie
and the Next stop destination of: dest
next spawn a npc_template_maker and set it like this:
Start disabled : No
Name of template NPC : zombie
Visible to player? : Dont Care
Distance to player : Nearest
next spawn a ai_scriptedschedule and set it so its like this:
Name : zombie_schedule
Target NPC : zombie
Search radius : 0
All in radius : yes
AI state to set : ALERT
Schedule to run : set enemy to goal entity and run to goal entity
Interruptibility : death
Goal entity : !player
Next spawn a ai_relationship and set it so its like this:
Subject : zombie
Target : !player
Disposition : Hate
Start active : Yes
and set the flag the first flag on
Ok now we have the main workings of the spawning done now we have the actual spawn point to setup its not hard.
ok spawn a info_npc_spawn_destination were you want the zombies to spawn and set it like this:
Name : Spawn
ok thats all XD now we need to enable this on spawn so make a logic_auto and in the output set the entity to enable.
Right thats all but if you have multiple rooms with buyable doors then the spawns behind them doors need to be disabled on map load and enabled when the door is brought. to make extra spawn you only need to use the last entity: info_npc_spawn_destination and rename it.
sorry, what do you mean by rename it, i dont understand?? :(