A place to have fun with Mugen
 
PortalHomeFAQMemberlistSearchRegisterComic WIP TrackerDownloadsLog inChat
Website Navigation Help
Translate the Website
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Latest topics
» Some one have or find this Chun Li? I need your help
by Drakkon245 Today at 2:21 am

» M.I.C.A Final Version Edition 1.0 & 1.1 640x480 UPDATED 1/23/2018
by OldGamer Yesterday at 10:34 pm

» old video for a game i just bought and discovered
by Mistah Jorge Yesterday at 7:50 pm

» Happy ~Birthday~ to *** Angelus_Silverhead ***
by malevka1 Yesterday at 3:48 pm

» Trunks CVS
by FlavioCamarao Yesterday at 3:10 pm

» Character
by yolomate Yesterday at 2:43 pm

Special Features at MMV







Chat on MMV w/ Discord


Share | 
 

 attack randomly crashes the game

View previous topic View next topic Go down 
AuthorMessage
Mega_Man

avatar

Posts : 146
Join date : 2016-01-23

PostSubject: attack randomly crashes the game   June 2nd 2017, 3:11 pm

Every time I try to use the move, usually at the beginning of the battle, it just closes MUGEN out with no error

Basically this allows the user to continue using this attack every time they mash X.


CMD:

;---------------------------------------------------------------------------
;Stand Light Punch
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = var(59) != 1
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = time >= 26 && command = "x" && stateno = 200

CNS:



;---------------------------------------------------------------------------
;Neutral combo
; CNS difficulty: easy
[Statedef 200]
type    = S                      ;State-type: S-stand, C-crouch, A-air, L-liedown
movetype= A                      ;Move-type: A-attack, I-idle, H-gethit
physics = S                      ;Physics: S-stand, C-crouch, A-air
juggle  = 10                     ;Number of air juggle points move takes
;Commonly-used controllers:                     ;Set velocity (x,y) (Def: no change)
ctrl = 0                         ;Set ctrl (Def: no change)
anim = 200                       ;Change animation (Def: no change)
poweradd = 30                    ;Power to add (Def: 0)
sprpriority = 2                  ;Set p1's sprite layering priority to 2 (in front)

[State 200, 1]
type = HitDef
trigger1 = animelem = 1
trigger2 = animelem = 3
attr = S, NA                     ;Attribute: Standing, Normal Attack
damage = 10, 0                   ;Damage that move inflicts, guard damage
animtype = Light                 ;Animation type: Light, Medium, Heavy, Back (def: Light)
hitflag = MAFLDP
guardflag = MAFLDP                   ;Flags of conditions that move can hit
priority = 3, Hit                ;Attack priority: 0 (least) to 7 (most), 4 default
;Hit/Miss/Dodge type (Def: Hit)
pausetime = 5, 5                 ;Time attacker pauses, time opponent shakes
sparkno = 0                      ;Spark anim no (Def: set above)
sparkxy = 0, -10               ;X-offset for the "hit spark" rel. to p2,
hitsound = s0, 29                  ;Sound to play on hit
guardsound = 6, 0                ;Sound to play on guard
ground.type = High               ;Type: High, Low, Trip (def: Normal)
ground.slidetime = 10             ;Time that the opponent slides back
ground.hittime  = 25             ;Time opponent is in hit state
ground.velocity = -1,0            ;Velocity at which opponent is pushed
airguard.velocity = -1,-2     ;Guard velocity in air (def: (air.xvel*1.5, air.yvel/2))
air.type = High                  ;Type: High, Low, Trip (def: same as ground.type)
air.velocity = 0,0           ;X-velocity at which opponent is pushed,
air.hittime = 25                 ;Time before opponent regains control in air
fall.recover = 0
air.fall = 1

[State 200, 1]
type = PlaySnd
trigger1 = Time = 2
value = 0, 8
channel = 2


[State 200, 7]
type = ChangeState
trigger1 =animtime = 0
value = 0
ctrl = 1
Back to top Go down
View user profile
Werewood

avatar

Posts : 5686
Join date : 2014-08-11

PostSubject: Re: attack randomly crashes the game   June 5th 2017, 5:08 am

The MUGEN you posted look fine to me..............it is very similar to KFM's Stand Light Punch........if there is nothing wrong with the MUGEN CMD & CNS code, then it can be somewhere else... scratch ...can you please post the MUGEN AIR code (i.e. [Begin Action 200]) for this move Statedef 200? Question
Back to top Go down
View user profile https://onedrive.live.com/?cid=7DB65F02B0BBD12E
Mega_Man

avatar

Posts : 146
Join date : 2016-01-23

PostSubject: Re: attack randomly crashes the game   June 5th 2017, 7:35 am

borewood2013 wrote:
The MUGEN you posted look fine to me..............it is very similar to KFM's Stand Light Punch........if there is nothing wrong with the MUGEN CMD & CNS code, then it can be somewhere else... scratch ...can you please post the MUGEN AIR code (i.e. [Begin Action 200]) for this move Statedef 200? Question

Actually, the game didn't like it when I stacked a CLSN1 near a green CLSN1 for two frames. I removed the "arm" CLSN1 and it no longer crashes.
Back to top Go down
View user profile
Werewood

avatar

Posts : 5686
Join date : 2014-08-11

PostSubject: Re: attack randomly crashes the game   June 5th 2017, 9:40 am

@Mega_Man wrote:
borewood2013 wrote:
The MUGEN you posted look fine to me..............it is very similar to KFM's Stand Light Punch........if there is nothing wrong with the MUGEN CMD & CNS code, then it can be somewhere else... scratch ...can you please post the MUGEN AIR code (i.e. [Begin Action 200]) for this move Statedef 200? Question

Actually, the game didn't like it when I stacked a CLSN1 near a green CLSN1 for two frames. I removed the "arm" CLSN1 and it no longer crashes.

Green CLSN1 - Where/How do you get the green CLSN1?  Question Isn't a CLSN1 red only? scratch
Back to top Go down
View user profile https://onedrive.live.com/?cid=7DB65F02B0BBD12E
Sponsored content




PostSubject: Re: attack randomly crashes the game   

Back to top Go down
 
attack randomly crashes the game
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
The Mugen Multiverse :: Mugen :: Mugen Help-
Jump to: