Posts: 656
Threads: 115
Joined: Nov 2008
ok this is for my DBZ mod. i have created a character called freiza were he has this move were he summons out a big ball and throws it onto the ground. the problem is that you can see that ball go all the way through the ground and it looks weird. now i want to no if its possible to stop the ball going through the ground or do i have to just time the dvx and dvy at the correct time.
SUPER B*NER: :3
Thanks given by:
Posts: 1,708
Threads: 34
Joined: Mar 2008
Imagine this char throws a weapon.
If this weapon touches the ground it won't go further.
Now just change the normal weapon sprites into the ball sprites.
Thanks given by:
Posts: 656
Threads: 115
Joined: Nov 2008
02-21-2009, 06:47 PM
(This post was last modified: 02-21-2009, 06:47 PM by Madara Uchiha.)
no i mean its an attack, i mean like ball like state: 3000
SUPER B*NER: :3
Thanks given by:
Posts: 1,708
Threads: 34
Joined: Mar 2008
Fine
You can apply state: 3000 in weapon datas too.
Thanks given by:
Posts: 656
Threads: 115
Joined: Nov 2008
you still don't understand, i made a ball with state: 3006 its in the air then goes to the ground the probelm is it instead of hitting then ground the disappearing, it just keeps flying down is their a way to stop this?
SUPER B*NER: :3
Thanks given by:
Posts: 1,708
Threads: 34
Joined: Mar 2008
I fully understood this. From the first place on.
I already wrote a solution actually:
Make the ball not a t3 object but rather a weapon, so that LF2 automatically recognizes when this weapon touches the ground. Then you can use the on ground-frames as explosion or whatsoever.
Thanks given by:
Posts: 1,696
Threads: 60
Joined: Jan 2009
It's the type of the object: Type:3 (balls) don't touch ground, they fly through always (had same problem as i tried to design an ice hail XD).
You should change it to type:2 or something in the data.txt, that would be a heavy-object (like a stone), which of course hits ground.
Version 1.10 out now!
Version 1.02 out now!
Version 1.22 out now!
Return (String) System.getNewsOfTheDay();
Barely active, expect slow responses. If at all.
Greetz,
Alblaka
Thanks given by:
Posts: 656
Threads: 115
Joined: Nov 2008
ok i am confused, do i create a ball or a weapon?
SUPER B*NER: :3
Thanks given by:
Posts: 1,696
Threads: 60
Joined: Jan 2009
You could try to change the "type" in the data.txt
Turn it to "2" and we will see what happens... in best case it will impact on ground then, in worst case it will screw up the ball XD
Version 1.10 out now!
Version 1.02 out now!
Version 1.22 out now!
Return (String) System.getNewsOfTheDay();
Barely active, expect slow responses. If at all.
Greetz,
Alblaka
Thanks given by:
Posts: 1,003
Threads: 3
Joined: Mar 2008
create a weapon(type: 1) with the same frames as your currently ball has... and then add frame: 60... that frame is activated when your object hits the ground...
it isn't difficult
Thanks given by: