View Full Version : Territory Size
L2Character
17.08.2007, 02:02
Simple question but I dont know the answer. What is the max territory size you can make and still spawn random correctly?
I was working on an event and made 3 very large territories. However, the mobs didnt spawn random. They appeared to spawn all in the exact middle of the territory.
Simple question but I dont know the answer. What is the max territory size you can make and still spawn random correctly?
I was working on an event and made 3 very large territories. However, the mobs didnt spawn random. They appeared to spawn all in the exact middle of the territory.
Not sure about the MAX size of a territory, but check that your Z values dont go beneath the ground, if they do then you will encounter problems.
L2Character
18.08.2007, 22:06
They are all well above ground. The problem is, I am guessing they cannot be bigger than any 1 given geodata/map file. I tried bigger. I want my spawns to be random across several map files.
The problem is I want the mob to spawn randomly and very rare. If I have to spawn 1 per geodata, that would be too many. I guess I coould just pick a certain geodata to spawn them in but I was hoping to be a bit more random than that.
McBigMac
18.08.2007, 23:35
Could make it spawn in the valakas holding lair.
and...on created handler random chance various locations to teleport to.
Make few zones and join them in npcmaker(_ex)_begin, like this one:
territory_begin [gludio05_1923_07] {{-13044;178610;-5429;-5249};{-12843;178571;-5429;-5249};{-12856;179208;-5429;-5249};{-13173;179055;-5429;-5249}} territory_end
territory_begin [gludio05_1923_08] {{-13153;179019;-5428;-5228};{-12848;179163;-5428;-5228};{-12776;179663;-5428;-5228};{-13087;180036;-5428;-5228};{-13425;179957;-5428;-5228};{-13637;179416;-5428;-5228}} territory_end
npcmaker_ex_begin [gludio05_1923_07];[gludio05_1923_08] name=[gludio05_1923_07m1] ai=[maker_instant_spawn] maximum_npc=57
npc_ex_begin [ant_recruit] pos=anywhere total=1 respawn=60sec respawn_rand=20sec npc_ex_end
npc_ex_begin [ant_patrol] pos=anywhere total=1 respawn=60sec respawn_rand=20sec npc_ex_end
npc_ex_begin [ant_guard] pos=anywhere total=1 respawn=60sec respawn_rand=20sec npc_ex_end
npcmaker_ex_end
And mobs will spawn randomly in sum of this areas.
L2Character
19.08.2007, 20:10
Apparently, 1 geodata is still too large. By using your suggested method, I can get the mob to spawn randomly between 4 different geodatas but it stays in the center of the given geodata-sized territory.