Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
buff system
#1
I had this idea where Mark would have a move where he charges up, which powers up some of his special moves. I used the "stay shield" tutorial and got a status icon that sticks to him to work, then added a catching itr: at y: 8000 with caughtact: set to 310 and gave Mark a special bdy at the same height in certain frames and a (temporary) special attack starting at frame 310. But the icon doesn't catch the character, so the move isn't triggered. What am I doing wrong here?

Also, I noticed the icon's always facing the direction Mark was facing when he made it. Will that affect the direction Mark faces when he uses a powered-up special move? Cause that would be pretty useless.
Reply
Thanks given by:
#2
did you use state 18? otherwise the itr wont hurt the char.
Reply
Thanks given by:
#3
Oh, thanks. It catches him now, but the move is always executed to the left. Anything I can do about that?
Reply
Thanks given by:
#4
if it helps
Code:
next: -framenummer
turns your char around, can't help you more because i am not that experienced with DC ;)
[sig placeholder until my new sig is finished]
should totally allow people to be all trolley on their birthday :D
Reply
Thanks given by:
#5
It's because the OBject is on the same position as marc... Seems like that get used as "right of him" and therefore catches him in left direction.
To make it work properly, you should add some special bdys to make the Buff ALWAYS watch in the same direction as MArk.
Then he will either use the move in the correct or incorrect direction. If it's incorrect, add a negative next as Phil stated above ^^
My Creations: (Click to View)

Return (String) System.getNewsOfTheDay();
Barely active, expect slow responses. If at all.


Greetz,
Alblaka
Reply
Thanks given by:
#6
may I suggest a different solution?

Ok, you used the stay shield for the charge-up-image - activate the charge up with facing: 10 - this means objects are always activated to the right side, no matter which side the char is facing.

You can change the charge image simply with the wait, since the ik8 in the charge-image-frames dont change the frames if you set the frame number you just use in the dvx - it just correct the place (like the tutorial describe).

Now for the powerup your special move:
when the charge-images show that the charge is full you loop this frame (wait 0) and opoint out a hidden t0 object. this object stay there for wait 2 or so, then it disappear and it includes a bdy at y: 1000

Now for the move: I guess it starts with a normal combination like hit_ja and if it`s not charged up it`s a weak move and if it`s charged up it`s a stronger move. Ok, so the normal move shouldnt be a problem, in this move you note a ik8 one time at y: 1000, the dvx include the framenumber where the stronger move starts.

The direction of the move shouldn switch since the bdy / itr correspond but there`s no catch or so.

Hope this helps, and you get rid of the itr/k3 and state 18 problem.

Have fun ^^
[Image: random.php?pic=random]
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by:
#7
@Alblaka: How do I use special bdys to control where the buff's facing?
@MH-Razen: I don't get what you mean by hidden t0 object. Rudolf's invisibility? Empty sprite? Weird location? Rudolf's invisibility's the only one that hides the text beneath him, but won't that prevent the interaction? (iirc, Rudolf's attack makes him invincible too)
Thanks for the replies.
Reply
Thanks given by:
#8
with hidden t0 I mean a t0 with state 3005 and pic: 999 (which should be empty in all chars :p).

For the "Com"-Logo Problem: Hm, I used this stuff several times and think id 30 and so dont have the com-logo, but I didnt dc a long time so I'm not sure (even I forget stuff :(). If you make him invis with next: 1280 like rudolf it wont help, your char will be outta control and probably a new clone comes out after the invis time is over...

You can also overwrite the com-logo in the exe filem but I would only recommend this for a version - since I mostly code on klf2 I guess this was the version where it worked to hide the com...
[Image: random.php?pic=random]
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by:
#9
(01-13-2010, 12:27 AM)mammoth Wrote:  @Alblaka: How do I use special bdys to control where the buff's facing?

Guessed you would ask this ^^ I think i should my write a basic tut for that thingy...

*writes half'n'hour*

Here you go ^^
My Creations: (Click to View)

Return (String) System.getNewsOfTheDay();
Barely active, expect slow responses. If at all.


Greetz,
Alblaka
Reply
Thanks given by:
#10
Thanks a lot to both of you. I went with Albaka's idea in the end, but learning about invisibility was helpful too.
EDIT:
Damn it, still not working. I got the buff to switch directions, but Mark still moves to the left. Also, he goes underground. I'm at a loss here, could someone please check this?
http://www.mediafire.com/?zjtm2zynyhz (it's for v1.9)
Reply
Thanks given by:




Users browsing this thread: 3 Guest(s)