5 e0 L9 O8 K+ \) |/ zCredits:; K: ?: p. j$ w5 ~/ ^
Xadet / U4 z% g7 p! s: `0 ~8 b7 T1 y9 [) m
This version is FULLY functional and is GUI based.; j: q$ V4 `3 Y
4 T% O) G# r2 U# d' w3 ~/ e
-------------------------------------------- $ W( f6 w* Z R! {: s& a: `5 w5 p3 o( w2 i% \& o5 {
-Usage-7 W6 J2 `) x0 a% W
) z/ M# \7 p6 HThe usage is EXTREMELY simple.6 `9 q, j- }, z' I9 v. U
Open the DYO file, edit it, save.* W4 Z9 b% D( ^, I( D& h
9 S8 X/ D/ N5 s9 G8 [-------------------------------------------- , I! Q6 ?8 }) p) Z8 S1 @. b. T- Z; S( z5 G1 Q+ z
-Explanation- 1 m7 r1 ^; _* g, c2 XLet's take a look at the first block(this could be different on yours): 2 P. j$ i0 W& x0 |$ O7 X! r 3 b% B s; o+ `5 对象类型(NPC为5) ( C; A! V+ o+ ^( n1 c' U2 x7 q179.9087 NPC方向 - C! s* L r! f0 下面3个为xyz轴角度一般为0 \- ]8 h. }% W! d* A3 O% I. a: D& \
0, k( G$ n% J- N+ L. U7 j
01 s1 {% L1 q3 \, g
3344.027 标识NPC位置的xyz坐标; i1 w& o- o; y8 S+ ?( o
146.9564 Y是高度( |) a( [" s- P6 h. u
2071.1+ u. O0 Y/ K0 L! Q
1 下面是xyz的比例 4 O' I6 H* q7 _: _% M1 `5 Y" f' q* n/ j6 ^6 A
13 j, \ ~8 T0 d: y4 x( {' K
5 设置AI(NPC为5) 1 Q# e3 U9 b' k234 模型ID H/ W, L, H3 t/ R
-1 未知(NPC设为-1) {7 r6 l% D( _9 O. p0 来自AI类型:0是不可动、中立 5 k5 @( ~0 y5 ~& O6 Q2 未知(NPC设为2) $ m0 D/ ?. K+ v# D4 dMaDa_Boneper NPC名字(character.inc可以查看修改) 8 i+ S+ ?9 k$ X% |9 {) a+ W* _1 下面两个未知第一个设置为1第二个为0 4 \- a) y3 ~# m5 L" d& W; m# ^( R- s0 ) r4 a+ o0 T2 K7 G1 B+ ]4 K# R+ q--------------- 分隔线必须有& d3 O) Y4 g- J
( p5 h4 G; F; q$ N9 h$ d2 VSo the first part that says 5 is object type. & `4 S% e1 C" \5 is mover(NPC/MOB). 5 `5 p2 C# M( b9 ?; S3 E. o6 Z% V9 N% i. }' `! p
The second part is the Y Rotation Angle.- {: r& K! d d+ F8 v
- p2 [# S8 C: E$ A
The next three parts are the XYZ Axis Angles.+ z. ?5 m; f* T! c
These are usually left blank.0 W! O3 Z6 _4 }; N! N. X# }- N
/ A' }9 T" d. y$ ?
Next three parts after Angles are Position XYZ.6 u( b: S8 G s S
Keep in mind that Y is height instead of Z.: Y: L# O; K( b4 v$ y" O: I/ x
) I( g2 d4 Y$ A+ z, s+ }, f
Next three parts after Position is XYZ scale. % @/ F$ {9 P: y& p0 K1 A7 ?$ R* A7 x+ A1 ?; W0 ^
Next is Set AI. # k- H5 C: w* f: {4 vNPCs are set as Pet which is 5.- P0 S8 W, A; u/ X3 w { @
) @% |% }& |( q" h& TAfter that comes Model ID. ' r9 z& j/ Q: g N / z3 k$ T5 S9 @% N3 VNext is an unknown int that when on NPCs is set to -1. % ~* o9 R8 l. Q5 e0 B/ Y4 b$ _3 d) R+ U
After that comes AI Type where 0 is non-moving, neutral. m1 z. C$ o; y! t& e/ [9 M6 J# r. m( X9 H) N! t3 ^- [( d& m
Next is another unknown which is set to 2 on NPCs.. _& p; c+ p. T' w
( J& d( y- e+ \4 t& g# l
Next is the name of the NPC. ; t8 I* v7 i* F9 k. l: }$ U* UTo see what name an NPC has, you can check either in character.inc or the dialog files. 4 ~6 \% J2 ?. x7 v* H) v, V( Y9 h ; y% y7 M. f" U1 q/ n2 gNext two are unknowns where the first is set to 1 and the second to 2 on NPCs.! `: ~+ M' V2 P6 w8 g4 |) V
9 W O4 {& J' Y. Z5 r# x) p
Last is a separator necessary for the writer. / V' c/ D* |# w4 C1 ?% g: ^7 e5 {: A B' [0 g) b2 g
NOTE! The last line of the the whole thing MUST be a object type which is set to -1!- a' d2 ~5 _' B
( @( @3 @; f* A; J5 |8 [
--------------------------------------------2 z4 F- T, y0 h# ^! o0 v
0 I* Y, C8 B" ], g-Shortcuts- " S' u( p) k1 y1 q9 i: n/ ?- ~% F6 k) `, J
While editing inside the textbox, you can either right-click or press any of these keys to get & m. \( R4 l. w4 o. L3 q0 hdesired function:/ |5 k! \% e3 c" m6 R4 N2 v- ~
9 X& i. n- l9 PCtrl+F = Find+ q" h& a6 z0 e# T/ G
Ctrl+H = Replace. ~$ G2 A) D8 U' y) F
Ctrl+A = Select All9 i7 _. ^; V6 ^
" G, n( ^! G2 q! U3 d4 e5 y-------------------------------------------- ) E G+ s( p( c& J1 B' C) ~$ N - g/ i: b1 V% p-ChangeLog- + B9 a7 ?# C" s3 | " m! B& t; P, p% v* m' H% L: ^( X1.1 - Initial Release. ) A6 U. x2 j# F* f1 L/ {5 f1 d1.2 - Added options for search, select and replace. ! h" m: i% m# s* I3 X& L( W% Q4 d' {0 d9 ?
-------------------------------------------- # v( D) @3 f/ W$ o5 a( }( L 6 T1 ~# q Q1 S* }2 v* C/ WThank you for reading and downloading!* f' x7 r: o* L0 |
Please comment all the bugs you can find.1 _; R8 A8 }6 w; ?5 c. S }0 ~
- W: g* G- y- o3 @! |% sProof and a little preview of what you can accomplish: 6 ~% I6 D1 K6 t- N5 h) C. r# j khttp://www.swegrafix.net/upload/files/leafevent.png$ u9 {! K& W( d( x. W
(Old-school players will recognize this) ! C2 R( p* t x G/ ^$ c+ |0 f% k& M. `3 l