YesNoOk
avatar

ZombieNeko's workshop (Help With Code Needed) (Read 44909 times)

Started by ZombieNeko, August 16, 2019, 03:26:56 am
Share this topic:
Re: IsRageNeko's workshop (Help With Code Needed)
#81  October 20, 2019, 01:53:03 am
  • ***
  • BRAIIIIINS!!
  • "Khh- Ahahahaha!"
    • Chile
If you check DW's other characters for example, they'll usually have specific statedefs for the Projectile's Hitpause.
The Hitspark statetype would usually be present there.

I can't find any of the code you're telling me :\
Re: IsRageNeko's workshop (Help With Code Needed)
#82  October 20, 2019, 01:55:56 am
  • *****
  • Formerly known as HyperClawManiac
  • Competitive MUGEN when?
    • UK
    • sites.google.com/view/ragingrowen/home

  • Online
Normally in his characters, using Sagat as an example, you'll see a Statedef under the Projectiles in Helpers.cns called Hit Pause, these lines of code, for example, will be present.
Code:
[State 1011, HitSound]
type = PlaySnd
trigger1 = MoveContact = 1 && NumTarget
trigger1 = !(Target, HitShakeOver)
value = ifElse(MoveGuarded, 130, 2), ifElse(MoveGuarded, 0, 6)
channel = 3
ignorehitPause = 1

[State 1011, Hit Spark]
type = Helper
trigger1 = MoveContact = 1 && NumTarget
trigger1 = !(Target, HitShakeOver)
helperType = Normal
stateNo = ifElse(MoveGuarded, 8001, 8013)
ID = 8000
name = "Spark"
posType = P1
pos = ifElse(P2Dist x < 0, 0, ifElse(P2Dist x < 20, ceil(P2Dist x), 20)), 0
ownPal = 1
facing = -1
size.xScale = 1
size.yScale = 1
pauseMoveTime = 65535
superMoveTime = 65535
ignoreHitPause = 1
Obviously you'll have to change the pos though and maybe sound too.
WIP Schedule:
The next Street Fighter All-Stars update
Re: IsRageNeko's workshop (Help With Code Needed)
#83  October 20, 2019, 02:11:13 am
  • ***
  • BRAIIIIINS!!
  • "Khh- Ahahahaha!"
    • Chile
Normally in his characters, using Sagat as an example, you'll see a Statedef under the Projectiles in Helpers.cns called Hit Pause, these lines of code, for example, will be present.
Code:
[State 1011, HitSound]
type = PlaySnd
trigger1 = MoveContact = 1 && NumTarget
trigger1 = !(Target, HitShakeOver)
value = ifElse(MoveGuarded, 130, 2), ifElse(MoveGuarded, 0, 6)
channel = 3
ignorehitPause = 1

[State 1011, Hit Spark]
type = Helper
trigger1 = MoveContact = 1 && NumTarget
trigger1 = !(Target, HitShakeOver)
helperType = Normal
stateNo = ifElse(MoveGuarded, 8001, 8013)
ID = 8000
name = "Spark"
posType = P1
pos = ifElse(P2Dist x < 0, 0, ifElse(P2Dist x < 20, ceil(P2Dist x), 20)), 0
ownPal = 1
facing = -1
size.xScale = 1
size.yScale = 1
pauseMoveTime = 65535
superMoveTime = 65535
ignoreHitPause = 1
Obviously you'll have to change the pos though and maybe sound too.

Thanks, it worked perfectly: https://streamable.com/dkng9
Re: IsRageNeko's workshop (Help With Code Needed)
#84  October 20, 2019, 02:16:39 am
  • *****
  • Formerly known as HyperClawManiac
  • Competitive MUGEN when?
    • UK
    • sites.google.com/view/ragingrowen/home

  • Online
I feel like those sparks should be a bit higher seeing the projectile's look.
WIP Schedule:
The next Street Fighter All-Stars update
Re: IsRageNeko's workshop (Help With Code Needed)
#85  October 20, 2019, 02:18:14 am
  • ***
  • BRAIIIIINS!!
  • "Khh- Ahahahaha!"
    • Chile
Re: IsRageNeko's workshop (Help With Code Needed)
#86  October 20, 2019, 07:35:48 pm
  • ***
  • BRAIIIIINS!!
  • "Khh- Ahahahaha!"
    • Chile
Last Edit: October 20, 2019, 07:52:34 pm by IsRageNeko
Re: IsRageNeko's workshop (Help With Code Needed)
#87  October 20, 2019, 07:52:23 pm
  • *****
  • Formerly known as HyperClawManiac
  • Competitive MUGEN when?
    • UK
    • sites.google.com/view/ragingrowen/home

  • Online
