YesNoOk
avatar

Problems with Star Meteor...still (Read 221 times)

Started by Trinitronity, April 27, 2013, 04:36:25 pm
Share this topic:
Problems with Star Meteor...still
#1  April 27, 2013, 04:36:25 pm
  • *****
  • Back to the Beginnings
    • Skype - trinitro.man

  • Online
Hello again,
I actually already made such a topic, but it somehow got lost.
It was also old, and I don't know, if I'm allowed to bump up my own old help topics, so I just made a new one.
I have a problem with a hyper called "Star Meteor", where the player shoots out multiple stars forward in a scatter formation. While the stars do go forward, they sadly also go backward. And I cannot find the error:
Code:
[Statedef 2105]
Type = A
Movetype= A
Physics = N
Ctrl = 0
Sprpriority = 5
anim = 2105

[State 2105]
type = AssertSpecial
trigger1 = 1
flag = noshadow
ignorehitpause = 1

[State 2105]
type = AngleDraw
trigger1 = 1
scale = 1.5,1.5
ignorehitpause = 1

[State 2105]
type = Trans
trigger1 = 1
trans = addalpha
alpha = 256, 256
ignorehitpause = 1

[State 2105, HitOverride]
type = hitoverride
trigger1 = 1
attr = SCA,AA,AP,AT
time = -1
stateno = 1002
ignorehitpause = 1

[State 2105, hitby]
type = hitby
trigger1 = 1
value = SCA,AP
time = -1

[State 2105]
type = varrandom
trigger1 = 1
v = 19
range = -10, 10

[State 2105]
type = velset
trigger1 = time = 1
x = 8^2;var(19);0.1*var(19)+0.01*var(19)
y = var(19);0.2*cos((.25+random*.005)*Pi/180)+0.2*(.25+random*.005);-vel y*(.25+random*.005)+-vel y*.005

;[State 2105]
;type = veladd
;trigger1 = 1
;X = 0.2 * cos((.25+random*.005)*Pi/180)
;Y = -0.1 * sin(var(19)*Pi/180)

[State 2105]
type= HitDef
trigger1 = !Movecontact
attr = A, SP
hitflag = MAF
guardflag = MA
damage = 10, 5
animtype = Medium
air.animtype = Back
ground.type = High
priority = 6, Hit
pausetime = 0, 1
sparkno = S1202
guard.sparkno = S8300
sparkxy = -30+random%10,-28+random%10
hitsound   = s1,10
guardsound = s2,0
ground.slidetime = 23
ground.hittime = 23
guard.hittime = 21
air.hittime = 23
guard.ctrltime = 21
airguard.ctrltime = 21
ground.velocity = -8, 0
guard.velocity = -8
air.velocity = -4,-5
airguard.velocity= -4,-5
ground.cornerpush.veloff = 0
air.cornerpush.veloff = 0
down.cornerpush.veloff = 0
guard.cornerpush.veloff = 0
airguard.cornerpush.veloff = 0
fall = 0
fall.recover = 1
fall.recovertime = 39
air.fall = 1
yaccel = 0.4
envshake.time = 10
envshake.freq = 90
envshake.ampl = 5

[State 2105, ChangeState]
type = changestate
trigger1 = var(0)
value = 1203

[State 2105]
type = DestroySelf
trigger1 = FrontEdgeBodyDist <= -42
Can someone help me there, please? This problem already persist for around one year, I think. Thanks in advance!
I make characters RP-styled (Current WIP: Marisa):
http://mugenguild.com/forum/topics/marisarp-150600.0.html
Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
you are all small and can't grow manly sideburns
Re: Problems with Star Meteor...still
#2  April 27, 2013, 04:52:36 pm
  • ****
  • Estoy siempre listo para un desafío.
    • Puerto Rico
    • pv2matos@gmail.com
Is it supposed to be a projectile?
Also is it possible if you can upload a vid?
Re: Problems with Star Meteor...still
#3  April 27, 2013, 04:56:48 pm
  • *****
  • Back to the Beginnings
    • Skype - trinitro.man

  • Online
