Note that this tutorial IS NOT mapping tutorial. This tutorial shows how to use Nzp coded entities in your own maps. For small mapping tut go here: Nzportable.com
First of all. We need to do small modification to way we compile our maps. With the map develop kit i have included a batch complier. Install that somewhere on your computer. You need zoners hl tools in order to complie your maps. Zhlt.info
NOTE this is not mapping tutorial. You should be familiar with these things. I am not telling you how to do maps etc. Only how the actual entities work.
select make a brush and make it entity called func_door_nzp
speed (default 100) speed of the door
cost: how much it costs
requires power. Door needs power to be activated
item_juggernog: juggernog machine
item_douple: double tap
item_revive: revive soda
item_flopper: (not in current version) phd-flopper
item_pap (not in current version) pack-a-punch machine
Make a brush and make it entity. Call it buy_weapon. When you are touching the brush you can buy weapon.
message: Message when touched if you dont have same weapon
message2: message when you have same weapon
weapon: wich weapon. You can get the weapon ids from weapon number.txt file
cost how much weapon costs
cost2: how much ammo costs
ammo: how much ammo it gives (0 is normal ammount of ammo)
zombie: entity spawn_zombie Location where zombie spawns. There is one toggle in toggles. This when set will make the inactive. It can be activated when something triggers the entity. You can trigger entity by making the spawn_zombie have a name and something (trigger, door) to have target that name. target field is for where zombie goes next when they spawn. IF you dont have any active spawns the rounds dont occur.
hellhounds: entity monster_dog. Same as above
Zombies target: path_corner. Name is the name of entity. Target is the next part of the path. THIS IS NOTH PATHFINDING. Pathfinding will be included in next part because it is done ingame
windows: item_cover. Set name for entity and have a path_corner or zombie have it as target
Power switch: power_switch If this entity is in map all perk machines need power to be used (minus speed cola in sp)
place_model You can use this to place a non solid mdl or spr file anywhere in map. MAKE SURE YOU INCLUDE THIS FILE IF IT IS NOT SUPPLIED WITH GAME OR IT MIGHT CAUSE CRASH. This entity can be used in example to make wall weapons.
There is 4 new spawn entity for clients.
Only one player can be spawned to that point. And if he dies he spawns to his own point. No othergameplay diference (yet)
Thats it for basic part. Happy mapping ;)