How do i acreate a spawner item in the items.dfn file like the old uox had spawners would spawn stuff like npcs and items.
is it like this?
[gingsengspawner]
{
NAME=ginseng plant generator
ID=1397
TYPE=61
DECAY=1
MOREX=
MOREY=4
MOREZ=5
VISIBLE=1
}
for items
Spawners
- Xuri
- Site Admin
- Posts: 3704
- Joined: Mon Jun 02, 2003 9:11 am
- Location: Norway
- Has thanked: 48 times
- Been thanked: 8 times
- Contact:
There are some other spawner objects you can compare your setup to in dfndata\items\gmmenu\spawners.dfn. Basically the changes from earlier UOX3 is that we no longer use the MOREX, MOREY and MOREZ values to determine what spawns, when it spawns and how much of it spawns - but rather the following tags:
interval=mintime maxtime (in minutes)
spawnobj=npcid/itemid (orc, m_tailor, 0x04a9, swordofathousandtruths, etc)
amount=# (max number to spawn, I think)
interval=mintime maxtime (in minutes)
spawnobj=npcid/itemid (orc, m_tailor, 0x04a9, swordofathousandtruths, etc)
amount=# (max number to spawn, I think)
-= Ho Eyo He Hum =-
-
dragon slayer
- UOX3 Guru
- Posts: 776
- Joined: Thu Dec 21, 2006 7:37 am
- Has thanked: 4 times
- Been thanked: 26 times
-
dragon slayer
- UOX3 Guru
- Posts: 776
- Joined: Thu Dec 21, 2006 7:37 am
- Has thanked: 4 times
- Been thanked: 26 times
I'm getting a error after redoing my spawner
this is my spawner
[mandrakespawner]
{
get=base_item
name=mandrake plant generator
id=0x1397
type=61
decay=1
spawnobj=mandrakeplant
interval=1 1
amount=1
visible=1
}
but when trys to spawn item reads this to uox consol
warning unknown items dfn tag 182 1 1
this is my spawner
[mandrakespawner]
{
get=base_item
name=mandrake plant generator
id=0x1397
type=61
decay=1
spawnobj=mandrakeplant
interval=1 1
amount=1
visible=1
}
but when trys to spawn item reads this to uox consol
warning unknown items dfn tag 182 1 1
-
dragon slayer
- UOX3 Guru
- Posts: 776
- Joined: Thu Dec 21, 2006 7:37 am
- Has thanked: 4 times
- Been thanked: 26 times
- Xuri
- Site Admin
- Posts: 3704
- Joined: Mon Jun 02, 2003 9:11 am
- Location: Norway
- Has thanked: 48 times
- Been thanked: 8 times
- Contact:
When spawning the spawner-item, you need to do it either through a ADDSPAWNER tag in ItemMenu.bulk.dfn, or through 'ADD SPAWNER mandrakespawner. If you try to spawn it as you would a normal item ('ADD ITEM mandrakespawner) it will fail because the object won't be the correct type.
Ah drat, the 2.07 - Spawning section of the guide is up-to-date, but the list of itemtypes still refers to MOREX, MOREY, etc. I'll have to fix that.
Ah drat, the 2.07 - Spawning section of the guide is up-to-date, but the list of itemtypes still refers to MOREX, MOREY, etc. I'll have to fix that.
Last edited by Xuri on Thu Dec 01, 2011 9:48 pm, edited 1 time in total.
-= Ho Eyo He Hum =-
-
dragon slayer
- UOX3 Guru
- Posts: 776
- Joined: Thu Dec 21, 2006 7:37 am
- Has thanked: 4 times
- Been thanked: 26 times
-
dragon slayer
- UOX3 Guru
- Posts: 776
- Joined: Thu Dec 21, 2006 7:37 am
- Has thanked: 4 times
- Been thanked: 26 times