Little Fighter Empire - Forums
[solved] is it possible to... - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11)
+---- Forum: Solved Problems (https://lf-empire.de/forum/forumdisplay.php?fid=14)
+---- Thread: [solved] is it possible to... (/showthread.php?tid=5904)



[solved] is it possible to... - Kenta - 12-25-2010

... make and normal attak have an element ?

well, first at all, hello to everybody : D im very new here ^^
my question is, can i add - for example - firens normal attaks the fire element? i tried to add effect: 2 to his code, but nothing happend at all ..



RE: is it possible to... - prince_freeza - 12-25-2010

hello there and welcome to lfe, i am not sure what is your question exactly, do you mean can you add the effect: 2 which is fire to other char attacks? if thats the case then yes, unless you mean something else


RE: is it possible to... - Kenta - 12-25-2010

well.. 1st at all thanks for the fast answer...
2nd is sry 4 my bad englisch .. : D

well, what i try to explain is, when firen attaks with a normal punch, and hits a enemy, can the enemy burn?
or for other example, when freeze attaks someone with his standard punch and hits somebody, can i make that the enemy is frozen ?
want to add same effect that is used for the balls of them


RE: is it possible to... - prince_freeza - 12-25-2010

yes it can be done for sure, i think you add the "effect: 3/2" somewhere in the punching frames.
but i am no dcer, so you should ask one ;)


RE: is it possible to... - Kenta - 12-25-2010

well.. i tried it already .. ^^
<frame> 60 punch
pic: 10 state: 3 wait: 2 next: 61 dvx: 1 dvy: 0 dvz: 0 centerx: 37 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 effect: 2
itr:
kind: 2 x: 21 y: 57 w: 37 h: 24 vrest: 1

itr_end:
bdy:
kind: 0 x: 26 y: 12 w: 27 h: 68
bdy_end:
<frame_end>

i added there the effect: 2, but nothing happend ..
of course i added it in every other frame too, to try it :'D but nothing happend at all ..
do i have to add the effect somewhere other ..? or .. did i done something else wrong.. ?


RE: is it possible to... - Silverthorn - 12-25-2010

Hi Kenta, welcome to the LFE Forums!

As for your question, you can easily add the fire or ice-effect into your attacks. Below, you can see the respective fire-punch-action. It is important to write it in an itr with "kind: 0", as the other ones do something else than damaging the opponent.

    DC-Code:
<frame> 61 punch
   pic: 11  state: 3  wait: 3  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 36  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
  sound: data\007.wav 
   itr:
      kind: 0  x: 33  y: 33  w: 42  h: 16  dvx: 2  bdefend: 16  injury: 20  effect: 2
   itr_end:
   bdy:
      kind: 0  x: 25  y: 11  w: 35  h: 69
   bdy_end:
<frame_end>
 
<frame> 66 punch
   pic: 13  state: 3  wait: 3  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 34  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
  sound: data\007.wav 
   itr:
      kind: 0  x: 42  y: 4  w: 33  h: 52  dvx: 2  bdefend: 16  injury: 20  effect: 2
   itr_end:
   bdy:
      kind: 0  x: 25  y: 12  w: 37  h: 69
   bdy_end:
<frame_end>


You can exchange the effects with others if you wish. A list of available effects is visible here: http://www.lf-empire.de/en/lf2-empire/data-changing/reference-pages/181-effects


RE: is it possible to... - prince_freeza - 12-25-2010

i think it should be within the itr or the bdy...
EDIT: bp ninja'd me :p


RE: is it possible to... - Kenta - 12-25-2010

haha, kk thank you guys for your fast answers : D