Thread: Ships
View Single Post
  #10  
Old 08-26-2005, 04:53 AM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default Spawning for the noob

Hope this helps a little.

Code:
Spawning Mobs

 

While you are on your server as a GM you may spawn new mobs as well as permanently add or remove spawns from your database. Which means that next time you restart your server these new or deleted mobs will take affect. This is how it is done.

 

Spawn Command

#spawn <Name> <Race> <Level> <Material> <HP> <Gender> <Class> <Item_Visual_1> <Item_Visual_2> <Merchant_ID> 

Name = Name of the mob. 
Race = Model for the mob (eg Giant, Human, Dragon). 
Level = Level of the mob. 
Material = What texture (eg Sand Giant, FG, IG). 
HP = How many HP the mob has. 
Gender = Male / Female / Neuter ( 0 / 1 / 2) 
Class = Class of mob. (eg 1 for Warrior, 5 for SK). 
Item_Visuals = What the mob looks like it's weilding (eg Sword, Shield, Axe, Wand). 
Merchant_ID = Is used to set what the mob will sell if the class is set to Shopkeeper 
 


Example

#spawn A_Giant_Rat 36 1 0 16 2 1 0 0 0

 

Notes

- Use "_" Underscores for spaces in the mobs name.

- For dragons and other mobs where the gender is not obvious, set Gender to "2" or you will get a bald man. 

- Make sure you fill in all the arguments, even if you leave them 0 (eg. Don't just go up to class then stop). 


Stand in the exact spot facing the way you want the mob to face and use the command above. As of right now, once this mob is killed it is gone forever and will not spawn again. To make this mob a permanent part of your world, step back, target the new mob, and use this command.

 

Npcspawn create Command

#npcspawn create

Now a permanent spawn point has been made for the mob you just created. All that is left to do now is add the spawn to your database. To do this, just keep the mob targeted and use this command.

 

Npcspawn add Command

#npcspawn add

Now the mob is added to your database and will spawn and re-spawn after you have restarted your server. If for some reason you would like to remove the new spawn or other spawns in your database you use this command while the mob you want to remove is targeted.

 

Npcspawn remove Command

#npcspawn remove

The spawn that you used this command on, will not spawn anymore after the server is restarted. If you would like to see the spawn information of a mob that is spawned in the game, just target the mob and use this command.

 

Npcstats Command

#npcstats

Now you can see the exact information about a mob to create another one, or just to find out bits of information to use in other mobs you spawn. It also helps when trying to balance mobs HP (Hit Points) for your new mob creations. If you have placed a mob and wish to move it instead of recreating it just read about the command below.

 

Spawnfix Command

#spawnfix

With the mob you wish to relocate targeted, Move yourself into the new spot and facing the way you want the mob to face and use this command. It won't take effect until the zone is re-popped but it will save you a lot of work re-spawning things that are not positioned properly.
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com
Reply With Quote