the problem seems to be in UOX3 can not find npcs by their id# for example i wanted to create a custom spawner to spawn pixies only and this is the method i used...
'add spawner 0x0dde
'set spawnsection 0x25b6 (also tried 'set spawnsection # 0x25b6)
'set mininterval 10
'set mininterval 30
'set type 62
'set amount 6
UOX3 says npc 0x25b6 can't be found, nor can it find any npcs by their id#
[FIXED] [FIXED] custom spawn objects don't work
- 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 must use the sectionheaders from the NPC-DFNs (uox3\dfndata\npc\) as spawnsection id.
For instance, in uox3\dfndata\npc\humanoids.dfn the first NPC defined is:
You'd have to use 'SET SPAWNSECTION orc to spawn that NPC.
For instance, in uox3\dfndata\npc\humanoids.dfn the first NPC defined is:
Code: Select all
[orc]
{
NAME=an orc
NAMELIST=3
ID=0x0011
...etc
-= Ho Eyo He Hum =-
- Xuri
- Site Admin
- Posts: 3704
- Joined: Mon Jun 02, 2003 9:11 am
- Location: Norway
- Has thanked: 48 times
- Been thanked: 8 times
- Contact:
Not a bad move on our part
The regional spawners (i.e. through spawn.dfn) are much more "efficient" than item-based ones. Since the NPCs and items they spawn aren't ever actually SAVED, but only exists for as long as UOX3 is running, you can have virtually an unlimited amount of NPCs without having it affect your worldsave-time and size. You will, of course, be limited by the amount of RAM your server runs though! =)
The regional spawners (i.e. through spawn.dfn) are much more "efficient" than item-based ones. Since the NPCs and items they spawn aren't ever actually SAVED, but only exists for as long as UOX3 is running, you can have virtually an unlimited amount of NPCs without having it affect your worldsave-time and size. You will, of course, be limited by the amount of RAM your server runs though! =)
-= Ho Eyo He Hum =-