PDA

View Full Version : [chinese] notes on npcpos


Digital
16.07.2005, 01:05
thx to vvv0011

在NPCPOS中的如果定义四点坐标则为

X1;Y1 X2;Y1
+------------+
| |
| |
+------------+
X1;Y2 X2;Y2

territory_begin [t25_17_newnpc_001] {{X1;Y1;Z1;Z2};{X2;Y1;Z1;Z2};{X2;Y2;Z1;Z2};{X1;Y2; Z1;Z2}} territory_end

请大家注意

{X1;Y1;Z1;Z2}{X2;Y1;Z1;Z2}{X2;Y2;Z1;Z2}{X1;Y2;Z1;Z 2}

这四点坐标一定要完成闭合,而不要äº ¤叉,否则一定会出错,

http://bbs.99nets.com/attachment/Mon_0507/42_101327.jpg

以下是我PK场的定义!请各位高人指点 !
area_begin name=[aden_pvp_battle] type=battle_zone range = {{148413;45986;-3094;-2484};{150522;45986;-3094;-2484};{150522;47519;-3094;-2484};{148413;47519;-3094;-2484}} area_end
area_begin name=[aden_pvp_peace1] type=peace_zone range = {{147743;45312;-3094;-2484};{148412;45312;-3094;-2484};{148412;48120;-3094;-2484};{147743;48120;-3094;-2484}} area_end
area_begin name=[aden_pvp_peace2] type=peace_zone range = {{150523;45312;-3094;-2484};{151234;45312;-3094;-2484};{151234;48120;-3094;-2484};{150523;48120;-3094;-2484}} area_end
area_begin name=[aden_pvp_peace3] type=peace_zone range = {{148413;45312;-3094;-2484};{150522;45312;-3094;-2484};{150522;45986;-3094;-2484};{148413;45986;-3094;-2484}} area_end
area_begin name=[aden_pvp_peace4] type=peace_zone range = {{148413;47519;-3094;-2484};{150522;47519;-3094;-2484};{150522;48120;-3094;-2484};{148413;48120;-3094;-2484}} area_end

toolpunk
25.08.2005, 12:36
X1;Y1 X2;Y1
+------------+
| |
| |
+------------+
X1;Y2 X2;Y2

hmm
so this
+
|
|
+
is the x-axis?

thats not logical. +------+ <-- this is an x-axis
however if u turn the pic...
180°...
can any1 explain this for dumb ppl plz? (i mean me)

Professor F
26.08.2005, 00:37
according to that picture:
Y (x=0 stays the same, if "moving up")
^
5
4 .(point1) .(point2)
3
2
1
0 1 2 3 4 5 6 7 8 9 10 >X (Y=0 stays the same, if "moving right")
-1

point1 (x1=2,y1=4) point2 (x2=6,y1=4)

toolpunk
26.08.2005, 10:05
thx.
now i understood it.
was kinda blackout XD