Posted by TheDragon
in How can I make a special unusable until a certain action is performed? (Started by TheDragon March 20, 2024, 04:30:49 am
Board: M.U.G.E.N Configuration Help
Board: M.U.G.E.N Configuration Help
Well, there's another line you should see:If you want the helper also see the same side your char see, then change -1 for 1 and the helper will face the same as the playerCode:facing = -1
Nope, he refers to Helper sctrl itself. There's a line called postype which is where your helper will appear. In the case you mentioned, originally the heper appears behind the character, that's mean "back", and what you want to do is to make him appear "front" the character.
Here's an example. this is the Helper sctrl I use for one of my Scott Pilgrim's helpers appearing in front of my char and behind the opponent:Code:[State 1101, Wallace]So, in your Helper sctrl you've to get postype = front to get the efect you desire (if it's not added, you've to add it by yourself)
type = Helper
trigger1 = animelem = 6
persistent = 0
name = "Wallace"
id = 1200
pos = 50, 0
postype = front
stateno = 1251
helpertype = normal
sprpriority = 9999
ownpal = 1
keyctrl = 0
facing = -1
*Ignoring the first two replies*
You'd need to fumble around with the postype values. I'd assume the original code would have postype dedicated to the sides of the screen. Change it so that it requires another trigger that checks what player # it needs. Ifelse could come handy.
Seems to be a bad varadd or varset somewhere. Have you tried looking at those? I'd say cut the values down by 10 and see what you get.
Yes, in fact this hyper has several Varadd and Varset, I have tried to modify the value either 10 positive or negative but it gets faster let's say.
Although as I had said, I only copied the codes of the other charactermAlthough as I had said, I just copied the codes of the other character, then it shouldn't be normal? I mean, if I just copied it then because it is modified? Will something have happened?
That's why I also wanted to know if there is a code, value or state to relantize the movement, does it exist?
It is NOT the code. Don't change any variables.
The reason it looks fast is because the position of the sprite is incorrect.
G6Cobra has the 'Ball Choppa' sprite (Group 1100,0) at: X= 76, Y=73
Kenshiro99 has the same sprite (Group 195,0) at: X=75, Y=136
To fix: In Kenshiro99's sprites,
1. Duplicate the sprite (Group 195,0) and rename it to something else.
2. Change the position to: X = 75, Y=136. This will make it be at the exact same position as G6Cobra's sprite.
3. Use this new sprite in your current 'super' animation.
Seems to be a bad varadd or varset somewhere. Have you tried looking at those? I'd say cut the values down by 10 and see what you get.