You've gotta change the y coordinate on the pos = line. which is the last 0 most likely.
WIP Schedule:
The next Street Fighter All-Stars update
Re: IsRageNeko's workshop (Help With Code Needed)
#88  October 20, 2019, 07:54:16 pm
  • ***
  • BRAIIIIINS!!
  • "Khh- Ahahahaha!"
    • Chile
Re: IsRageNeko's workshop (Help With Code Needed)
#89  October 20, 2019, 08:00:20 pm
  • *****
  • Formerly known as HyperClawManiac
  • Competitive MUGEN when?
    • UK
    • sites.google.com/view/ragingrowen/home

  • Online
No it's the pos line in the Hitsparks section like what I posted.
WIP Schedule:
The next Street Fighter All-Stars update
Re: IsRageNeko's workshop (Help With Code Needed)
#90  October 20, 2019, 08:03:09 pm
  • ***
  • BRAIIIIINS!!
  • "Khh- Ahahahaha!"
    • Chile
This?:
Code:
pos = ifElse(P2Dist x < 0, 0, ifElse(P2Dist x < 20, ceil(P2Dist x), 20)), 0
Re: IsRageNeko's workshop (Help With Code Needed)
#91  October 20, 2019, 08:06:41 pm
  • *****
  • Formerly known as HyperClawManiac
  • Competitive MUGEN when?
    • UK
    • sites.google.com/view/ragingrowen/home

  • Online
Yes, that's where I was hinting at.
WIP Schedule:
The next Street Fighter All-Stars update
Re: IsRageNeko's workshop (Help With Code Needed)
#92  October 20, 2019, 08:08:21 pm
  • ***
  • BRAIIIIINS!!
  • "Khh- Ahahahaha!"
    • Chile
Re: IsRageNeko's workshop (Help With Code Needed)
#93  October 20, 2019, 08:42:13 pm
  • *****
  • Formerly known as HyperClawManiac
  • Competitive MUGEN when?
    • UK
    • sites.google.com/view/ragingrowen/home

  • Online
The 0 at the end, pos is on the xy axis if that helps for the future.

I think the MFG discord can assist you if necessary, I'm not on there but that's what I always hear.
WIP Schedule:
The next Street Fighter All-Stars update
Re: IsRageNeko's workshop (Help With Code Needed)
#94  October 20, 2019, 09:14:39 pm
  • ***
  • BRAIIIIINS!!
  • "Khh- Ahahahaha!"
    • Chile
Re: IsRageNeko's workshop (Help With Code Needed)
#95  October 20, 2019, 10:00:14 pm
  • *****
  • Formerly known as HyperClawManiac
  • Competitive MUGEN when?
    • UK
    • sites.google.com/view/ragingrowen/home

  • Online
For the guardsounds, I may suggest adding something like this to the Hit Pause section.
[State 1011, HitSound]
type = PlaySnd
trigger1 = MoveContact = 1 && NumTarget
trigger1 = !(Target, HitShakeOver)
value = ifElse(MoveGuarded, 130, 2), ifElse(MoveGuarded, 0, 6)
channel = 3
ignorehitPause = 1
WIP Schedule:
The next Street Fighter All-Stars update
Re: IsRageNeko's workshop (Help With Code Needed)
#96  October 22, 2019, 09:00:27 pm
  • ***
  • BRAIIIIINS!!
  • "Khh- Ahahahaha!"
    • Chile
Re: IsRageNeko's workshop (Help With Code Needed)
#97  April 12, 2020, 10:40:27 pm
  • ***
  • BRAIIIIINS!!
  • "Khh- Ahahahaha!"
    • Chile
(I'm gonna do the big necro)
I wanna announce that I finally feel motivated to come back to this project, here are some screenshots of something I did:



I decided to restart her code instead of copy-paste, so I expect that she'll be more functional than before.
BTW, The Midnight Bliss sprites are placeholders, I still have faith that someone will be able to make them or Li-Kun will respond to me and send them (I think it isn't gonna happen tho)
Re: IsRageNeko's workshop (Help With Code Needed)
#98  April 14, 2020, 10:33:35 am
  • ***
  • the Suicidal Bastard
  • "I want to see and understand the world outside."
    • Philippines
yooo... the Midnight Bliss is actually cool... (why is my nose bleeding?)
Re: IsRageNeko's workshop (Help With Code Needed)
#99  April 14, 2020, 07:17:54 pm
  • ***
  • BRAIIIIINS!!
  • "Khh- Ahahahaha!"
    • Chile
Re: IsRageNeko's workshop (Help With Code Needed)
#100  June 16, 2020, 12:25:23 am
  • ***
  • BRAIIIIINS!!
  • "Khh- Ahahahaha!"
    • Chile
(Big necro, but okay)

FIona is gonna be 'cancelled' (not cancelled, she's just gonna be a side project till I'm better at coding.) so in the meantime, here's another char that I have planned to do for now:




Spoiler, click to toggle visibilty