YesNoOk
avatar

Some questions. (Read 1059 times)

Started by Saohc, June 12, 2010, 12:14:10 am
Share this topic:
Some questions.
#1  June 12, 2010, 12:14:10 am
  • ****
  • Working on MGS1 Snake's VR missions in MGS2
    • USA
I'm working on(and finishing up) my character, LucasX3(Dark) and I have a couple of questions.

1.I added a new power charge move to him and he has a power charge sound the lasts 20 seconds, how can I make it where the sound stops when he is hit while he is using the power charge move?

2.I have added a -2 state that plays a sound when he has low health, but it doesn't play all the time(I think)
Here is the code:
Code:
;Danger!
[State -2, PlaySnd]
type = PlaySnd
trigger1 = life < 350
value = 9067,0
volume = 255
the sound number is correct.Is there anything that needs to be changed in the code?

3.How do you make it where if a helper is attacked, they disappear?

Would choosing me for the question thread be a
unique experience?  I can't really say.
Re: Some questions.
#2  June 12, 2010, 12:55:57 am
  • ****
  • Busy, busy, busy
    • www.trinitymugen.net/forum/index.php
This might not help and I apologize if it doesnt, but for the sound. But an S in front of it. S9067, 0.

-
http://www.Trinitymugen.net/Hosted/CFJ2/
-
thanks again Vans/Jesuszilla!
Re: Some questions.
#3  June 12, 2010, 01:01:23 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Your sound is going to restart every tick like that. Have a helper manage it.

Put it in channel 0. That turns sounds off when you're hit.

[mcode]hitoverride[/mcode]


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Some questions.
#4  June 12, 2010, 01:23:10 am
  • ****
  • Working on MGS1 Snake's VR missions in MGS2
    • USA
I tryed this code:
Code:
[State 9090, StopSnd]
type = StopSnd
trigger1 = hitoverride
channel = 0

It probably won't work  :P

What should the helper's code be?

Now a answer to question 3, because if I get that out of the way, my character should be even better.

Would choosing me for the question thread be a
unique experience?  I can't really say.
Re: Some questions.
#5  June 12, 2010, 01:46:22 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
hitoverride is the answer to 3. Click and read...

Just make a helper and have it check the life of the parent. Play the sound when their health is low and set persistent to 0 so it only happens once.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Some questions.
#6  June 12, 2010, 01:56:12 am
  • ****
  • Working on MGS1 Snake's VR missions in MGS2
    • USA
No, I think "lightmatt" mentioned this to be once..

Quote
The attack sprites are have different elements that are not in the main pallette which causing once again to fuck the colors in the sprite after that sprite. I recommend you split the attack sprites from the base and the attack sprite like this:

Base Sprite



Split verisons

     

Now all you have to do is use a helper to summon the attack and the palette won't mess up unless you made the attack sprite(second image) share the same palette.

Another thing you would want to do is crop your sprites.

Animations

