Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] is it possible to...
#1
... 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 ..
Reply
Thanks given by:
#2
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
"I'm the president of the shadow government
The grand governor of the federal reserve
Public enemy of the society
The one you cannot see the thirty three degree"
Reply
Thanks given by:
#3
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
Reply
Thanks given by:
#4
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 ;)
"I'm the president of the shadow government
The grand governor of the federal reserve
Public enemy of the society
The one you cannot see the thirty three degree"
Reply
Thanks given by:
#5
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.. ?
Reply
Thanks given by:
#6
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/da...81-effects
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#7
i think it should be within the itr or the bdy...
EDIT: bp ninja'd me :p

Silverthorn edited this post 12-25-2010 01:41 PM because:
And Kenta ninja'd me xD
"I'm the president of the shadow government
The grand governor of the federal reserve
Public enemy of the society
The one you cannot see the thirty three degree"
Reply
Thanks given by:
#8
haha, kk thank you guys for your fast answers : D
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)