collapse

Author Topic: Only one of three punches hit...? Help?  (Read 349 times)

0 Members and 1 Guest are viewing this topic.

Offline aPoCaLyPsE

  • :+:Simply Twist'D:+:
  • IMT Content Architect
  • *
  • Posts: 1022
  • Last Login:January 30, 2018, 06:11:39 PM
  • ...I spit blood before I speak...
    • -"aPoCaLyPsE's Bio... Enter with Caution..."
    • Email
Only one of three punches hit...? Help?
« on: November 17, 2007, 02:32:09 PM »
As stated in subject, Made under Electbyte's template.

Light Punch is fine.
Middle Punch and Heavy Punch don't hit.

All Collisions are in place.

This is my constants:

; Standing Light Punch
; CNS difficulty: easy
[StateDef 200]
type = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 200
poweradd = 20
sprpriority = 2

[State 200, 1]
type = HitDef
trigger1 = AnimElem = 2
attr = S, NA
damage = 20
animtype = Light
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 10, 10
sparkno = 0
sparkxy = -10, -76
hitsound = 5, 0
guardsound = 6, 0
ground.type = High
ground.slidetime = 5
ground.hittime  = 12
ground.velocity = -4
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 12

[State 200, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
=======================
; Standing Medium Punch
; CNS difficulty: easy
[StateDef 210]
type = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 210
poweradd = 20
sprpriority = 2

[State 210, 1]
type = HitDef
trigger1 = AnimElem = 2
attr = S, NA
damage = 30
animtype = Light
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 10, 10
sparkno = 0
sparkxy = -10, -76
hitsound = 5, 0
guardsound = 6, 0
ground.type = High
ground.slidetime = 5
ground.hittime  = 12
ground.velocity = -4
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 12

[State 210, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
===================

; Standing Strong Punch
; CNS difficulty: easy
[StateDef 220]
type = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 220
poweradd = 20
sprpriority = 2

[State 220, 1]
type = HitDef
trigger1 = AnimElem = 3
trigger2 = AnimElem = 5
attr = S, NA
damage = 20
animtype = Light
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 10, 10
sparkno = 0
sparkxy = -10, -76
hitsound = 5, 0
guardsound = 6, 0
ground.type = High
ground.slidetime = 5
ground.hittime  = 12
ground.velocity = -4
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 12

[State 220, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

LiL confuseded....

-"aPoC."





Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: Only one of three punches hit...? Help?
« Reply #1 on: November 17, 2007, 10:08:00 PM »
Make sure that you have a red clsn on the same sprite of the anim that you are making the trigger


sig made by shullbocka

Offline The Great Matsutzu

  • Global Moderator (out of the office)
  • *****
  • Posts: 559
  • Last Login:April 17, 2009, 10:03:33 AM
Re: Only one of three punches hit...? Help?
« Reply #2 on: November 18, 2007, 05:50:16 PM »
I would do a quick thest with them all by changing the trigger1= animelem= from animelem to time=0 just for testing purposes. If they connect after that, then you know for sure that your animelem numbers are incorrect.

Good luck.


Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: Only one of three punches hit...? Help?
« Reply #3 on: November 20, 2007, 11:43:43 PM »
apoc,the problem is that you have everything coded 2 times  except the statedef 200 thats why it works, you need to delete the repeated statedefs


sig made by shullbocka

Offline The Great Matsutzu

  • Global Moderator (out of the office)
  • *****
  • Posts: 559
  • Last Login:April 17, 2009, 10:03:33 AM
Re: Only one of three punches hit...? Help?
« Reply #4 on: November 24, 2007, 06:26:09 PM »
In your .def, under st= try putting your normal .cns and see fi that helps.

FOr example, see this excerpt from my WereGarurumon (who I had here on hand)

cmd       = wgaruru.cmd
cns       = wgaruru.cns
st        = wgaruru.cns
stcommon  = common1.cns
sprite    = wgaruru.sff
anim      = wgaruru.air
sound     = wgaruru.snd
pal1     = normal.act

Notice that cns and st are the same, at least the way it was in my char, Try this for yours and see if it helps.


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

* IMT Calendar

May 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 31

SimplePortal 2.3.5 © 2008-2012, SimplePortal