NPC Spawner virtually allows you to spawn solid, perfect models standing at any point, in any map, very, very, very, VERY, easily.
Code:
/*
_______ ______ _______ ______
(_______|_____ (_______) / _____)
_ _ _____) ) ( (____ ____ _____ _ _ _ ____ _____ ____
| | | | ____/ | \____ \| _ \(____ | | | | _ \| ___ |/ ___)
| | | | | | |_____ _____) ) |_| / ___ | | | | | | | ____| |
|_| |_|_| \______) (______/| __/\_____|\___/|_| |_|_____)_|
|_|
- Remo Williams
|------------------------------------------------------------------------------>..
|--------------------->..Change Log..<----------------------------------------->..
|->..June 10, 2006..<---------------------------------------------------------->..
|------>..Released 1.0..<------------------------------------------------------>..
|------>..Released 1.1..<------------------------------------------------------>..
|------------------------------------------------------------------------------>..
*/
Requirements:
Code:
- Notepad
- Thinking
- Ages 16+
Configuration Files: (npcs_spawnable.ini automatically generated)
Code:
//[NPC Spawner] Format:
//
//[MapName]
//[NPC] X Y Z ANGLE "MODEL"
//[/MapName]
Example file for iburgcity_b3v4:
Code:
[iburgcity_b3v4]
//Bank
[NPC] -49 884 -107 -90 "models/player/gordon/gordon.mdl"
//Gunshop
[NPC] 192 -621 -339 180 "models/player/agent/agent.mdl"
//Carshop
[NPC] 239 -748 -139 0 "models/player/agent/agent.mdl"
//Edeka
[NPC] 1308 952 -11 -90 "models/player/agent/agent.mdl"
[NPC] 1164 1120 -11 180 "models/player/agent/agent.mdl"
//Storage
[NPC] -156 1370 92 0 "models/player/agent/agent.mdl"
//XXX-Bar
[NPC] 224 2726 -131 180 "models/player/agent/agent.mdl"
//Bar
[NPC] -2573 -747 -203 -135 "models/player/agent/agent.mdl"
//Diner
[NPC] -768 -1052 -211 90 "models/player/agent/agent.mdl"
[/iburgcity_b3v4]
Commands: (Privs: OriginInfo=ADMIN_LEVEL_A)
Code:
- amx_origininfo <0-overview/1-save to file> " - Throws current coordinates + angle into an exported file in the logs dir."
So basically,
to add a NPC for mecklenburg_b5 @ point X: 550 Y: 660 Z: 770 Angle: 90 with the player model "agent".
Do this:
Code:
[mecklenburg_b5]
[NPC] 550 660 770 90 "models/player/agent/agent.mdl"
[/mecklenburg_b5]
Simple enough, eh?
Have fun!