YesNoOk
avatar

ForceFeedBack in mugen ? (Read 4272 times)

Started by KOFHƎRO77, August 18, 2018, 02:19:50 pm
Share this topic:
ForceFeedBack in mugen ?
#1  August 18, 2018, 02:19:50 pm
  • ***
    • Morocco
I was wondering if i can get my controller to vibrate,for example when i get hit.i saw a thread that has the same topic but its from the winmugen days so think it should be supported by now.
Re: ForceFeedBack in mugen ?
#2  August 18, 2018, 03:20:09 pm
  • ****
    • crepa.neocities.org
In fact, there is a Force Feedback ctrl, but since I play on keyboard I don't know if this works...
Re: ForceFeedBack in mugen ?
#3  August 18, 2018, 03:40:09 pm
  • ***
    • Morocco
So the character should have the code so it could work ?
Re: ForceFeedBack in mugen ?
#4  August 18, 2018, 06:29:40 pm
  • ****
    • crepa.neocities.org
Yes. An example:

Code:
[State 5000, FFB Light]
type = ForceFeedback
trigger1 = anim = 5000
trigger2 = anim = 5010
persistent = 0
time = 6
waveform = square

[State 5000, FFB Medium]
type = ForceFeedback
trigger1 = anim = 5001
trigger2 = anim = 5011
persistent = 0
time = 8
waveform = sinesquare
ampl = 110,-1,-.3

[State 5000, FFB Hard]
type = ForceFeedback
trigger1 = anim = 5012
trigger2 = anim = 5002
trigger3 = anim = 5030
persistent = 0
time = 15
waveform = sinesquare
ampl = 140

As you can probably tell, 5000+ are 'being hit' states.
Re: ForceFeedBack in mugen ?
#5  August 18, 2018, 08:16:02 pm
  • ***
    • Morocco
So if i put this in a character's cns will it work or its a uncomplete code ?
Re: ForceFeedBack in mugen ?
#6  August 20, 2018, 08:58:28 pm
  • ****
    • crepa.neocities.org
I just 'copy paste' a small part of the code. You'd have to put more FFB ctrls in other hit states of the char. If this works? Well... it should. As I said, I play on keyboard and I can't test it.
Re: ForceFeedBack in mugen ?
#7  February 15, 2023, 05:46:00 pm
  • *
  • Bruizerhands All Things Mugen & IKEMEN
  • I will upload characters most of the time
    • USA
Did this work for you? I have PS5 controller
“Never argue with an idiot. They will drag you down to their level and beat you with experience.” Mark Twain