I was want do Event like say in Besiged or certain type zone, and give them drops but make like one script, how would I go about setting it up.
On the spawn part would be like this, But how I get spawn at the pos and zone I want in and also drops from it.
cmdprops =
{
permission = 1,
parameters = "iiii"
};
function onTrigger(player)
SpawnMob('ID HERE');
Pop Mobs at certain location and givin them drops
Pop Mobs at certain location and givin them drops
[GM] Soulsin
Re: Pop Mobs at certain location and givin them drops
You cannot just spawn mobs in any zone you want. Mobs are attached to IDs that are based on the zone the mob is in.
The closest to this you can do is substitute an existing mob in a zone and change its model and drops in the database.
You wont be able to change their name though since the client handles that.
This is not a limitation in DSP either, it is how FFXI is coded.
The closest to this you can do is substitute an existing mob in a zone and change its model and drops in the database.
You wont be able to change their name though since the client handles that.
This is not a limitation in DSP either, it is how FFXI is coded.
Re: Pop Mobs at certain location and givin them drops
Well I seen post on here while back that guy did with command on besieged and it pop mobs in the zone when used that command, but wanted something like this with not besieged mobs
viewtopic.php?f=10&t=2025&hilit=besiged
viewtopic.php?f=10&t=2025&hilit=besiged
[GM] Soulsin
Re: Pop Mobs at certain location and givin them drops
Everything Atom0s said is true*, however you can change a mobs spawn pos or current pos via script within the zone it actually belongs in pretty easily. Those mobs in besieged actually have client dat entries in that zone making it possible.
From my personal server: (This is trivial to change to work on NPCs btw, I have a command for that too.)
If you want to alter that you can specify a zone, but it still won't work if the mob does not belong in that zone to start with.
As for drop rates via script, take a look in \scripts\zones\Lufaise_Meadows\mobs\Padfoot.lua
* Barring the remote possibility of hack jobs we won't go into, some of which I have tried in zone 49 when bored...
From my personal server: (This is trivial to change to work on NPCs btw, I have a command for that too.)
If you want to alter that you can specify a zone, but it still won't work if the mob does not belong in that zone to start with.
As for drop rates via script, take a look in \scripts\zones\Lufaise_Meadows\mobs\Padfoot.lua
* Barring the remote possibility of hack jobs we won't go into, some of which I have tried in zone 49 when bored...
Last edited by TeoTwawki on Thu Jul 17, 2014 7:32 am, edited 2 times in total.
Hi, I run The Demiurge server.
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
DO NOT PRIVATE MESSAGE ME ABOUT BUGSPLS USE [ code ] CODE TAGS [ /code ] WHEN POSTING CODE
Re: Pop Mobs at certain location and givin them drops
Ok thanks I take a look into all it, just wanted to add spice to server and make fun at least
[GM] Soulsin
Re: Pop Mobs at certain location and givin them drops
Ok for the drop how would I get that added in to make the mob drop spec item/items, of making the lua to work, if I have do that way. How would I go about getting the DropId
I seen in DB the mob_droplist dropId, type, itemId, rate. But I kno a lot mobs is missing all that. And if I edit the mob_droplist will that spec mob I edit drop item/items I want.
I seen in DB the mob_droplist dropId, type, itemId, rate. But I kno a lot mobs is missing all that. And if I edit the mob_droplist will that spec mob I edit drop item/items I want.
[GM] Soulsin
Re: Pop Mobs at certain location and givin them drops
Server finds which drop ID to use for a given mob by looking in mob_groups table.
Hi, I run The Demiurge server.
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
DO NOT PRIVATE MESSAGE ME ABOUT BUGSPLS USE [ code ] CODE TAGS [ /code ] WHEN POSTING CODE
Re: Pop Mobs at certain location and givin them drops
Ok I have look into that part, cause trying see if get drops pop out on some Voidwatch NM's
[GM] Soulsin