View Single Post
Old 01.06.2007, 07:51   #18
tpuNIsher
Архивный участник
 
Join Date: Mar 2006
Posts: 685
Default

Ok, time to post here my 2 cents.

This is indeed a great base to work from. However, the thing i've understood from weeks of analyzing c4 retail npcpos, then now comparing them to your npcpos is that:

1. Your npcpos tells every mob to spawn pos based. As in each mob will spawn on pos={x,y,z,direction} based.
That's processor intensive, l2npc works more imo, and players when playing will be knowing exactly where the mob is spawning.
That's the problem with l2j i do not like as well

2. Retail npcpos for most npcmaker_ex poses, they uses pos = anywhere.
So within the terriotory defined for that npcmaker_ex the mobs asked to spawn ( maximum npc ) and the mobs specified will spawn ALWAYS randomly, meaning player doesn't know at what spot the mob might spawn next.
It might be exactly where the mob spawned a bit ago or it might be a place far from it's previous spawn point. Which is how L2OFF poses are.

3. About territory:
This problem exists in ALL npcpos makers i've seen, none are perfect. Analyzing retail npcpos i understood that territories are built by a pentagon / rectangle / square and so on base.
Every npcpos maker ive seen uses rectangle / square based system for territories.
( HF, this is a idea for you too! maybe you can make option to choose how to make npcpos in ur tool, pentagon based / square based / etc based ..to know what i mean by pentagon and etc.. read down)

If you don't understand what that means.. let me give u an example..from l2wh pospic.



ok u see that's a pic from simple stakato nest pos from l2wh. its a 5 sided thing pentagon or w/e. How that works? look at this code below:

Code:
territory_begin	[rune08_2215_58]	{{95339;-87076;-2894;-2394};{95800;-86680;-2894;-2394};{95849;-85825;-2894;-2394};{95570;-85670;-2894;-2394};{95138;-85662;-2894;-2394};{94783;-86082;-2894;-2394};{95061;-87010;-2894;-2394}}	territory_end															
npcmaker_ex_begin	[rune08_2215_58]	name=[rune08_2215_58m1]	ai=[default_maker]	maximum_npc=9														
npc_ex_begin	[brilliant_crown]	pos=anywhere	total=1	respawn=48sec	respawn_rand=15sec	npc_ex_end												
npc_ex_begin	[brilliant_fang]	pos=anywhere	total=1	respawn=48sec	respawn_rand=15sec	npc_ex_end												
npc_ex_begin	[brilliant_anguish]	pos=anywhere	total=1	respawn=48sec	respawn_rand=15sec	npc_ex_end												
npcmaker_ex_end
u see my analysis is right! they are pos = anywhere which means random!

AND! look at {{95339;-87076;-2894;-2394};{95800;-86680;-2894;-2394};{95849;-85825;-2894;-2394};{95570;-85670;-2894;-2394};{95138;-85662;-2894;-2394};{94783;-86082;-2894;-2394};{95061;-87010;-2894;-2394}}

7 SIDES!! so, what we have to do to achieve more 'retail like' pos is to get a base from ur files, and do them all as retail by going to the places and making squares / pentagons / rectangles as necessary seen from l2wh and put pos = anywhere!

Do you understand what i mean by this pos? im not criticizing ur work hel, but im sayign to all that, we DONOT need pos = {x,y,z;direction} for ALL npcs in L2.. what we need is the castles / towns / other citizen pos = {x,y,z;direction} only! so We should concentrate on fixing that only and put max npc = some number and pos = anywhere for all rest territories for npcpos. Saves time & more retail like & less load on l2npc server imo. Only there will be a few exceptions.. like raidbosses maybe or some special mobs..

I hope my post was helpfull to u, ur this work is truely nice ^^ And ignore my typos =p
tpuNIsher is offline