PDA

View Full Version : MWM's Tutorial: Adding Spawns To Zones (Correct Commands)


mwmdragon
06-01-2003, 03:34 PM
Ok, I know I am a Newbie here but I own NeverQuest for Neverwinter nights and have spent many a night dreaming of playing EQ on my lan. Now I can do it, so I want to give back to the community that gave me what I wanted.


-= Start of Tutorial =-

You will need to be logged in as a GM fo this.
You can only spawn mobs that have models in the zones.

Not all zones support all monsters. If you pick a mob that does not exsist in the zone you will get a human model.

1) Walk to the location you want the mob to be placed.

2) Use this command (I will explain it more right away)

#Spawn x x x x x x x x x

eg.
#Spawn A_Large_Rat 32 2 13 200 1 1 5057 0

x= a number

[Explaination of Commands Options]

Each "x" in then command is a number for a quality the new spawn will have. Here is what each "x" spot stands for.

a) Name NOTE: Use underscores for spaces "_".

b) Race NOTE: Use the race list numbers from the readme

c) Level NOTE: What level you want the mob to be

d) Material NOTE: not sure what this is for. I think it has to do with textures that the mob uses

e)Hit Points NOTE: The max hit points the mob starts with.

f) Gender NOTE: Male / Female / Other

g) Class NOTE: The class of the mob

h) Weapon NOTE: The weapon the mob starts with.

i) Merchant ID NOTE: The number of the store inventory the mob will sell. If you want it to be a merchant.


3) Now you should have a mob infront of you. That mob will now spawn everytime the zones is loaded or you can tweek the respawn time in the mySQL database with mySQL front.

NOTE: You must restart your server for the mob to start spawning regularly.


4) If you do not like the mob you can remove it from the zone, With this command, To remove it from the database as well read below.

NOTE: You must target the mob for this to work.

#npcspawn remove

If you want the spawn deleted from the database, use this command instead of the one above.

#npcspawn delete



Well that ends our tutorial. I hope it helps a few people out...

MWMDRAGON

http://dragonsden.emuunlim.com/neverquest
http://dragonsden.emuunlim.com/

Merth
06-01-2003, 03:44 PM
That mab will now spawn everytime the zones is loaded
I believe you are missing #npcspawn create/add.

mwmdragon
06-01-2003, 04:02 PM
Ther are some mistakes in spelling but the tutorial is right. I was tired while writing this :P

THE_Wolfman
06-01-2003, 08:09 PM
Even if corrections need to be made to an article, it's good to see contributers in a community.

The article didn't really help me cause I use one computer to run around in-game doing /loc and another to write entries (usually in notepad to source in later), but I might use the method later to fine tune my DB, so I appriciate you efforts.

killspree
06-02-2003, 06:07 AM
You forgot #npcspawn create in the tutorial, other than that nice work.

xelnagan
06-02-2003, 07:33 AM
Hey, your NeverQuest is looking pretty good.

- Xelnagan

Monrezz
06-02-2003, 08:28 AM
Hey Killspree :P