Attack animations don't need a blue box around the attack itself, because it'll make no sense(Cus it'll hurt Lucus himself). This is why you should use helpers that way the animations for the helpers can have a Hitoverride sctrl to cause the helpers to switch to a disappearing animation to act like it was hurt and left the screen in which then you can place a blue box around the attack.



This is one of things i'm trying to figure out how to do, so the character can be better.

Would choosing me for the question thread be a
unique experience?  I can't really say.
Re: Some questions.
#7  June 12, 2010, 02:37:23 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Yeah, he's wrong if that's your problem. What matters is the palette on the effect. Not whether it's created with ownpal.

Take your character. Make one big sheet with every colour he uses. Make a palette with that.

Take your effect. Make a big sheet with every colour that uses, make a palette with that. Apply the effect pallete to the effect. When you add it to the sff. Add it after!!! every sprite that has the "shared palette" box checked and do not check "shared palette" when you add them.

Have you ever followed a tutorial through? If you haven't, do so. If you have, do it again anyway.

Oh and
Quote
Attack animations don't need a blue box around the attack itself, because it'll make no sense(Cus it'll hurt Lucus himself).
Ignore every piece of advice this person gives you from now on. The above is WRONG utterly and completely. You DO put clsn2's around clsn1's so as to prevent infinite priority and you cannot hurt yourself by doing this. Ever.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Some questions.
#8  June 12, 2010, 03:01:18 am
  • ****
  • Working on MGS1 Snake's VR missions in MGS2
    • USA
Yeah, he's wrong if that's your problem. What matters is the palette on the effect. Not whether it's created with ownpal.

Take your character. Make one big sheet with every colour he uses. Make a palette with that.

Take your effect. Make a big sheet with every colour that uses, make a palette with that. Apply the effect pallete to the effect. When you add it to the sff. Add it after!!! every sprite that has the "shared palette" box checked and do not check "shared palette" when you add them.

Have you ever followed a tutorial through? If you haven't, do so. If you have, do it again anyway.

Oh and
Quote
Attack animations don't need a blue box around the attack itself, because it'll make no sense(Cus it'll hurt Lucus himself).
Ignore every piece of advice this person gives you from now on. The above is WRONG utterly and completely. You DO put clsn2's around clsn1's so as to prevent infinite priority and you cannot hurt yourself by doing this. Ever.

Well actually, when you attack whatever comes out of the warp hole, instead of just disappearing, it disappears and Lucas gets hurt in process.

Would choosing me for the question thread be a
unique experience?  I can't really say.
Re: Some questions.
#9  June 12, 2010, 03:16:00 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
So you have a helper with affectteam = B on it which means it can hurt anything. That's entirely different to putting a clsn2 around a punch animation.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Some questions.
#10  June 12, 2010, 03:19:24 am
  • ****
  • Working on MGS1 Snake's VR missions in MGS2
    • USA
No, I haven't changed the attacks to helpers yet.

Would choosing me for the question thread be a
unique experience?  I can't really say.
Re: Some questions.
#11  June 12, 2010, 03:26:58 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
What in the blue hell is "coming out of the warp hole" then. A projectile? Fine, you have a projectile with affectteam = B on it. You have SOMETHING that's letting you get hurt. I don't give a toss what it is.

You'd probably get hurt if you walked into it.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Some questions.
#12  June 13, 2010, 02:23:40 am
  • ****
  • Working on MGS1 Snake's VR missions in MGS2
    • USA
What in the blue hell is "coming out of the warp hole" then. A projectile? Fine, you have a projectile with affectteam = B on it. You have SOMETHING that's letting you get hurt. I don't give a toss what it is.

You'd probably get hurt if you walked into it.

 ::)

A attack is what comes out of the warp hole, which a attack is a substitution for a punch or a kick.

Would choosing me for the question thread be a
unique experience?  I can't really say.
Re: Some questions.
#13  June 13, 2010, 02:49:43 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
If you're going to be cryptic on purpose then bugger off. This is a forum for help, not to argue about things you obviously don't know anything about.

If your punch has affectteam = B on it and you have a clsn1 and clsn2 overlapping it does not hurt you.

Therefore if your warphole CAN hurt you it is either a helper or a projectile. Now stop being a dick.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Some questions.
#14  June 13, 2010, 08:11:17 pm
  • ****
  • Working on MGS1 Snake's VR missions in MGS2
    • USA
What's I'm trying to say is..



Each regular attack  is one single sprite with LucasX3(Dark),warp hole, and whatever comes out of the warp hole, all the CLSNs are correct, though.

Would choosing me for the question thread be a
unique experience?  I can't really say.
Re: Some questions.
#15  June 13, 2010, 08:17:33 pm
  • ****
  • Busy, busy, busy
    • www.trinitymugen.net/forum/index.php
Its a projectile then right? Or does it only hit that one area?

If it is a projectile, split the sprite so that the projectile is separate and code it like a projectile.

-
http://www.Trinitymugen.net/Hosted/CFJ2/
-
thanks again Vans/Jesuszilla!
Re: Some questions.
#16  June 14, 2010, 04:39:19 am
  • ****
  • Working on MGS1 Snake's VR missions in MGS2
    • USA
:omg: No.

It isn't a projectile.

Now, Cyanide, I tryed changing the "channel" in the code for the sound and it isn't working.

I tryed adding this code I found in CHOUJIN's Son Goku character
Code:
[state -2, stop charge sound]
type = stopsnd
trigger1 = stateno != 9090
channel = 0

and it isn't working, I've got the correct state number, but the sound still plays.

I mananged to fix the problem with the "Danger" sound not playing.
But if I could get this done, things will be easier.
and what I meant was, that when whatever creature that LucasX3(Dark) summons out of the warp(and it's one sprite too, instead two sprites.)hole appears and gets attacked, end instead of the creature or whatever(which is not a helper)it ends up to be just disppearing, the creature or whatever comes out of the warp hole disappears and LucasX3(Dark) loses health in the process

Would choosing me for the question thread be a
unique experience?  I can't really say.
Last Edit: June 14, 2010, 04:45:10 am by Luigi1632
Re: Some questions.
#17  June 14, 2010, 07:51:18 pm
  • ****
  • Working on MGS1 Snake's VR missions in MGS2
    • USA
Well?
I explained it for you the best I could..

Would choosing me for the question thread be a
unique experience?  I can't really say.
Re: Some questions.
#18  June 14, 2010, 08:13:16 pm
  • *****
  • Mega Klinklang confirmed
    • USA
    • ricepigeon.webs.com
What's I'm trying to say is..



Each regular attack  is one single sprite with LucasX3(Dark),warp hole, and whatever comes out of the warp hole, all the CLSNs are correct, though.

Of course its going to hurt the character when somebody attacks the projectile. Because the projectile is considered to be a part of the character given the screenshot you just showed us and is, in fact, not a projectile at all.

Also something needs to be done about that CLSN2 and CLSN2Default conflict or you're going to have some missing hitboxes.

<<-- Updated 09/14/14

You limit yourself so badly when you try to avoid variables. When you get over your fear of the "complexity" of variables, you will find yourself in a better place: A beautiful world where coding is actually fun.
Re: Some questions.
#19  June 14, 2010, 08:17:49 pm
  • ****
  • Working on MGS1 Snake's VR missions in MGS2
    • USA
It is not a projectile.

In the animation:

First there is LucasX3(Dark)'s stand sprite
Then there is a sprite with LucasX3 and the warp hole.
and then there is the sprite with LucasX3, the warp hole and the attack.

What I'm trying to do is split the sprites, have a helper manage the attack and by the way, how do you make a character stand still until the helper is gone?

Would choosing me for the question thread be a
unique experience?  I can't really say.
Re: Some questions.
#20  June 14, 2010, 08:24:36 pm
  • *****
  • Mega Klinklang confirmed
    • USA
    • ricepigeon.webs.com
It is not a projectile.

In the animation:

First there is LucasX3(Dark)'s stand sprite
Then there is a sprite with LucasX3 and the warp hole.
and then there is the sprite with LucasX3, the warp hole and the attack.

What I'm trying to do is split the sprites, have a helper manage the attack and by the way, how do you make a character stand still until the helper is gone?

[mcode]numhelper[/mcode]

<<-- Updated 09/14/14

You limit yourself so badly when you try to avoid variables. When you get over your fear of the "complexity" of variables, you will find yourself in a better place: A beautiful world where coding is actually fun.
Re: Some questions.
#21  June 14, 2010, 08:28:17 pm
  • ****
  • Working on MGS1 Snake's VR missions in MGS2
    • USA
It is not a projectile.

In the animation:

First there is LucasX3(Dark)'s stand sprite
Then there is a sprite with LucasX3 and the warp hole.
and then there is the sprite with LucasX3, the warp hole and the attack.

What I'm trying to do is split the sprites, have a helper manage the attack and by the way, how do you make a character stand still until the helper is gone?

[mcode]numhelper[/mcode]
That code will make it where LucasX3 cannot move until the helper is gone?

Would choosing me for the question thread be a
unique experience?  I can't really say.