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
» Family Guy Vinny sprites (help needed)
by borewood2013 Today at 20:14

» DC'S Precrisis DEADSHOT ( AKA Floyd Lawton)- released
by odin123 Today at 20:12

» Marvel vs Capcom Infinite: Marvel side characters only
by skhsato123 Today at 19:10

» Blade works
by malevka1 Today at 18:50

» CvS Ultron! soon CvS Gamora
by chuchoryu Today at 18:18

» Yo what is your computer specs if you don't mind telling? (for MUGEN engine's wholly molly sake)
by kimczi Today at 17:33

Special Features at MMV





Chat on MMV w/ Discord


Share | 
 

 Any possible way to replicate a Hitdef in a custom state?

View previous topic View next topic Go down 
AuthorMessage
Mistah Jorge

avatar

Posts : 2008
Join date : 2013-07-04
Age : 19
Location : Portugal

PostSubject: Any possible way to replicate a Hitdef in a custom state?   Mon 26 Jun - 8:33

imagine this, your character has been hit by a move that puts you in a custom state, this custom state should have:
- the same animation your previous state earlier; - done
- it should have the possibility to hit opponents, as close as the previous state normally would have; - character in custom state now hits opponents, but it's not close to the original hitdefs, want to replicate them as best as i can, but so far i have not knowledge on how to do this, is this possible?
- it should take away a tiny bit of life; - done
Back to top Go down
View user profile
borewood2013

avatar

Posts : 4979
Join date : 2014-08-11

PostSubject: Re: Any possible way to replicate a Hitdef in a custom state?   Tue 27 Jun - 11:40

Interesting............but 98% of times when you are being put in P2's/P4's MUGEN custom state(s), your movetype becomes "H", and you know HitDef does not work when movetype=H...... scratch

Can you please put your MUGEN code here for me to study and test to see? Question

Perhaps you might try this Arrow :
- detect whether your MUGEN character is being put in P2's/P4's MUGEN custom state(s) or not, by using your MUGEN way (i.e. VarSet with GameTime in both Statedef -2 & Statedef -3)
- whenever there is such a MUGEN detection, try to make your MUGEN character invisible
- call a MUGEN Helper that makes use of your MUGEN character's PrevStateNo

I say this MUGEN way because I think a MUGEN Helper is the best thing to replicate its Root's state geek
Back to top Go down
View user profile https://onedrive.live.com/?cid=7DB65F02B0BBD12E
 
Any possible way to replicate a Hitdef in a custom state?
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: