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
» Mugen Archive is the worst site....
by yolomate Today at 5:21 pm

» Neo's Mugen Saturday Showdown!
by TK830515 Today at 5:12 pm

» Happy ~Birthday~ to *** Doom ***
by chuchoryu Today at 5:03 pm

» Mugen Screenshot Thread
by borewood2013 Today at 4:58 pm

» Vs.Style DEBUTS UNKNOWN SOLDIER W.i.P
by Mazemerald Today at 4:40 pm

» Tenshi IT Full Version released
by IkuTronHD Today at 2:04 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 : 138
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
borewood2013

avatar

Posts : 4629
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 : 138
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
borewood2013

avatar

Posts : 4629
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
 
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: