collapse

Author Topic: Why do I gain power for getting hits?  (Read 554 times)

0 Members and 1 Guest are viewing this topic.

Offline RonanZer0

  • Initiate
  • **
  • Posts: 21
  • Country: United States us
  • Last Login:March 18, 2014, 04:51:47 PM
  • Hi! I'm new!!
Why do I gain power for getting hits?
« on: February 21, 2014, 05:03:03 PM »
My character instead of using power bar for hypers it fills up slowly overtime and he uses that to attack to prevent him from spamming his normally spammable moves. But when I use his torpedo attack, I have no settings for this and double checked all CNS files, when they hit he actually GAINS power!? I commented out givepower and getpower and stuff but still does it!!! WHAT IS THIS MADNESS???



Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Why do I gain power for getting hits?
« Reply #1 on: February 21, 2014, 06:01:49 PM »
There is also a "poweradd" setting under the [Statedef number] bit.

You may also want to add

ignorehitpause = 1

to the slow fill.

Offline RonanZer0

  • Initiate
  • **
  • Posts: 21
  • Country: United States us
  • Last Login:March 18, 2014, 04:51:47 PM
  • Hi! I'm new!!
Re: Why do I gain power for getting hits?
« Reply #2 on: February 21, 2014, 06:29:35 PM »
Code: [Select]
[Statedef 2500]
type = S
movetype= A
physics = S
poweradd= -350
ctrl = 0
anim = 41
VelSet = 0,0
That's my entire statedef for the torpedo shoot, so...

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Why do I gain power for getting hits?
« Reply #3 on: February 21, 2014, 07:16:34 PM »
Show whole state then please.

Offline RonanZer0

  • Initiate
  • **
  • Posts: 21
  • Country: United States us
  • Last Login:March 18, 2014, 04:51:47 PM
  • Hi! I'm new!!
Re: Why do I gain power for getting hits?
« Reply #4 on: February 22, 2014, 01:29:56 PM »
Code: [Select]
[Statedef 2500]
type = S
movetype= A
physics = S
poweradd= -120
ctrl = 0
anim = 41
VelSet = 0,0

[State 2500, 3]
type = PlaySnd
trigger1 = Time = 3
value = 2,1
volume = 255
;channel = 1

[State 9001, 4]
type = Projectile
trigger1 = Time = 0
projanim = 8000
projhitanim = 8000
offset = 18, -18
velocity = 2.5, 0
accel = 0.6, -0.1
attr = S, SP
damage = 60,70
;getpower = 0
;givepower = 0
guardflag = MA
pausetime = 0,12
sparkno = 7
sparkxy = 0, 0
hitsound = 5,4
guardsound = 6,0
ground.type = High
ground.slidetime = 15
ground.hittime = 20
ground.velocity = -8
airguard.velocity = -3.5,-2.75
air.velocity = -2.5,-5.5
air.juggle = 3
air.fall = 1

[State 9001, 4]
type = Projectile
trigger1 = Time = 0
projanim = 8000
projhitanim = 8000
offset = 18, -12
velocity = 2.5, 0
accel = 0.6, 0
attr = S, SP
damage = 60,70
;getpower = 0
;givepower = 0
guardflag = MA
pausetime = 0,12
sparkno = 7
sparkxy = 0, 0
hitsound = 5,4
guardsound = 6,0
ground.type = High
ground.slidetime = 15
ground.hittime = 20
ground.velocity = -8
airguard.velocity = -3.5,-2.75
air.velocity = -2.5,-5.5
air.juggle = 3
air.fall = 1

[State 9001, 4]
type = Projectile
trigger1 = Time = 0
projanim = 8000
projhitanim = 8000
offset = 18, -6
velocity = 2.5, 0
accel = 0.6, 0.1
attr = S, SP
damage = 60,70
;getpower = 0
;givepower = 0
guardflag = MA
pausetime = 0,12
sparkno = 7
sparkxy = 0, 0
hitsound = 5,4
guardsound = 6,0
ground.type = High
ground.slidetime = 15
ground.hittime = 20
ground.velocity = -8
airguard.velocity = -3.5,-2.75
air.velocity = -2.5,-5.5
air.juggle = 3
air.fall = 1

[State 9001, 5]
type = ChangeState
trigger1 = Time = 20
value = 0
ctrl = 1

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Why do I gain power for getting hits?
« Reply #5 on: February 22, 2014, 04:36:43 PM »
That's not the WHOLE state. In addition, your power has changed from -350 to -120.

Show me the WHOLE state. That's everything between the first [Statedef] bit and the [Statedef] bit for the next attack.

Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

Virtual Bart Science Fair by Lord_Enemil
[June 15, 2024, 08:23:51 PM]


Classic VS : Cheng / Athena by ELECTRO
[June 13, 2024, 03:03:58 PM]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by Uche_of_IMT
[June 10, 2024, 11:25:24 PM]


Street Fighter Spec Ops 2021 by O Ilusionista
[June 08, 2024, 01:36:06 PM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[June 06, 2024, 07:34:10 PM]


Kirby the Dream Battle by O Ilusionista
[June 06, 2024, 01:04:12 PM]


Neo Geo Pocket by malevka2
[June 05, 2024, 10:53:57 AM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[June 03, 2024, 03:18:12 PM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[June 03, 2024, 03:13:51 PM]


Mega Man & Bass - Dynamo Man by Sir Rousseau by O Ilusionista
[June 03, 2024, 03:09:50 PM]

* IMT Calendar

June 2024
Sun Mon Tue Wed Thu Fri Sat
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
[16] 17 18 19 20 21 22
23 24 25 26 27 28 29
30

SimplePortal 2.3.5 © 2008-2012, SimplePortal