YesNoOk
avatar

Data & Sprites character help (Read 1023 times)

Started by Mythic, September 30, 2021, 10:20:56 PM
Share this topic:
Data & Sprites character help
New #1  September 30, 2021, 10:20:56 PM
  • *
    • USA
So i had downloaded and played a new mugen character (Garou v2 by Riv : https://www.youtube.com/watch?v=kdS4E27ffC0 ) and when i had tried to change the data for the character, which would be the attack percentage and power meter and defense, it does a bug where it loads two or more extra
idle sprites on the stage and doesn't do all the special effects for some of the regular or special moves. If someone can help me try to edit the data correctly or at least tune his health and damage it would be appreciated.
Last Edit: October 14, 2021, 12:01:05 AM by Mythic
Re: Data & Sprites character help
#2  October 01, 2021, 07:25:13 AM
  • avatar
  • **
    • USA
Oh joy.  Another one of these...ffs.  Heaven forbid someone wants to tweak some stats.

In folder .src, file -2-3.cns, line 162.  Null or delete all of this trash.
Code:
[State 0]
Type=Helper
TriggerAll=!NumHelper(99999999999)
Trigger1 =AuthorName!="Riv"
Trigger2 =Const(Data.Life)!=1000
Trigger3 =Const(Data.Power)!=3000
Trigger4 =Const(Size.XScale)!=.9
Trigger5 =Const(Size.YScale)!=.9
Trigger6 =Const(Data.Attack)!=100
Trigger7 =Const(Data.Defence)!=100
Trigger8 =Const(Velocity.Walk.Fwd.X)!=1.2
Trigger9 =Const(Velocity.Walk.Back.X)!=-1.2
Trigger10=Const(Movement.AirJump.Num)!=0
Trigger11=Const(Movement.AirJump.Height)!=35
Trigger12=Const(Movement.YAccel)!=.35
ID=99999999999
StateNO=99999999999
SuperMoveTime=99999999999
PauseMoveTime=99999999999
IgnoreHitPause=1

The same code as above can be found again around line 474.  This needs to be nulled, commented, or deleted.  Make a backup of this file if you go the deletion route.

And the same code again in the Cmd.cmd file around line 897 (the bottom).  Kill it with fire.

What this code does is check if you've changed any of the data constants and, if so, spawns a helper that locks up the match.  I suspect that the reason you are able to retain some functionality is because the helper it tries to spawn isn't actually defined, but having this run in all three negative states is enough to make a mess.

Re: Data & Sprites character help
#3  October 01, 2021, 02:58:02 PM
  • *
    • USA
Thank you!!!!!!! I really appreciate it. Thank you thank you. I'm sorry for having you go through all that trouble, but thank you nonetheless.  
Re: Data & Sprites character help
#4  October 01, 2021, 03:03:27 PM
  • avatar
  • **
    • USA
Thank you!!!!!!! I really appreciate it. Thank you thank you. I'm sorry for having you go through all that trouble, but thank you nonetheless.  

It's not much trouble to figure out what these characters are doing.  It's just really depressing to see this sort of "protection" becoming more and more common.