飞飞世界论坛

标题: RGN结构 [打印本页]

作者: admin    时间: 2016-1-10 03:19
标题: RGN结构
面的工作不是我的正是从divinepunition:
这不是suppoed能被释放,但不是我的过错中有些人说他喜欢有乐趣差的球队与他的东西。
什么是区域构造和都有什么目的?
RGN文件包含一些重要信息的游戏。在这里你可以定义所有怪物/对象/下降但也定义attribut产卵区域,如安全的地方,no-flying和no-teleport区域等。
你还可以定义音乐各区域和切割地图进区必须知道你哪里有复活。
你也可以在你的地图上定义了一些icone说这名球员,如果他们是一些地牢、食品商店,魔术店等在该地区。
所以那些文件来定义每一信息我们想要给一个地区,这很重要。
我们能找到2不同类型的区域内容:
Respawn7:定义一个产卵的位置
线在rgn文件,开始由respawn7产卵"都是信息的东西到游戏中。
第二种价值相对应的线对象类型我们将产生,它可能是一个掉那些东西:
定义OT_OBJ # 0 / /背景对象
定义OT_ANI # 1 / / Annimation对象
定义OT_CTRL # 2 / /特殊背景对象
定义OT_SFX # 3 / /特殊效果,对象
定义OT_ITEM # 4 / /物品
定义OT_MOVER # 5 / /移动物体
定义OT_REGION # 6 / /地区(事件,性质)! ! !但没有定义与RESPAWN7 REGION3
定义OT_SHIP # 7 / / Non-process
定义OT_PATH # 8 / / Non-process = >试图用它来看看我们是否可以走在外在目标要从另一个游戏
因为显而易见的原因,我们只看到那些对象类型:OT_CTRL(在地牢)OT_ITEM(永久)OT_MOVER下降(因为搬家工人而不是NPC造成他们是在DYO文件)
Region3 attributs:定义区域
所以线开始,region3 "允许定义特异性面积。一般映射一个小地方,我们可以通过说如果我们想玩音乐对这个领域,允许一些游戏动作与否,定义,这个地区是lodelight连接如果造成死亡的,定义了一种icone,以确定哪些你可以找到在那里(商店,地牢,城镇…)
第二值对线是类型的区域,你可以吃那些:
RI_TRIGGER 10
11他们定义的RI_ATTRIBUTE本届attribut区(没有喊不传送是一些为例
在每一场比赛RI_BEGIN 12只有一个:它定义第一个产卵的地方的球员
13 RI_REVIVAL区域定义了两者之间的复兴是重振旗鼓地方的名字
14 RI_STRUCTURE允许定义与地方在地图上,如:地牢,一般商店. .
15 RI_PLACE从未见过这一件
Respawn7地区内容和解释
好的,这我会解释不同结构(嗯。我所知道的respawn7地区)的细节:
有两种不同的结构,靠的....重生。如果它是一个特殊的背景下,对象或者其他…
掉落或怪物的结构
Region3内容和解释
好region3允许添加一些attribut线向区域定义。 这里的实际已知结构:
http://img14.imageshack.us/i/structureregion.jpg/
http://img14.imageshack.us/img14/337...eregion.th.jpg
好的,这多件关于这些选项:
类型
RI_TRIGGER 10
11他们定义的RI_ATTRIBUTE本届attribut区(没有喊不传送是一些为例
在每一场比赛RI_BEGIN 12只有一个:它定义第一个产卵的地方的球员
13 RI_REVIVAL区域定义了两者之间的复兴是重振旗鼓地方的名字
14 RI_STRUCTURE允许定义与地方在地图上,如:地牢,一般商店. .
15 RI_PLACE从未见过这一件
区域类型是一种形式的隔层允许我们这地区将定义的。
Triger眺望,触发是允许主要适用于某些事件发生在一个地区的地方,喜欢音乐,warpzone标题和副标题
Attribut定义Attribut面积。 有两个attribut类型(见attribut0x1000部分)之前,它将被宣布在一个触发,0x1000或更多,将宣布在一个attribut地区。
定义在哪里开始,玩家必须开始游戏时,它的一名新球员,事实上我们正在使用的数据库defaut价值,但我们可以用这一个。我认为我们应该把为客户一开始地区吧。
玩家可以定义在复兴reion xyz将恢复的地方的名称与面积将允许打电话给这个地区从世界的文件
结构定义了一些地方,似乎可能允许让他们在地图上(如地牢、市场等)。
地点:我一直在想着老lodelight与苦痛,允许来疗愈你的球员,但是不确定我需要检查一下flyff在一个旧的版本
x,y,z
那些价值显示中心面积,当这个区域定义一个attribut透气性能或结构。同样的位置的球员就能挽回(当地区类型等于13日(恢复))
attribut
定义了一些Attribut效应,这可能会修改游戏在一个区域。这是一个十六进制的价值。在这里,不同的价值观,可用(你可以简述
RA_WORLD 0x00000001
RA_DUNGEON 0x00000002
RA_NEWBIE 0x00000004
RA_BEGIN 0x00000008
0x00000010 = > RA_SAFETY地方你不可能是pk的东西
RA_SHRINE 0x00000020 = >被用在一个古老的功能与苦痛,让你恢复活跃
RA_FIGHT 0x00000040
RA_INN 0x00000080
RA_SIGHT 0x00000100
RA_DAMAGE 0x00000200
定义一个小镇RA_TOWN0x00000400怪物不应该去
RA_DAYLIGHT 0x00000800
RA_PK 0x00001000
RA_OX 0x00002000
RA_DANGER 0x00004000
RA_NO_CHAT 0x00008000
0x00010000 RA_NO_ATTACK球员不能攻击
RA_NO_DAMAGE 0x00020000无损伤是这一切
0x00040000 RA_NO_SKILL球员不能使用技能在这里
0x00080000 RA_NO_ITEM玩家不能使用物品
0x00100000 RA_NO_TELEPORT球员不能传送
RA_SCHOOL 0x00200000
RA_PENALTY_PK 0x00400000
0x00800000 RA_COLLECTING球员可以收集项目
到现在为止,我不甚了解如何使用它们,我们将需要测试每一个值。注意,你可以将民主的价值。一个小镇为例0x410安全=
ObjectID
这个值定义一个ID大部分时间是终端和身份证,但它可以是一种结构类型ID当地区等于14.列表的结构:在这里
SRT_NONE 0
SRT_LODESTAR 1
SRT_LODELOGHT 2
SRT_STATION 3
SRT_WEAPON 4
SRT_SHIELD 5
SRT_FOOD 6
SRT_MAGIC 7
SRT_GENERAL 8
SRT_PUBLICOFFICE 9
SRT_QUESTOFFICE 10
SRT_DUNGEON 11
SRT_BUCKLER 12
SRT_WARPZONE 13
这些结构定义icone价值似乎显示在地图上的位置,但我不太确定^ ^
演奏音乐?
当对象id是一名音乐这个值等于1所以它应该让音乐比赛。测试,以获取更多信息
两个未知世界的字符串
从未见过他们可以用了,或许因为更老的版本
warpid wapry warpx,warpz,,
定义一个经(歪曲的旅游目的地是一个触发器类型所宣布的区域)你有mapid,x,y,z的目的地
minx,maxz下,maxx,
这个值定义该地区受到区域如果有一个产生影响。经纱触发该值是影响范围内也意味着如果一个球员进入该地区他将被传送。
复苏的区域时,并不意味着人们对该地区的影响没有。
字符串地名
这个值给一个名字place.重振旗鼓,允许称呼那些地区为例,从世界azria文件应该叫flaris复兴的区域)。如果结合PK值的话,那么你会传送到附近区域PK(PKnpc)。如果结合抛弃了价值,那么就不要考虑这地方来!这是一项错误或抛弃了的地方
使用这个名字的钥匙吗?
这个值是用来复兴区和寿,旧的价值观念,基于增大化现实技术面积并非用了…
公会战争的价值:
我不知道任何关于它们的使用…
PK:允许来定义一个复兴地方那是为了PK的球员
其他未知的:
从不找他们的用法
一些例子说明
respawn7例为原动机
respawn7对象为例
respawn7特殊背景对象为例
region3触发为例
region3 6 10 541.320496 138.516541 494.732971 0x0 200 1"" "" 0 0.000000 0.000000 0.000000 387 391 603 617"" 0 -1 -1 -1 -1 -1 -1 -1 -1 0 0 0
胆的价值的主要价值显示我们不得不采取care.我们有触发式、attribut类型或objectid(这里是一个终端和身份证),如果我们播放音乐。后来我们看到经纱区定义和影响范围内的扳机。这很简单,我不认为我有必要增加更多的评论
region3结构为例
region3 6 14 7621.727539 155.132492 4280.305176 0x0 11 0"" "" 0 0.000000 0.000000 0.000000 7612 4272 7628 4288"" 0 -1 -1 -1 -1 -1 -1 -1 -1 0 0 0
我不确切知道使用上的这个地区,但是我们可以看到在大胆的主要价值:式结构,位置的结构和结构类型(这里是一个地牢)
region3开始为例
region3 6 12 6971.984375 100.000000 3336.884277 0x0 0 0"" "" 0 4096.000000 0.000000 1024.000000 6960 3328 69793344 "" 0 -1 -1 -1 -1 -1 -1 -1 -1 0 0 0
这是简单的,那就给起步位置……,别忘了定值为warpx和warpz…不知道他们为什么存在,但别忘了他们…
region3复兴为例
你将3三格复兴的区域:
正常的复兴区域:
region3 6 13 3808.401123 59.000000 4455.150879 0x0 0 0"" "" 0 0.000000 0.000000 0.000000 3800 4444 3816 4460"darkon" 0 -1 -1 -1 -1 -1 -1 -1 -1 0 0 0 8 A- _. n1 X* z
. A6 M* c2 ~) N/ H: S
PK revival region
4 ?# x0 H2 j" G- R5 Kregion3 6 13 8258.552734 95.922882 2536.253906 0x0 0 0 """" 0 0.000000 0.000000 0.000000 8248 2528 8264 2544"saintmorning" 0 -1 -1 -1 -1 -1 -1 -1 -1 0 0 1
老地区嫌弃:
region3 6 13 7768.892090 107.453445 4100.373047 0x0 0 0"" "" 0 4096.000000 0.000000 1024.000000 7492 3723 79694272 "flaris" 1 -1 -1 -1 -1 -1 -1 -1 -10 0 0
大胆的价值是我们的主要兴趣他们给:位置的球员的名字,当复活的定义,说如果地区的复兴,终于抛弃了,如果是为了PK地区…
region3 attribut为例
region3 6 11 7399.125000 148.021820 4070.333984 0x4000 0 0"" "" 0 4096.000000 0.000000 1024.000000 7181 4011 75724250 "" 0 -1 -1 -1 -1 -1 -1 -1 -1 0 0 0
我们在这里展示价值大胆它的一个地区,attribut attribut(这里的危险的区域)的一些一些固定的值(总是相同的)x轴和Z最后的影响范围
原文
The following work is not mine it was from divinepunition:
2 o3 L3 x& `8 `( P0 P! h& m- T
7 ?9 |6 U9 I& m8 F& dIt wasn't suppoed to be released, but not my fault some people in his bad teamlike to have fun with his stuff.
# V+ x# y% v9 I) E6 g, h! V/ d* P7 N2 O
What are region structures and what are there purpose ?
9 g/ e" G' Y" Q  Z# S% g% N& O+ o
RGN File contains some important informations for gameplay. Here you can defineall monsters/object/drop spawn but also define region attribut, like "safearea, no-flying and no-teleport area etc.) b0 q0 |, Q: l; }9 C" z
" U6 F& n+ ~1 D' e1 F
You can also define music for each area and cutting maps into area to knowwhere you have to revive.
. v2 {4 @$ J+ P; z8 E! m" |1 N9 n* CYou can also define some icone on your map to say to the player if they aresome dungeon, food shop, magic shop etc. in the area.( i& p/ @: d2 H/ ~5 K: V

5 \0 M% `0 Z$ C- ESo those file are the way to define each informations we want to give to anarea, it's really important.
  D7 ?4 ?5 Z: h4 x# T
( D+ _% j  ?# J8 o+ Q: O: U9 A
% o) @, a3 e9 d; N6 @1 u$ FWe can find 2 differents type of region content :* q  f1 l* B1 N5 G. F
8 @+ a% \/ |( j, ~' _" t+ ?* `: N
3 |, l  h# y, Y2 D  _; S
Respawn7 : Define a spawn position
$ m" y5 j9 D4 k% n7 j- l6 p7 k3 f% ^: f  x6 e) E; C: `
In rgn file, line that start by "respawn7" are all informations aboutspawning something into the game.
) n5 H1 x! k. v. E! I$ n# i8 j' pThe second value of the line correspond to the type of object we will spawn, itcould be one off those thing :1 o2 [7 R: o. `4 Q- W/ Z6 k* a

# W/ @9 n) F  s7 y/ R( u#define OT_OBJ 0 // Background object
1 r7 m6 ]0 a: E) A/ B* \#define OT_ANI 1 // Annimation object   E/ s8 r, v7 k/ Z
#define OT_CTRL 2 // Special background object
6 ?) i  F* I/ _- s#define OT_SFX 3 // Special effects, object 7 r; p/ f2 m* V: F1 i
#define OT_ITEM 4 // Items
* _* X. ?- F/ \# {#define OT_MOVER 5 // Moving object
+ q9 S$ c0 o$ o7 c3 G4 q5 f% m#define OT_REGION 6 // Region (events, properties) !!! NOT DEFINE WITH RESPAWN7but with REGION3...
1 B7 q2 g' x$ q) e( Z3 W/ d- B#define OT_SHIP 7 // Non-process- J" |3 a5 }, H5 o6 ]4 n
#define OT_PATH 8 // Non-process =>try to use it to see if we can walk onexternal object take from another game7 k; L) O( Q) H: k0 ]7 \' j
; K$ X, \2 f; q4 N, |& g* H
* V+ u* C1 ]3 [, f
For obvious reason we only see those object type : OT_CTRL(in dungeon) OT_ITEM(for permanent drop) and OT_MOVER (for movers but not NPC cause they are in theDYO file)0 ~' k# f  @/ A- Y& h4 `7 `' V$ }
) j4 j- S7 J$ y2 h' @. O
Region3 : Define area attributs
- i( k% o& u2 Y% u+ w- e9 |$ S; q; N% o/ b3 Z. v1 \

3 `; T6 V% o5 z% ^# RSo line which start with "region3" allow to define specificity of anarea. Generally map a cutted by area where we could said if we want to playmusic on this area, allow some gameplay action or not, define to whichlodelight this area is connected in case of death, define an icone to determinewhat you can find there (shop, dungeon, town...)" d1 E1 ^& c' X% L
' D  i" Q' ]! l' s* y$ [$ t4 [  l7 x
second value on the line is type of area, you can have those :. u# w- q7 |' J

' @& W! q# \7 G1 q  F: kRI_TRIGGER 10 & `7 p- a) \' S; u. D
RI_ATTRIBUTE 11 They define attribut of area (no-fly no shout no teleport aresome exemple. `+ z, S* }) |
RI_BEGIN 12 Only one per game : it define the first spawn place of player% C8 c# ?3 ?, J8 D, S0 a/ Z% `2 Z
RI_REVIVAL 13 Those define revival region to link them to a revival place by isname
4 J1 A) I- y1 z0 eRI_STRUCTURE 14 This allow to define on map with place it is, ex : dungeon,general shop..
2 u2 Q9 c8 g+ B( ?2 {RI_PLACE 15 Never see this one
2 I1 [4 |2 P1 ^+ A+ Z" J# M( }$ v3 `0 t5 g  Y

2 k* G- l! Q7 ~# S# t" v3 A2 E9 m; Y9 P. O  [3 g
Respawn7 region content and explanation
; S- n4 H3 _: b# S: ?5 [7 z  g2 m! u9 f) L5 V" A% S, E
OK here i will explain the different structures (well what i know) of respawn7 regionin detail :) x1 x7 i& r- j- V0 f& Y/ I9 [1 e; R" b

% ^% d9 h! b* {There are 2 different structure for respawn....depend of if it's a Specialbackground object or other...- E0 A' q4 J+ m! M4 o1 k! ~

5 ]6 D7 W' p7 K
3 S) J2 P. J: B; TDrop or Mob structure; _; H6 K: L1 d

3 f' p2 _: i& t9 K# }" d4 `% u0 @http://img21.imageshack.us/i/respawn7.jpg" }" s8 Q% N7 i8 ]1 x& r# Y0 L% J
http://img21.imageshack.us/img21/6139/respawn7.th.jpg) l- `- i( c* `0 E4 {; C

. f! B# e% p2 L; N8 @6 |You will se here the main structure of those object.
: T; e1 Y9 J! w+ n4 ]( [) g  \8 jNote that you give a position wich will be the center of the area where theobject will be spawned.
7 _, U+ g" B# p5 \, S& m8 r6 o! C- g1 sXmin, Xmax, Zmin, Zmax define the area maxim where they can spawn
( o0 {; P, v# [angle is angle position when monster spawn, it should stay to 0.0000 if this isa mob that will move aleatory, or for questdrop.& v% p4 G$ _, v4 z' I
Number of agro determine the number of mob wich will be agro in the groupdesinged by quantity value.1 Q0 {+ \. t5 b4 _( P" t8 o& h6 m
Respawn is the time in second before the next respawn.) F7 h  M  ^3 q  a+ y
dwClass : to explain later...6 i" G; W, W, o; [# t/ F
& l' _6 ~" [' z8 H# r( d- q8 n  F
Special background object structure
# `- V( E6 r3 s$ n7 x9 L( \! q: a+ Y  |+ a0 z( \$ C" x

5 G. G% ?) I% m- {: t6 L) K4 h+ d8 z+ M- u7 W  C
Region3 content and explanation
8 @" Q( b) r. E0 s% `& u
7 d7 l5 S* i& l: K# m9 xOk region3 line allow to add some attribut to area defined. Here the actualknown structure :
( X' @/ u; ]+ W! L3 I4 B) w4 S" D8 a0 {7 N. |& z
http://img14.imageshack.us/i/structureregion.jpg/
* V+ \( S. }2 A9 J+ jhttp://img14.imageshack.us/img14/337...eregion.th.jpg
- w$ J$ E7 ?# M- A$ d3 K$ Q8 S& a6 ~) g! U6 i% K
' X8 m" {* Y) u4 }/ W
Ok here more thing about those options :
& {, L6 q) Y- ?# Q& N1 \6 E+ t+ Q6 p! n
% l5 K* e; j' \$ T) a
Type& P8 k7 e- O: B9 n8 F$ [
# f' q, k4 u- q) a+ V( r( ~
RI_TRIGGER 10
7 [, u8 h# F1 M  ?RI_ATTRIBUTE 11 They define attribut of area (no-fly no shout no teleport aresome exemple" j7 y' Z$ h( s- u, L; p
RI_BEGIN 12 Only one per game : it define the first spawn place of player
' y  J; ?1 X/ q8 Y+ H' MRI_REVIVAL 13 Those define revival region to link them to a revival place by isname1 e& L, ^9 s! i$ Y2 t
RI_STRUCTURE 14 This allow to define on map with place it is, ex : dungeon,general shop..
+ z' d8 B5 X, Y; W+ V4 w& oRI_PLACE 15 Never see this one, i; s  t- g8 R( U5 X3 H
3 }, p* p0 X) j8 Y
& i) Y/ Q, |4 \
Type is the type of region wich allow us what this region will define. / R: @; D7 a& ^# B
Triger are tha main used, trigger allow to place some event on an area likemusic, warpzone, title and subtitles0 ]) C7 K! Y: J% ~0 }3 S$ |  U- Z
Attribut define attribut of an area. There is two attribut type (see attributpart) before 0x1000 it will be declared in a trigger, 0x1000 or more will bedeclared in an attribut region.
5 i' r; [9 ~+ c! G0 d  {; x: @" |0 fBegin, define where a player must start the game when it's a new player,actually we're using database defaut value but we could use this one. I thinkthat for the client we should put a start region anyway.' J) @; Y+ a0 w. d/ v
Revival reion define where player can revive xyz will be the place and the nameof the area will allow to call this area from world file
# V1 l5 z* Z( p+ |) N/ |7 tStructure seem to define some place and probably allow to show them on the map(like dungeon, market etc.)
# [: X, j+ F6 b/ F- P# {6 D1 |4 ~7 j
Place : i was thinking about old lodelight with pang that allow to resurrectyour player but not sure i need to check in an older version of flyff8 F$ d$ @+ Q5 f