Is it supposed to be a projectile?
Also is it possible if you can upload a vid?
Well yeah, a projectile helper.
Also, how much does it actually help you, if I upload a video?
I make characters RP-styled (Current WIP: Marisa):
http://mugenguild.com/forum/topics/marisarp-150600.0.html
Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
you are all small and can't grow manly sideburns
Re: Problems with Star Meteor...still
#4  April 27, 2013, 04:58:55 pm
  • ****
  • Estoy siempre listo para un desafío.
    • Puerto Rico
    • pv2matos@gmail.com
I wanted to see it in action, anyway where is the helper for the projectile?
Re: Problems with Star Meteor...still
#5  April 27, 2013, 05:00:21 pm
  • *****
  • Back to the Beginnings
    • Skype - trinitro.man

  • Online
I make characters RP-styled (Current WIP: Marisa):
http://mugenguild.com/forum/topics/marisarp-150600.0.html
Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
you are all small and can't grow manly sideburns
Re: Problems with Star Meteor...still
#6  April 27, 2013, 05:11:33 pm
  • ****
  • Estoy siempre listo para un desafío.
    • Puerto Rico
    • pv2matos@gmail.com
I dont see anything there referring to a projectile, im not familiar with the way you coded it

Mine looks like this

[State 1000, 1]
type = Projectile
trigger1 = AnimElem = 3
projanim = 9969
projhitanim = 9970
projpriority = 1
projid = 1010
projheightbound = -240, 100
projedgebound = 100
projscreenbound = 100
projshadow = 0
offset = 20,-69
projscale = 0.6,0.6
velocity = 4
attr = S, SP
damage   = 45
ID=1010
animtype = heavy
guardflag = MA
hitflag = MAFP
pausetime = 10,10
hitsound   = S99,1
sparkxy = 2, -0
;sparkxy = 500,500
sparkno = 2
guardsound = S6,0
ground.type = Low
ground.slidetime = 16
ground.hittime  = 16
ground.velocity = -4
air.animtype = Back
air.velocity = -4
air.juggle = 3
;down.velocity = -4,-6
;down.hittime = 30
;down.bounce = 0
Re: Problems with Star Meteor...still
#7  April 27, 2013, 05:17:35 pm
  • *****
  • Back to the Beginnings
    • Skype - trinitro.man

  • Online
I dont see anything there referring to a projectile, im not familiar with the way you coded it

Mine looks like this

[State 1000, 1]
type = Projectile
trigger1 = AnimElem = 3
projanim = 9969
projhitanim = 9970
projpriority = 1
projid = 1010
projheightbound = -240, 100
projedgebound = 100
projscreenbound = 100
projshadow = 0
offset = 20,-69
projscale = 0.6,0.6
velocity = 4
attr = S, SP
damage   = 45
ID=1010
animtype = heavy
guardflag = MA
hitflag = MAFP
pausetime = 10,10
hitsound   = S99,1
sparkxy = 2, -0
;sparkxy = 500,500
sparkno = 2
guardsound = S6,0
ground.type = Low
ground.slidetime = 16
ground.hittime  = 16
ground.velocity = -4
air.animtype = Back
air.velocity = -4
air.juggle = 3
;down.velocity = -4,-6
;down.hittime = 30
;down.bounce = 0
What you coded was a projectile.
However, I've coded a projectile helper, since I have more control over them then over projectiles...
I make characters RP-styled (Current WIP: Marisa):
http://mugenguild.com/forum/topics/marisarp-150600.0.html
Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
you are all small and can't grow manly sideburns
Re: Problems with Star Meteor...still
#8  April 28, 2013, 08:25:08 am
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/
What is this supposed to be?

8^2
Re: Problems with Star Meteor...still
#9  April 28, 2013, 09:57:55 am
  • *****
  • Back to the Beginnings
    • Skype - trinitro.man

  • Online
What is this supposed to be?

8^2
Original take on forcing the helper to be always positive.
Didn't worked, but thankfully, Cyanide gave me a hint, and ALAKAZAM, I could solve the problem.
I just forgot to solve this topic as well...will do now.
I make characters RP-styled (Current WIP: Marisa):
http://mugenguild.com/forum/topics/marisarp-150600.0.html
Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
you are all small and can't grow manly sideburns