YesNoOk
avatar

ZombieNeko's workshop (Help With Code Needed) (Read 26265 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!!
  • Lonely? Ronin? Morning? Sorry?
    • 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 :\
Current project: Morrigan Aensland (Unknown for now)
Current CS WIP: ...
Project Thread: http://mugenguild.com/forum/topics/isragenekos-workshop-help-wanted-187595.0.html
CS Patches Thread: http://mugenguild.com/forum/topics/isragenekos-cs-patches-187740.0.html
Latest Release: Batsu CS, Elsa CS
Re: IsRageNeko's workshop (Help With Code Needed)
#82  October 20, 2019, 01:55:56 AM
  • ****
  • The 'Why Not Both?' Boy
    • UK
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.
Re: IsRageNeko's workshop (Help With Code Needed)
#83  October 20, 2019, 02:11:13 AM
  • ***
  • BRAIIIIINS!!
  • Lonely? Ronin? Morning? Sorry?
    • 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
Current project: Morrigan Aensland (Unknown for now)
Current CS WIP: ...
Project Thread: http://mugenguild.com/forum/topics/isragenekos-workshop-help-wanted-187595.0.html
CS Patches Thread: http://mugenguild.com/forum/topics/isragenekos-cs-patches-187740.0.html
Latest Release: Batsu CS, Elsa CS
Re: IsRageNeko's workshop (Help With Code Needed)
#84  October 20, 2019, 02:16:39 AM
  • ****
  • The 'Why Not Both?' Boy
    • UK
I feel like those sparks should be a bit higher seeing the projectile's look.
Re: IsRageNeko's workshop (Help With Code Needed)
#85  October 20, 2019, 02:18:14 AM
  • ***
  • BRAIIIIINS!!
  • Lonely? Ronin? Morning? Sorry?
    • Chile
Current project: Morrigan Aensland (Unknown for now)
Current CS WIP: ...
Project Thread: http://mugenguild.com/forum/topics/isragenekos-workshop-help-wanted-187595.0.html
CS Patches Thread: http://mugenguild.com/forum/topics/isragenekos-cs-patches-187740.0.html
Latest Release: Batsu CS, Elsa CS
Re: IsRageNeko's workshop (Help With Code Needed)
#86  October 20, 2019, 07:35:48 PM
  • ***
  • BRAIIIIINS!!
  • Lonely? Ronin? Morning? Sorry?
    • Chile
Current project: Morrigan Aensland (Unknown for now)
Current CS WIP: ...
Project Thread: http://mugenguild.com/forum/topics/isragenekos-workshop-help-wanted-187595.0.html
CS Patches Thread: http://mugenguild.com/forum/topics/isragenekos-cs-patches-187740.0.html
Latest Release: Batsu CS, Elsa CS
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
  • ****
  • The 'Why Not Both?' Boy
    • UK
You've gotta change the y coordinate on the pos = line. which is the last 0 most likely.
Re: IsRageNeko's workshop (Help With Code Needed)
#88  October 20, 2019, 07:54:16 PM
  • ***
  • BRAIIIIINS!!
  • Lonely? Ronin? Morning? Sorry?
    • Chile
Current project: Morrigan Aensland (Unknown for now)
Current CS WIP: ...
Project Thread: http://mugenguild.com/forum/topics/isragenekos-workshop-help-wanted-187595.0.html
CS Patches Thread: http://mugenguild.com/forum/topics/isragenekos-cs-patches-187740.0.html
Latest Release: Batsu CS, Elsa CS
Re: IsRageNeko's workshop (Help With Code Needed)
#89  October 20, 2019, 08:00:20 PM
  • ****
  • The 'Why Not Both?' Boy
    • UK
No it's the pos line in the Hitsparks section like what I posted.
Re: IsRageNeko's workshop (Help With Code Needed)
#90  October 20, 2019, 08:03:09 PM
  • ***
  • BRAIIIIINS!!
  • Lonely? Ronin? Morning? Sorry?
    • Chile
This?:
Code:
pos = ifElse(P2Dist x < 0, 0, ifElse(P2Dist x < 20, ceil(P2Dist x), 20)), 0
Current project: Morrigan Aensland (Unknown for now)
Current CS WIP: ...
Project Thread: http://mugenguild.com/forum/topics/isragenekos-workshop-help-wanted-187595.0.html
CS Patches Thread: http://mugenguild.com/forum/topics/isragenekos-cs-patches-187740.0.html
Latest Release: Batsu CS, Elsa CS
Re: IsRageNeko's workshop (Help With Code Needed)
#91  October 20, 2019, 08:06:41 PM
  • ****
  • The 'Why Not Both?' Boy
    • UK