/ m* N2 |$ [6 u8 r" rx,y,z, n! C9 z: J! }. _* R! a: j4 z
Those value show the center of an area, when this area define an attribut or astructure for exemple. But it's also the position where player can revive (whenregion type is equal to 13 (revive) )8 S) U/ m) w  N$ X+ N" z9 o0 ]' u

% a) g# ^! @5 Yattribut5 |; k* S2 Z- I. W
$ F" j' v5 w* \' Q; {
Attribut define some effect that could modify gameplay in an area. It's anhexadecimal value. Here the different value usable (you can combine more thanone value)
* ~8 w$ I* Q- n: D
- q, Y' K) A! x
# T( K- S$ l: Y( b2 d+ I+ G+ SRA_WORLD 0x00000001
- Q3 U. K5 n1 }) [RA_DUNGEON 0x00000002   N, _# P3 F( Y% y
RA_NEWBIE 0x00000004
+ X5 m! W. i5 K2 X. K. D, IRA_BEGIN 0x00000008
1 j# ^, t, ]9 u# b* r- ?6 M$ yRA_SAFETY 0x00000010 =>place where you can't be pk by someone
( j" |( g# G6 I/ {RA_SHRINE 0x00000020 =>was used in an old function with pang that allow youto revive
2 B, g, u5 f3 R; ~# X& R9 dRA_FIGHT 0x00000040 . }! F9 N+ f4 l4 I
RA_INN 0x00000080 3 q5 @- I+ V# K! X4 s- C
RA_SIGHT 0x00000100 . F; I. W8 j9 |2 d; P# s! n& m
RA_DAMAGE 0x00000200
3 [8 }6 B1 e3 O7 T3 A1 v0 d3 @RA_TOWN 0x00000400 define a town where monster are not supposed to go ) N% ^" V" I$ o+ [: i
RA_DAYLIGHT 0x00000800 ) k/ X: l" k0 A2 Q$ \5 W
RA_PK 0x00001000 9 X7 E$ w' f0 U# b* ]
RA_OX 0x00002000 ! v! s0 p2 Q/ S& S
RA_DANGER 0x00004000
; n! U6 W8 a. W4 ]/ cRA_NO_CHAT 0x00008000
0 A) {5 @- Z- ERA_NO_ATTACK 0x00010000 player can't attack   w5 p' J# x/ E0 ]# M3 M6 v& p
RA_NO_DAMAGE 0x00020000 no damage are done here / F4 c- j  B% S! V
RA_NO_SKILL 0x00040000 player can't use skill here 0 z5 K" O* w# x" F" |$ \
RA_NO_ITEM 0x00080000 player can't use item / U# h5 }! b& N3 f7 ?
RA_NO_TELEPORT 0x00100000 player can't teleport
( `8 N/ r; U9 rRA_SCHOOL 0x00200000
: p8 U% k" _6 n2 W  t5 J( KRA_PENALTY_PK 0x00400000 . P% O) u8 ?( H" b2 w& o( y( a" d
RA_COLLECTING 0x00800000 player can collect item& t# Q" V: k+ g, k5 y

# W  e+ @( G  E6 Z- ~. }2 H
& q# h9 r$ U6 {( E. ]! q& J1 Z4 zfor the moment i don't know much how to use them, we will need to test eachvalue. Note that you can combine value. For exemple a town safe = 0x410
3 z: B# M8 M5 A& N0 Z+ J. L
9 s; r& M+ a- t5 B/ b, X9 zObjectID
+ n4 K- |" i" Q
+ K' e! B) K: d. ^3 N; x1 ^This value define an ID most of the time it's the BGM ID but it can be astructure id when region type is equal to 14. here list of structures :
9 Y3 H- m- v' N# y- \  x9 d: x1 e. E: z$ s+ W
SRT_NONE 0
/ d# b- O* x" Y$ S" \3 iSRT_LODESTAR 1 * o: X4 A/ D, I$ K' |: U
SRT_LODELOGHT 2 ) x7 P$ k; @# ~# U3 }9 {* z( Z
SRT_STATION 3
; ]: z. @) A/ Z0 j; W) `' f0 LSRT_WEAPON 4
" @- J! e+ ^, P" d+ x; X# K1 D% ?SRT_SHIELD 5, U" M3 {. I3 {( |5 I
SRT_FOOD 6$ n* m2 o: O  t* m
SRT_MAGIC 7
4 L/ g: w' Z9 a, X6 ySRT_GENERAL 8 6 O2 j. ^, V6 S) T+ m% m
SRT_PUBLICOFFICE 9
6 |. v$ j7 u$ v% k" S" ZSRT_QUESTOFFICE 10 1 g/ I( q; v5 ~: \4 B+ o' Z2 i
SRT_DUNGEON 11/ C8 {* p/ @$ o; t' Q: ^
SRT_BUCKLER 12
5 |1 y6 L! ?# iSRT_WARPZONE 13( l4 z- I4 w; z- Q
0 r, |3 m* k; H, @) r8 n& k

: z) Z: n' M  b' i- VThose structure value seem to define icone showed on the map but i'm not sosure ^^2 [4 n( v5 e* X) K' D: F( x
2 T4 |: N8 x" u( x, l% `0 V
Play music ?
7 E! m+ q, S  u0 W2 e2 ?When object id is a music this value equal to 1 so it should allow the music tobe played. To test for more information' |. C% Z! Z/ b
7 a4 \6 |! |& ]8 [- X$ ?$ ?& r7 h" C
two unknow string7 H8 q4 H  h7 C6 y0 F, p
never seen them to be used, probably for older version
- u4 y! M& G4 G: D, ]1 x  Q, g( }& F4 ^0 R6 K8 t3 e6 O
warpid,warpx,wapry,warpz$ a# N7 S7 P3 X+ {& ~/ U
# X$ ^" _7 k" ?. F
Define destination of a warp (warps are declared by a trigger type of area) youhave mapid, x,y,z of the destination( {- f- [, U8 X% l( g. K
! `, w' S8 \0 z8 T* R0 D( M. Z- [
minx,minz,maxx,maxz
1 G+ T2 u5 S. T: U' e6 Z. [This values define the area affected by the area if there is an effect on it.For warp trigger this value is the area of effect too that mean if a playerenter into the area he will be teleported.
4 y5 b7 {& u8 H+ d/ YFor revival area that doesn't mean that people in the area are affected no.
4 _8 X- J2 P9 c% z( `4 j- W
" ~7 N( ?0 _# V/ |& Gstring "Placename"
: ^$ b1 A: k. ^0 O; F8 W/ f
) x: ?6 X) Z% h+ CThi value give a name to a revival place. that allow to call those area fromworld file (for exemple azria should call "flaris" revive area). Ifcombined with PK value, then you are teleporter to area for pk (near pk npc).If combined with abandonned value, then don't consider this area ! it's amistake or abandonned place
6 B8 O# e  x7 I) R! o# @# Y8 H7 j. t% _. t
use the name as key ?
$ v( [; `+ }8 x2 n' p! a3 T* o! v" X' g8 @  J% B5 {
This value is used for revival area and sau that there ar old value so the areais not used anymore...
( A, d0 {, N% g" s3 @. J% q' K! ~% k; Z5 E5 [5 g
guild war value :
1 Y( B) P; g3 h  w- n8 R/ A
6 ?5 v6 K, r1 H" @5 J) s: JI don't know anything about their usage...
- v3 V/ _9 ^# e9 X
2 g/ z# w2 z: Y8 B' d* t' g% O% d5 ?PK: allow to define a revival place that is FOR PK player6 A$ i6 O! }3 o/ \( E
0 r+ _3 Q! [9 L6 m3 c9 e" A
other unknown :
' M+ j3 E& [- w: M# R
* |: p  P8 h. C6 y7 L& {Never seee their usage
0 a9 ]5 ]* Q5 r' J. I# @& D# m8 h  U1 G2 t6 k9 @
Some example1 ^5 ^9 w1 j# J* S9 [
5 k$ ^2 M2 H" u- l$ E4 D5 x
respawn7 exemple for mover; ^$ Q* X( [! V3 ^+ p2 m
respawn7 example for object7 }) {9 A. E5 b% X
respawn7 example for special background object3 `/ Z6 B3 I/ k5 @
region3 trigger exemple
, e- g3 m  l- M; {% Q- C, d% U
0 Y2 P6 p$ X7 L. |( ]9 H( Gregion3 6 10 541.320496 138.516541 494.732971 0x0 200 1 """" 0 0.000000 0.000000 0.000000 387 391 603 617 "" 0 -1 -1 -1 -1 -1 -1 -1 -1 0 0 0
) n! w+ x3 z* ]" K7 I0 O6 R2 V, S. \6 H5 M7 R1 N
Bold value show the main value we have to take care. we have a "triggertype", attribut type or objectid (here a BGM id) and if we play the music.Later we see warp zone definition and area of effect of this trigger. It's verysimple i don't think i have to add more comment6 U; {: y: L8 I3 Q

3 l- \4 I* j3 N& Xregion3 structure exemple
5 @8 x/ D. ]& x9 v
1 A' d1 N% M* |5 [. Cregion3 6 14 7621.727539 155.132492 4280.305176 0x0 11 0 """" 0 0.000000 0.000000 0.000000 7612 4272 7628 4288 "" 0 -1-1 -1 -1 -1 -1 -1 -1 0 0 0
- n. h  C8 c; a' r1 r6 ?& R
: p4 }5 e7 t# `  j$ _( R& JI don't know for sure about the usage of this area but we can see in bold themain value : type "structure", position of the structure and structuretype (here a dungeon)' j4 ]0 I3 ~3 s& B

4 ~# S3 G* G5 `# T( T
  p/ R: A3 }9 ~/ N, F& ?8 w, [5 Xregion3 begin exemple
, J5 X! J$ q3 V: d% B! p
' v1 l3 F3 w: L0 I2 x6 [1 r* @region3 6 12 6971.984375 100.000000 3336.884277 0x0 0 0 """" 0 4096.000000 0.000000 1024.000000 6960 3328 6979 3344"" 0 -1 -1 -1 -1 -1 -1 -1 -1 0 0 0
) d% C7 Z1 a' I& W7 D, S5 n: V) t9 ]- [( d. k- O
Well it's simple, that give start position...don't forget the fixed value forwarpx and warpz...don't know why they are there but don't forget them...# z% q2 R9 e- `& c; e) f
. [$ [! G9 g# k
region3 revival exemple  W# {* F( v. |, P

3 I2 }1 |! q+ F( w4 U6 z- aYou will 3 the 3 case of revival region :3 r9 `" m7 I) _! p# z* h
- J& p- u2 P$ H) ]9 m7 Z$ \6 j
Normal revival region :
. E) ?& ~+ Q8 u: J
: [4 M( m: f2 Sregion3 6 13 3808.401123 59.000000 4455.150879 0x0 0 0 """" 0 0.000000 0.000000 0.000000 3800 4444 3816 4460"darkon" 0 -1 -1 -1 -1 -1 -1 -1 -1 0 0 0
; l$ j& A" Q( b1 {! Q! c/ p$ H
' p" ?! j7 n: M3 h' {$ H/ R( Z. GPK revival region
8 z3 y. Q$ I$ c- C( ^region3 6 13 8258.552734 95.922882 2536.253906 0x0 0 0 """" 0 0.000000 0.000000 0.000000 8248 2528 8264 2544"saintmorning" 0 -1 -1 -1 -1 -1 -1 -1 -1 0 0 1
4 T5 W* C7 w! `& i+ R1 J$ H
6 l  k' W1 u9 C8 |& }2 z8 Zand old region abandonned :# \$ J" \( a' j

+ i' g% v; s2 n4 l8 fregion3 6 13 7768.892090 107.453445 4100.373047 0x0 0 0 """" 0 4096.000000 0.000000 1024.000000 7492 3723 7969 4272"flaris" 1 -1 -1 -1 -1 -1 -1 -1 -1 0 0 0
+ E7 n3 N( i) r9 H- i
' J/ V  D9 q$ i  Y3 o' S4 tbold value are our main interest they give : position of the player whenresurrect, define area name and say if it's abandonned and finaly if therevival region is for PK...
' }. l. s: P! s: k4 m3 H/ P6 J9 c9 Z' [/ c7 H9 a- ^# E9 Y
region3 attribut exemple
* i: ?) M) u9 p7 M5 P2 |/ w% k
. l3 e# y6 W4 I( S, G( L$ Y6 {6 Q4 P0 Sregion3 6 11 7399.125000 148.021820 4070.333984 0x4000 0 0 """" 0 4096.000000 0.000000 1024.000000 7181 4011 7572 4250"" 0 -1 -1 -1 -1 -1 -1 -1 -1 0 0 0+ F/ G5 e9 k5 g* Z1 s' o2 y' b& T

( f# j4 K. r: G1 vValue in bold here show us that it's a region for attribut, the attribut value(here a "danger" area) some some fixed value (always the same) for xand Z... And finally area of effect
& [: J2 Z) Z1 t





欢迎光临 飞飞世界论坛 (http://ffwold.com/) Powered by Discuz! X3.2