Quest Help [5165]

01/31/2010 08:28 Illustria#1
Im working on building a quest i got the timers and everything down its moreless just the command to spawn a single monster. Which id like to be done through a gm command, i have the command down. Its just moreless trying to figure out what the coding is to spawn a perticular monster based on the mob list in my exact coords.

Could also be used for some good ole fashion dransik demon attacks if anyone played that game and got stuck in the middle of a demon attack on a town ^_^.
01/31/2010 13:31 Korvacs#2
You could convert this?

[Only registered and activated users can see links. Click Here To Register...]
01/31/2010 20:29 pro4never#3
Yuppp that's exactly what I made that command for. Spawning bosses/special monsters based on time (gano/titan/special bosses), conditions (quests/events) and items (yay summoning items!)

Shouldn't be super hard to convert if you can decypher the already mess of a code I wrote. You should have something similar in your source already (a dictionary containing monsters in the game and a structure controlling A) monster info such as name/mesh/hp etc and B) a base monster struct holding the data of common monsters loaded from the database.

After that things should follow similarly to how I have them in my script. Set the stats for everything and then add the monster to the current mob dictionary then send the spawn effects to clients and boom, you're done.