If you want ninjas to spawn, open pkg/world/spawners/regionspawner/regionspawn.cfg
You might like to add a group at the end of the file to define them:
- Code: Select all
groups yuckyninjas
{
npc :drocket:ninja
}
Now let's assume you want to add the ninja to the brit forest (chosen only because it's easy to find not because it's a sensible place to spawn them!). Find region 1 and make it say something like:
- Code: Select all
//brit forest
region 1
{
rect 1186 1330 1322 1532
group domestic 6
group newbieforest 6
group newbie 16
group yuckyninjas 20
}
Notes:
* The group define how the scripts find the monsters. In this case it's in the drocket package and an npc template called ninja (see pkg/drocket/npcdesc.cfg)
* The region defines the area and the monster density. I chose an existing region so that the area was already defined.
* The density is a mathematical formula the you will see at the top of the regionspawn.cfg file. But if you want to know how many it will spawn - try values between 15 and 40 ranging from sparse to quite a few.
Now if you want an invasion, I wouldn't be using the regionspawner. It's job is to maintain the number of each monster in a given area.
The invasionspawner package does work but requires a little more setting up than the regionspawner. You need to define several adjacent areas and the monsters in them so that the invasion can seem to 'progress' to a location. It works, but can be predictable for the players.
Regards,
Stephen Donald.