The ex-girlfriend motivation (/spawn)
Posted: Sun Jul 12, 2015 10:55 am
I have tried this several times.. still I can not make a spawn that is permanent. I was following the guide at http://eq2emulator.net/wiki/index.php/Admins:Content I was in /zone 1 "GMhall"
I started with the command "/spawn create npc 203 1 50 'Lady Vox' 1 32". I played around with this command figuring out the ranges of each entry, until I came up with one I felt suited the Mob I was trying to make.
/spawn create npc 170 10 30 'Beth' 7 40
Is there a list of the classes and there corresponding number for /spawn create?
Beth being an ex-girlfriend and a bit of a boar I rather relished the opportunity to kill her ... repeatedly.
I then experimented with the "/spawn move" command which worked perfectly fine especially for anyone who played around in house design on the live servers.
"/spawn set list" was interesting tho I still don't know what more then half the commands do. Assuming based on their descriptions they give the model I'm working on specific looks and or armor it is wearing.
"/spawn set suffix" I gave her a nice one "The Ugly"
"/spawn set sub_title" Again inspired by her "A Bad Decision"
Then I moved to the "/spawn add" command and tried "/spawn add new "Beth"
It assigned NPC id 10011 and a spawn group of 584357 and a percentage off 100%
/reload spawns ok, she depopped and then repopped correctly. So I killed her in game with a handy spell or other and wait for game time repop and not knowing I assumed the repop was 15min or so. She does not repop after 30 min so I again /reload spawn and she is back. I don't know how to make her a permanent spawn, or as the case may be to respawn after a certain time.
Now to the part I really don't understand. Well really I don't understand any of the .lua for quests, conversations, movement, etc
"/spawn set spawn_script 'spawnscripts.lua' "where I am assuming the spawnscripts.lua part is the name of a script already made.
I am assuming the spawnscripts have to be made in the database via a SQL editor. Not wanted to destroy my database I figured I would ask questions here before I simply copy my database to a safe place and start experimenting. Any advice on the matter would be welcomed. I seem to have a handle now on making spawns, even if it takes me time to go through all models to find the one I want. I just can not get them to do anything other then stand there.
I started with the command "/spawn create npc 203 1 50 'Lady Vox' 1 32". I played around with this command figuring out the ranges of each entry, until I came up with one I felt suited the Mob I was trying to make.
/spawn create npc 170 10 30 'Beth' 7 40
Is there a list of the classes and there corresponding number for /spawn create?
Beth being an ex-girlfriend and a bit of a boar I rather relished the opportunity to kill her ... repeatedly.
I then experimented with the "/spawn move" command which worked perfectly fine especially for anyone who played around in house design on the live servers.
"/spawn set list" was interesting tho I still don't know what more then half the commands do. Assuming based on their descriptions they give the model I'm working on specific looks and or armor it is wearing.
"/spawn set suffix" I gave her a nice one "The Ugly"
"/spawn set sub_title" Again inspired by her "A Bad Decision"
Then I moved to the "/spawn add" command and tried "/spawn add new "Beth"
It assigned NPC id 10011 and a spawn group of 584357 and a percentage off 100%
/reload spawns ok, she depopped and then repopped correctly. So I killed her in game with a handy spell or other and wait for game time repop and not knowing I assumed the repop was 15min or so. She does not repop after 30 min so I again /reload spawn and she is back. I don't know how to make her a permanent spawn, or as the case may be to respawn after a certain time.
Now to the part I really don't understand. Well really I don't understand any of the .lua for quests, conversations, movement, etc
"/spawn set spawn_script 'spawnscripts.lua' "where I am assuming the spawnscripts.lua part is the name of a script already made.
I am assuming the spawnscripts have to be made in the database via a SQL editor. Not wanted to destroy my database I figured I would ask questions here before I simply copy my database to a safe place and start experimenting. Any advice on the matter would be welcomed. I seem to have a handle now on making spawns, even if it takes me time to go through all models to find the one I want. I just can not get them to do anything other then stand there.