Transformation in LF2 - Tobruk - 03-07-2012
Hello.
I want to make Bandit, who, when keep the enemy in hands (you know) can transform in concrete type of player (do NOT confuse with rudolf power of transform!!!!!).
I paste this code of Rudolf's power to Bandit.dat but I don't know how edit this to my plan:
<frame> 300 transform
pic: 280 state: 15 wait: 2 next: 301 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
sound: data\063.wav
wpoint:
kind: 1 x: 37 y: 46 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 301 transform
pic: 281 state: 15 wait: 2 next: 302 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 80 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 37 y: 46 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 302 transform
pic: 282 state: 15 wait: 2 next: 303 dvx: 0 dvy: 0 dvz: 0 centerx: 41 centery: 82 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 37 y: 46 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 303 transform
pic: 283 state: 15 wait: 1 next: 320 dvx: 0 dvy: 0 dvz: 0 centerx: 40 centery: 84 hit_a: 0 hit_d: 0 hit_j: 0
sound: data\090.wav
wpoint:
kind: 1 x: 37 y: 46 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 304 transform
pic: 284 state: 9996 wait: 3 next: 305 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 84 hit_a: 0 hit_d: 0 hit_j: 0
sound: data\020.wav
opoint:
kind: 1 x: 73 y: 44 action: 50 dvx: 0 dvy: 0 oid: 204 facing: 0
opoint_end:
wpoint:
kind: 1 x: 37 y: 46 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 305 transform
pic: 285 state: 15 wait: 3 next: 306 dvx: 0 dvy: 0 dvz: 0 centerx: 41 centery: 80 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 37 y: 46 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 306 transform
pic: 286 state: 15 wait: 2 next: 307 dvx: 0 dvy: 0 dvz: 0 centerx: 38 centery: 77 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 37 y: 46 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 307 transform
pic: 287 state: 15 wait: 2 next: 308 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 37 y: 46 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 308 transform
pic: 288 state: 15 wait: 4 next: 309 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
sound: data\007.wav
wpoint:
kind: 1 x: 37 y: 46 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 309 transform
pic: 289 state: 15 wait: 3 next: 310 dvx: 0 dvy: 0 dvz: 0 centerx: 34 centery: 78 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 37 y: 46 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 310 transform
pic: 290 state: 15 wait: 2 next: 311 dvx: 0 dvy: 0 dvz: 0 centerx: 34 centery: 78 hit_a: 0 hit_d: 0 hit_j: 0
sound: data\083.wav
wpoint:
kind: 1 x: 37 y: 46 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 311 transform
pic: 291 state: 15 wait: 1 next: 312 dvx: 0 dvy: 0 dvz: 0 centerx: 34 centery: 78 hit_a: 0 hit_d: 0 hit_j: 0
sound: data\083.wav
wpoint:
kind: 1 x: 37 y: 46 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 312 transform
pic: 292 state: 15 wait: 1 next: 313 dvx: 0 dvy: 0 dvz: 0 centerx: 34 centery: 78 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 37 y: 46 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 313 transform
pic: 293 state: 15 wait: 1 next: 314 dvx: 0 dvy: 0 dvz: 0 centerx: 34 centery: 78 hit_a: 0 hit_d: 0 hit_j: 0
sound: data\083.wav
wpoint:
kind: 1 x: 37 y: 46 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 314 transform
pic: 294 state: 15 wait: 1 next: 315 dvx: 0 dvy: 0 dvz: 0 centerx: 34 centery: 78 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 37 y: 46 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 315 transform
pic: 295 state: 15 wait: 1 next: 316 dvx: 0 dvy: 0 dvz: 0 centerx: 34 centery: 78 hit_a: 0 hit_d: 0 hit_j: 0
sound: data\083.wav
wpoint:
kind: 1 x: 37 y: 46 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 316 transform
pic: 296 state: 15 wait: 2 next: 317 dvx: 0 dvy: 0 dvz: 0 centerx: 27 centery: 77 hit_a: 0 hit_d: 0 hit_j: 0
sound: data\007.wav
wpoint:
kind: 1 x: 37 y: 46 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 317 transform
pic: 297 state: 15 wait: 2 next: 318 dvx: 0 dvy: 0 dvz: 0 centerx: 26 centery: 77 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 37 y: 46 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 318 transform
pic: 298 state: 15 wait: 5 next: 319 dvx: 0 dvy: 0 dvz: 0 centerx: 26 centery: 77 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 37 y: 46 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 319 transform
pic: 299 state: 9995 wait: 10 next: 999 dvx: 0 dvy: 0 dvz: 0 centerx: 26 centery: 77 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 37 y: 46 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 320 transform
pic: 300 state: 15 wait: 1 next: 304 dvx: 0 dvy: 0 dvz: 0 centerx: 40 centery: 84 hit_a: 0 hit_d: 0 hit_j: 0
opoint:
kind: 1 x: 1 y: 44 action: 51 dvx: 0 dvy: 0 oid: 204 facing: 1
opoint_end:
wpoint:
kind: 1 x: 37 y: 46 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
Also I paste in beginning of .dat file this:
Code: file(280-349): sprite\sys\kowal_2.bmp w: 79 h: 79 row: 10 col: 2
Do you help me?[/spoiler]
RE: Transformation in LF2 - Tobruk - 03-07-2012
I must do, that when Bandit (here: Kowal) catch other player, and push D + J + A, he transform to concrete type of player (for example bat). It's don't work, because when I push this buttons, nothing happend.
ALSO: I copy this framesets from Rudolf "transform" and I DON'T want situaction, when player transfor into this type of player, who keepin' in hands! [it's important].
RE: Transformation in LF2 - YinYin - 03-07-2012
<frame> 121
hit_ja: #number#
<frame> #number#
state: 8###
###=id of the character to transform into
just be careful because this will make the character use sprites from 140 onwards isntead of 0 (ie using the secondary sprites on minions = bandit with blue bandana etc)
edit: there is none of rudolfs transform code required
RE: Transformation in LF2 - Tobruk - 03-07-2012
I'm totally newbie in data changing and I have some questions:
- where I get an ID of charakter
- how make an animation of transform
- eeee. what's that: "#number"? any explain?
edit: this is okay?
Code: <frame> 400 transform-to-hungry-kowal
hit_ja: 8038
bdy:
kind: 0 x: 21 y: 18 w: 43 h: 62
bdy_end:
</frame_end>
<frame> 401 transform-to-hungry-kowal
state: 8038
bdy:
kind: 0 x: 21 y: 18 w: 43 h: 62
bdy_end:
</frame_end>
RE: Transformation in LF2 - YinYin - 03-07-2012
- where I get an ID of charakter
data.txt
- how make an animation of transform
connect frames with next:
DC-Code:
<frame> 110 defend
hit_ja: 301
...
<frame_end>
<frame> 301 transform-to-hungry-kowal
state: 8038
...
<frame_end>
|
i think id 38 is bat or justin
please read a little more on the main site
http://www.lf-empire.de/en/lf2-empire/data-changing/types/167-type-0-characters
especially the 'Type 0 - Frame Header' should help you with these basics
RE: Transformation in LF2 - Rhino.Freak - 03-08-2012
dude tobu, read some tuts and then try.. btw he dont wants his char to transform into the caught char @Gad.
RE: Transformation in LF2 - Tobruk - 03-08-2012
@Rhino.Freak you're right.
i made this:
Code: <frame> 121 catching
pic: 50 state: 9 wait: 0 next: 0 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_ja: 278 hit_a: 0 hit_d: 0 hit_j: 0 hit_Ua: 300 hit_Da: 274
cpoint:
kind: 1 x: 64 y: 35
vaction: 130 aaction: 122 taction: -232 throwvz: -842150451 hurtable: 1 throwinjury: -842150451 decrease: -7
cpoint_end:
wpoint:
kind: 1 x: 47 y: 41 weaponact: 35 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 19 y: 15 w: 28 h: 65
bdy_end:
<frame_end>
<frame> 278 transform_hungry
pic: 280 state: 9 wait: 0 next: 279 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
cpoint:
kind: 1 x: 64 y: 35
vaction: 130 aaction: 122 taction: -232 throwvz: -842150451 hurtable: 1 throwinjury: -842150451 decrease: -7
cpoint_end:
<frame_end>
<frame> 279 transform_hungry
pic: 281 state: 9 wait: 0 next: 280 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
cpoint:
kind: 1 x: 64 y: 35
vaction: 130 aaction: 122 taction: -232 throwvz: -842150451 hurtable: 1 throwinjury: -842150451 decrease: -7
cpoint_end:
<frame_end>
<frame> 280 transform_hungry
pic: 282 state: 9 wait: 0 next: 281 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
cpoint:
kind: 1 x: 64 y: 35
vaction: 130 aaction: 122 taction: -232 throwvz: -842150451 hurtable: 1 throwinjury: -842150451 decrease: -7
cpoint_end:
<frame_end>
<frame> 281 transform_hungry
pic: 283 state: 9 wait: 0 next: 282 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
cpoint:
kind: 1 x: 64 y: 35
vaction: 130 aaction: 122 taction: -232 throwvz: -842150451 hurtable: 1 throwinjury: -842150451 decrease: -7
cpoint_end:
<frame_end>
<frame> 282 transform_hungry
pic: 284 state: 9 wait: 0 next: 283 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
cpoint:
kind: 1 x: 64 y: 35
vaction: 130 aaction: 122 taction: -232 throwvz: -842150451 hurtable: 1 throwinjury: -842150451 decrease: -7
cpoint_end:
<frame_end>
<frame> 283 transform_hungry
pic: 285 state: 9 wait: 0 next: 284 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
cpoint:
kind: 1 x: 64 y: 35
vaction: 130 aaction: 122 taction: -232 throwvz: -842150451 hurtable: 1 throwinjury: -842150451 decrease: -7
cpoint_end:
<frame_end>
<frame> 284 transform_hungry
pic: 286 state: 9 wait: 0 next: 285 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
cpoint:
kind: 1 x: 64 y: 35
vaction: 130 aaction: 122 taction: -232 throwvz: -842150451 hurtable: 1 throwinjury: -842150451 decrease: -7
cpoint_end:
<frame_end>
<frame> 285 transform_hungry
pic: 287 state: 9 wait: 0 next: 286 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
cpoint:
kind: 1 x: 64 y: 35
vaction: 130 aaction: 122 taction: -232 throwvz: -842150451 hurtable: 1 throwinjury: -842150451 decrease: -7
cpoint_end:
<frame_end>
<frame> 286 transform_hungry
pic: 288 state: 9 wait: 0 next: 287 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
cpoint:
kind: 1 x: 64 y: 35
vaction: 130 aaction: 122 taction: -232 throwvz: -842150451 hurtable: 1 throwinjury: -842150451 decrease: -7
cpoint_end:
<frame_end>
<frame> 287 transform_hungry
pic: 289 state: 9 wait: 0 next: 288 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
cpoint:
kind: 1 x: 64 y: 35
vaction: 130 aaction: 122 taction: -232 throwvz: -842150451 hurtable: 1 throwinjury: -842150451 decrease: -7
cpoint_end:
<frame_end>
<frame> 288 transform_hungry
pic: 290 state: 9 wait: 0 next: 289 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
cpoint:
kind: 1 x: 64 y: 35
vaction: 130 aaction: 122 taction: -232 throwvz: -842150451 hurtable: 1 throwinjury: -842150451 decrease: -7
cpoint_end:
<frame_end>
<frame> 289 transform_hungry
pic: 291 state: 9 wait: 0 next: 290 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
cpoint:
kind: 1 x: 64 y: 35
vaction: 130 aaction: 122 taction: -232 throwvz: -842150451 hurtable: 1 throwinjury: -842150451 decrease: -7
cpoint_end:
<frame_end>
<frame> 290 transform_hungry
pic: 292 state: 9 wait: 0 next: 291 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
cpoint:
kind: 1 x: 64 y: 35
vaction: 130 aaction: 122 taction: -232 throwvz: -842150451 hurtable: 1 throwinjury: -842150451 decrease: -7
cpoint_end:
<frame_end>
<frame> 291 transform_hungry
pic: 293 state: 0 wait: 0 next: 292 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
<frame_end>
<frame> 278 transform_hungry
pic: 294 state: 0 wait: 0 next: 293 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
<frame_end>
<frame> 293 transform_hungry
pic: 294 state: 8038 wait: 0 next: 0 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
<frame_end>
But transform don't occure!
Eh...
RE: Transformation in LF2 - Tobruk - 03-08-2012
i edit this and... completly nothing. don't work. maybe i should change to hit_[somethink but not _ja] 
edit: hit_Uj don't work too.
RE: Transformation in LF2 - YinYin - 03-08-2012
state 0 is the standing state - allows you to walk, thus cancel the sequence
also you cannot just stop having state 9 and cpoints and expect it to go on
copy and paste the cpoint into the last frames aswell - and give them state 9 (except for the very last one)
RE: Transformation in LF2 - Tobruk - 03-08-2012
(03-08-2012, 08:19 PM)YinYin Wrote: and give them state 9 (except for the very last one)
you talking about only state 9, or about cpoint TOO?
edit: okay, i understand. state 8038 in the last one. cpoint everywhere in transform_hungry... 
edit #2: well, it don't work. i used D+J+A (hit_ja) and D+J+up (hit_Uj). Nothink.
|