Newbie regarding spawning loot for monsters
Posted: Sat Oct 22, 2005 4:49 am
Hello all,
I can't seem to figure out how to have random items spawn on the monsters. I'm using the latest UOgateway, latest UOX3 version 0.98-3.0g. I read the post by ravyn on using the keyword LOOT, but it doesn't make much sense to me. I'm not any good with JS having never used it before. I don't know much, but can do a monkey see monkey do approach.
I'm able to add items with the command PACKITEM= followed by the hexcode, but don't know how to make it random. I did see the lootlists file in the dfndata folder, and it looks like it could be used, but I don't know how. Would someone be kind enough to enlighten me on that? I'd rather not have the same item spawn all the time on one monster, which would happen the way I can figure out.
I've tried all kinds of changes to make it work but have not had success yet, and would welcome any help. Thanks.
I can't seem to figure out how to have random items spawn on the monsters. I'm using the latest UOgateway, latest UOX3 version 0.98-3.0g. I read the post by ravyn on using the keyword LOOT, but it doesn't make much sense to me. I'm not any good with JS having never used it before. I don't know much, but can do a monkey see monkey do approach.
I'm able to add items with the command PACKITEM= followed by the hexcode, but don't know how to make it random. I did see the lootlists file in the dfndata folder, and it looks like it could be used, but I don't know how. Would someone be kind enough to enlighten me on that? I'd rather not have the same item spawn all the time on one monster, which would happen the way I can figure out.
I've tried all kinds of changes to make it work but have not had success yet, and would welcome any help. Thanks.