UPLOAD, SHARE, PRESERVE MUGEN FOR ETERNITY!
a missing category? request it here.

Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2017
    Location
    Age
    19
    Posts
    2
    Uploads
    12
    Comments
    15

    Sad Electric Special Attack problem

    Hello, I need a little help for a Electric Special Attack from the N. Gin character I'm working.

    The electric special has no the electric shock effect to the opponent (7696 anim.) and it just stay in the stage like nothing happen. And if you ask, yes, I put the Hit boxes for the attack.

    Click image for larger version. 

Name:	1.PNG 
Views:	23 
Size:	70.6 KB 
ID:	4967
    Click image for larger version. 

Name:	2.PNG 
Views:	19 
Size:	64.5 KB 
ID:	4968

    I copied the HitDef from another electric attacks from other characters like Warner's Peter and Joe, but it still don't working. I need to put a specific code to make the electric shock attack? I'll wait for your answers. Thanks.

    Just in case, here's the special attack code I put for N. Gin if you will to change anything for fix the problem:

    ;Electric Hands
    [Statedef 1000]
    type = S
    movetype= A
    physics = S
    juggle = 4
    poweradd= 60
    velset = 0,0
    anim = 1000
    ctrl = 0
    sprpriority = 2

    [State 1000, 1]
    type = PlaySnd
    trigger1 = Time = 6
    value = 0, 0

    [State 1000, 2]
    type = PosAdd
    trigger1 = AnimElem = 4
    x = 10

    [State 1000, 3]
    type = PosAdd
    trigger1 = AnimElem = 5
    x = 5

    [State 1000, 4]
    type = PlaySnd
    trigger1 = AnimElem = 5
    value = 1000, 0

    [State 1000, 5]
    type = HitDef
    trigger1 = AnimElem = 5
    attr = S, HA
    animtype = Hard
    damage = 80,4
    getpower = 0
    priority = 6
    guardflag = MA
    pausetime = 5,5
    sparkno = 2
    sparkxy = -10,-65
    hitsound = s52,0
    guardsound = 6,0
    ground.type = Low
    ground.slidetime = 20
    ground.hittime = 30
    ground.velocity = -6
    air.velocity = -3,-2.8
    air.fall = 1
    fall.animtype = Hard
    fall.recover = 0
    p2stateno = 7601

    [State 1401, flash]
    type = allpalfx
    trigger1 = AnimElem = 5
    sinadd = 36,36,36,4
    time = 34

    [State 1020, 7]
    type = VelSet
    trigger1 = AnimElem = 23
    x = -2

    [State 1000, 8]
    type = ChangeState
    trigger1 = AnimTime = 0
    value = 0
    ctrl = 1

  2. #2
    Join Date
    Sep 2018
    Location
    Posts
    49
    Uploads
    0
    Comments
    1

    Default Re: Electric Special Attack problem

    The HitDef is telling P2 to go into this character's state 7601. Does that state exist?

  3. #3
    Join Date
    Mar 2019
    Location
    Posts
    11
    Uploads
    10
    Comments
    9

    Default Re: Electric Special Attack problem

    I think you should add his enemy into "p2stateno" in "trigger1 = AnimElem = 23" before adding some electric hits for his special move. Does it help well?

  4. #4
    Join Date
    Apr 2018
    Location
    Posts
    4
    Uploads
    12
    Comments
    107

    Default Re: Electric Special Attack problem

    Hope this helps.

    [State 1000, TargetState]
    type = TargetState
    trigger1 = MoveHit = 1
    value = 7601
    ignorehitpause = 1
    persistent = 1

    Also just a quick note, but if that is supposed to be a special, I would change the attribute on the hitdef from "S, HA" to "S, SA"

  5. #5
    Join Date
    Apr 2017
    Location
    Posts
    79
    Uploads
    10
    Comments
    13

    Default Re: Electric Special Attack problem

    replace:
    [State 1000, 5]
    type = HitDef
    trigger1 = AnimElem = 5
    attr = S, HA
    animtype = Hard
    damage = 80,4
    getpower = 0
    priority = 6
    guardflag = MA
    pausetime = 5,5
    sparkno = 2
    sparkxy = -10,-65
    hitsound = s52,0
    guardsound = 6,0
    ground.type = Low
    ground.slidetime = 20
    ground.hittime = 30
    ground.velocity = -6
    air.velocity = -3,-2.8
    air.fall = 1
    fall.animtype = Hard
    fall.recover = 0
    p2stateno = 7601
    with:
    [State ]
    type=HitDef
    trigger1=AnimElem=5
    attr=S,SA
    animtype=Hard
    damage=80,4
    getpower=0
    priority=6,hit
    guardflag=MA
    hitflag=MAF ;|H|L|M|A|F|D|P|+|-|
    pausetime=5,5
    sparkno=2
    sparkxy=-10,-65
    hitsound=s52,0
    guardsound=6,0
    ground.type=Low
    ground.slidetime=20
    ground.hittime=30
    ground.velocity=-6
    air.velocity=-3,-2.8
    air.fall=1
    fall.animtype=Hard
    fall.recover=0
    p2stateno=7601
    (note: just add hitflag from this reply)
    A user, who can eliminate you only by using NULL's.
    Legendary 1.0 NULL Coderーコブ(KOBU)[2K16-2K20]。
    コブ(KOBU)[2K16-2K20]
    Currently Working on:
    The God of Chuck Norris & Golden Dark Donald.

Similar Threads

  1. Damage in the special attack
    By Dan7Arpeggy in forum MUGEN Development Help
    Replies: 1
    Last Post: 15th September 2018, 15:13
  2. How to increase duration of special attack?
    By Alphawolf1220 in forum MUGEN Configuration Help
    Replies: 0
    Last Post: 4th August 2018, 10:04
  3. Need help with a special attack
    By Oberst_Kroenen in forum MUGEN Development Help
    Replies: 16
    Last Post: 29th March 2018, 01:02
  4. power cost for a special attack
    By Malxrange in forum MUGEN Development Help
    Replies: 1
    Last Post: 19th January 2018, 13:59
  5. Replies: 5
    Last Post: 13th December 2017, 16:40

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •