Allright.
To not confuse you i will start which .dat means what and edit the other parts.
Jan.dat:
This is the main data. All the spawning stuff is written there and also the walking and all that basic stuff.
Jan_Chase.dat:
This is where the ball is defined, that should be spawned when a specific line in the Jan.dat gets activated.
Jan_Chaseh.dat:
Look above.
Jan_Chase is the attacking one of Jans spawning thingys.
Jan_Chaseh is the healing one. That's what the H stands for.
I'll now edit which lines does what and what exactly you have to copy. This will take about 5-10 additional minutes.
DC-Code:
<frame> 240 standing
pic: 100 state: 3 wait: 2 next: 241 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 mp: 200
sound: data\018.wav
wpoint:
kind: 1 x: 42 y: 46 weaponact: 30 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 21 y: 18 w: 43 h: 62
bdy_end:
<frame_end>
<frame> 241 standing
pic: 101 state: 3 wait: 1 next: 242 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 41 y: 47 weaponact: 30 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 21 y: 18 w: 43 h: 62
bdy_end:
<frame_end>
<frame> 242 standing
pic: 102 state: 3 wait: 1 next: 243 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
sound: data\055.wav
wpoint:
kind: 1 x: 41 y: 46 weaponact: 30 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 21 y: 18 w: 43 h: 62
bdy_end:
<frame_end>
<frame> 243 standing
pic: 132 state: 3 wait: 2 next: 244 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
sound: data\052.wav
wpoint:
kind: 1 x: 41 y: 46 weaponact: 30 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 21 y: 18 w: 43 h: 62
bdy_end:
<frame_end>
<frame> 244 standing
pic: 133 state: 3 wait: 2 next: 245 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 40 y: 46 weaponact: 30 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 21 y: 18 w: 43 h: 62
bdy_end:
<frame_end>
<frame> 245 standing
pic: 132 state: 3 wait: 2 next: 246 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
opoint:
kind: 1 x: 44 y: 14 action: 50 dvx: 0 dvy: -10 oid: 219 facing: 0
opoint_end:
wpoint:
kind: 1 x: 41 y: 46 weaponact: 30 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 21 y: 18 w: 43 h: 62
bdy_end:
<frame_end>
|
The first lines are just some Animation stuff but you need atleast 1 frame before the last frame CAUSE Opoints will NEVER work in the first frame.
So when it's really getting interesting is Frame 245.
I am actually quite sorry that all Frames are titled as "Standing". Dunno what's wrong with my .dats
DC-Code:
<frame> 245 standing
pic: 132 state: 3 wait: 2 next: 246 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
opoint:
kind: 1 x: 44 y: 14 action: 50 dvx: 0 dvy: -10 oid: 219 facing: 0
opoint_end:
wpoint:
kind: 1 x: 41 y: 46 weaponact: 30 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 21 y: 18 w: 43 h: 62
bdy_end:
<frame_end>
|
Do note that there is an opoint in it.
Check the Mainsite for opoint references.
oid: tells the lf2.exe that something is spawned.
219 is the id that shall be spawned.
Which oid you have to use is written in the data.txt
Look it up and search for:
id: 219 type: 3 file: data\jan_chaseh.dat
See oid: 219 tells the exe to spawn the healing chase doves that jan uses.
Copy it into john.dat and adjust the hit_Fa:
Probably you have to change the Frame numbers cause john already got a pair of 245 frames.
That sounded wrong but there cant be 2 frames with the same frame number.
So rename the Frame number of jans to something like 350.
Make sure to edit the next: also so it doesnt link to a frame that john uses for force fields or something like that.
Make sure to check out opoints on the mainsite.