collapse

Author Topic: Why do I gain power for getting hits?  (Read 629 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

D2TD VS Showcase Thread by D2TD
[November 24, 2024, 09:12:03 AM]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by LightFlare
[November 21, 2024, 09:44:09 PM]


Terrordrome: Rise of the Boogeymen Extended Version ( jeepers creepers) version by leonardo
[November 19, 2024, 10:22:47 PM]


Hill of the Nameless(1.1 Only) by Vegaz by LightFlare
[November 19, 2024, 10:50:39 AM]


Golden Axe Returns by gokudo99
[November 19, 2024, 03:59:31 AM]


Barkley Shut Up and Jam! Stages by Vegaz by LightFlare
[November 12, 2024, 11:26:21 AM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[November 11, 2024, 12:35:24 PM]


Eternal Lament Stage 1.1 & 1.0 by O Ilusionista
[November 11, 2024, 12:34:54 PM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[November 11, 2024, 07:00:56 AM]


Spooky House(1.1 Only/AIGS) by Vegaz by LightFlare
[October 31, 2024, 11:31:36 AM]

* IMT Calendar

November 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