Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Transformation in LF2
#1
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:

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]
Reply
Thanks given by:
#2
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].

[Image: 1201013.jpeg]
Reply
Thanks given by:
#3
<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
Reply
Thanks given by:
#4
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>
Reply
Thanks given by:
#5
- 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/da...characters
especially the 'Type 0 - Frame Header' should help you with these basics
Reply
Thanks given by:
#6
dude tobu, read some tuts and then try.. btw he dont wants his char to transform into the caught char @Gad.
Reply
Thanks given by:
#7
@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...

Reply
Thanks given by:
#8
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.
Reply
Thanks given by:
#9
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)
Reply
Thanks given by: Tobruk
#10
(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.
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)