EQEMU NPC SPAWNING TUTORIAL
Creating moving spawns - tutorial 2
This tutorial was written to help those who are confused
with the spawning process. The tutorial relies on my npc and loot editor
which assists you during the spawning and npc creation process. This tool is found on my web page at
-- Spawns this temporary npc at your current loc
#npctypespawn [npctypeid] -- Spawns this temporary npc at your current loc
These two commands work the same for me. Remember, since spawning npc's with these commands creates a npc at your location, they will disappear once you zone out and back. So to make the npc spawn permanent we will use the next command
--Select the npc you just spawned and run this command.
What happens here is that a spawngroup is created with this npc. No copy of the npc_id is made, just a reference to the original.
Say you are spawning newbie skeletons and rats in gfay - you would use these commands to create a virtual reference copy. So if you modify the
original npc skeleton, all referenced skeletons will adopt these changes - since they are all linked. To make a new npc skeleton that is unique perhaps or slightly different from the others, you would make a Real Copy. To make a copy, go to my npc and loot editor and select any skeleton in zone gfaydark and under the tools menu, select create a copy. The copied npc will be assigned a new npc_id which you use to spawn this skeleton using the above commands.
#spawnfix --Selected NPC will respawn to your current loc. Useful for moving npc's around.
#npcspawn delete -- Deletes this NPC FROM THE DB
(ABSOLUTELY GONE FOREVER!)
#npcspawn remove -- Deletes Selected NPC's spawngroup from Current Zone. Makes NPC disappear from zone, but you can respawn the npc again.
--A few uses would be to remove a spawn from a zone, or if you accidentally spawn npc's on top of each other.
In this tutorial we will spawn several Orcs and another
as their leader. Then we will create a new orc using a orc as a template, modify
this new orc and spawn him.
Above -- Using my editor, we select Orc Centurion
npcid:54037. In fact any npc's can be used in any zone, but their texture may
not appear correctly. I know these
exist because they already are found in gfay all around the zone. We will create 3 orcs
Below -- The area in gfay where we will spawn these
npc's. It's best to go to the exact loc, stand at the correct heading (Orcs will
adopt your loc and heading) ,
and type in #npctypespawn 54037. We spawn these in three spots.
Pic. Below - An empty pillar altar grounds, perfect for our spawns
Pic. Below - We start to spawn the orcs...
If your performed the operation correctly, you will have
spawns like the ones shown above. My character is shown where the third orc will
Now, to to make these npc's permanently spawn here, select each one and type in #npcspawn add. Three spawngroups are created. If you run my spawneditor,
you can see this better. Now we spawn the last orc, a leader of the three here - npcid:54198. Do this the same as before.
Now what we have created are three orcs and a leader
called Centurion Relgle. Do you want to change his appearance from texture=1 to
In my npc editor, change texture from 1 to 2, change his hp to 260, his class=2 (cleric), level =11
Then zone in/out and the spawn should look like:
Next, we will make a copy of Relge, a new npc we will call Commander Leg Breaker, a level 15 orc, warrior
In the most recent version, a copy button has been placed where shown below.
A copy was made and this npcid=335056. Hit click on the
OK (above pic) and then we edit his stats. These changes can take a few seconds
to update to your server
You can check your servers refresh interval. Keep it low.
Spawn the npc, #npctypespawn 335056, then select the npc and type in npcspawn add.
And there you have it, custom spawns created for levels ~8-15.
sidenote - #texture n command appears to change the npc texture ok, but #npcspawn update does not appear to make it stick. Rather edit these directly in my editor...