Yes, that's where I was hinting at.
Re: IsRageNeko's workshop (Help With Code Needed)
#92  October 20, 2019, 08:08:21 PM
  • ***
  • BRAIIIIINS!!
  • Lonely? Ronin? Morning? Sorry?
    • Chile
Current project: Morrigan Aensland (Unknown for now)
Current CS WIP: ...
Project Thread: http://mugenguild.com/forum/topics/isragenekos-workshop-help-wanted-187595.0.html
CS Patches Thread: http://mugenguild.com/forum/topics/isragenekos-cs-patches-187740.0.html
Latest Release: Batsu CS, Elsa CS
Re: IsRageNeko's workshop (Help With Code Needed)
#93  October 20, 2019, 08:42:13 PM
  • ****
  • The 'Why Not Both?' Boy
    • UK
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.
Re: IsRageNeko's workshop (Help With Code Needed)
#94  October 20, 2019, 09:14:39 PM
  • ***
  • BRAIIIIINS!!
  • Lonely? Ronin? Morning? Sorry?
    • Chile
Current project: Morrigan Aensland (Unknown for now)
Current CS WIP: ...
Project Thread: http://mugenguild.com/forum/topics/isragenekos-workshop-help-wanted-187595.0.html
CS Patches Thread: http://mugenguild.com/forum/topics/isragenekos-cs-patches-187740.0.html
Latest Release: Batsu CS, Elsa CS
Re: IsRageNeko's workshop (Help With Code Needed)
#95  October 20, 2019, 10:00:14 PM
  • ****
  • The 'Why Not Both?' Boy
    • UK
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
Re: IsRageNeko's workshop (Help With Code Needed)
#96  October 22, 2019, 09:00:27 PM
  • ***
  • BRAIIIIINS!!
  • Lonely? Ronin? Morning? Sorry?
    • Chile
Current project: Morrigan Aensland (Unknown for now)
Current CS WIP: ...
Project Thread: http://mugenguild.com/forum/topics/isragenekos-workshop-help-wanted-187595.0.html
CS Patches Thread: http://mugenguild.com/forum/topics/isragenekos-cs-patches-187740.0.html
Latest Release: Batsu CS, Elsa CS
Re: IsRageNeko's workshop (Help With Code Needed)
#97  April 12, 2020, 10:40:27 PM
  • ***
  • BRAIIIIINS!!
  • Lonely? Ronin? Morning? Sorry?
    • 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)
Current project: Morrigan Aensland (Unknown for now)
Current CS WIP: ...
Project Thread: http://mugenguild.com/forum/topics/isragenekos-workshop-help-wanted-187595.0.html
CS Patches Thread: http://mugenguild.com/forum/topics/isragenekos-cs-patches-187740.0.html
Latest Release: Batsu CS, Elsa CS
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

  • Online
yooo... the Midnight Bliss is actually cool... (why is my nose bleeding?)
"If someone is willing to take my freedom...I won't hesitate to take theirs. My father never made me that way. It's who I've been since the time I was born."
                                                                 -Eren Yeager.
Re: IsRageNeko's workshop (Help With Code Needed)
#99  April 14, 2020, 07:17:54 PM
  • ***
  • BRAIIIIINS!!
  • Lonely? Ronin? Morning? Sorry?
    • Chile
Current project: Morrigan Aensland (Unknown for now)
Current CS WIP: ...
Project Thread: http://mugenguild.com/forum/topics/isragenekos-workshop-help-wanted-187595.0.html
CS Patches Thread: http://mugenguild.com/forum/topics/isragenekos-cs-patches-187740.0.html
Latest Release: Batsu CS, Elsa CS
Re: IsRageNeko's workshop (Help With Code Needed)
#100  June 16, 2020, 12:25:23 AM
  • ***
  • BRAIIIIINS!!
  • Lonely? Ronin? Morning? Sorry?
    • 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
Current project: Morrigan Aensland (Unknown for now)
Current CS WIP: ...
Project Thread: http://mugenguild.com/forum/topics/isragenekos-workshop-help-wanted-187595.0.html
CS Patches Thread: http://mugenguild.com/forum/topics/isragenekos-cs-patches-187740.0.html
Latest Release: Batsu CS, Elsa CS