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.
Newbie regarding spawning loot for monsters
-
deadinnuendo
- UOX3 Newbie
- Posts: 4
- Joined: Sat Oct 22, 2005 4:43 am
- Has thanked: 0
- Been thanked: 0
- Xuri
- Site Admin
- Posts: 3704
- Joined: Mon Jun 02, 2003 9:11 am
- Location: Norway
- Has thanked: 48 times
- Been thanked: 8 times
- Contact:
You can use the itemlists with the EQUIPITEM and PACKITEM tags, but you need to specify a "lootlist-object", as listed in the bottom of itemlists.dfn.
Example
PACKITEM=listobject51
would point to
[listobject51] in itemlists.dfn, which again is a pointer to itemlist 51 - which is a list of items to choose from =) There should probably be a better way of doing it than this, but at the moment that is how it works (I believe).
Example
PACKITEM=listobject51
would point to
[listobject51] in itemlists.dfn, which again is a pointer to itemlist 51 - which is a list of items to choose from =) There should probably be a better way of doing it than this, but at the moment that is how it works (I believe).
-= Ho Eyo He Hum =-
-
deadinnuendo
- UOX3 Newbie
- Posts: 4
- Joined: Sat Oct 22, 2005 4:43 am
- Has thanked: 0
- Been thanked: 0