The Mugen Multiverse
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Welcome!!! - Bienvenidos!!! - ( We hope you will get involved in the MMV Community which is dedicated to having fun with Mugen ) - Bienvenidos!!! - Welcome!!!
 
PortalHomeFAQMemberlistLatest imagesUsergroupsSearchRegisterComic WIP TrackerDownloadsLog inChat
Website Navigation Help
Translate the Website
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Latest topics
» PRINCE2004
Super Armor Won't go away Emptyby jp.resort Today at 2:52 am

» Wizard project
Super Armor Won't go away Emptyby Mr.Ketchup Today at 1:47 am

» Yuri Boyka For Mugen
Super Armor Won't go away Emptyby CARNAGE777 Yesterday at 10:39 pm

» Zatara The Master Magician WIP by RenatoNato
Super Armor Won't go away Emptyby crosspotts1.0 Yesterday at 6:39 pm

Special Features at MMV




Chat on MMV w/ Discord

Video Content Creation Reference
Search
 
 

Display results as :
 
Rechercher Advanced Search

 

 Super Armor Won't go away

Go down 
3 posters
AuthorMessage
Capn_Zed




Posts : 5
Join date : 2017-10-26

Super Armor Won't go away Empty
PostSubject: Super Armor Won't go away   Super Armor Won't go away EmptyNovember 12th 2017, 7:47 am


I wanted to add armor to some moves on this character : G6_Raikage_Ay, that I downloaded because some of his moves are really slow and are easy to interrupt. I got the super armor coding from a post by Noctis named Super Armor (Guarding Disabled).

Code:
Code:
[State -2, Helper] ;This does NOT have to be in your [Statedef -2]. It can be wherever. It's just most effective in your [Statedef -2] when spawning it through vars.
type = Helper
;Feel free to add as many triggers as you want. The triggers below are just required to prevent errors.
trigger1 = NumHelper(800) = 0 ;This is so it will only spawn if the helper doesn't already exist.
trigger1 = alive ;This is so it will only spawn if you're not dead.
stateno = 800
id = 800
name = "Super Armor"
keyctrl = 0

If this stays as is then the character just spawns with armor and is completely untouchable. He also takes no damage.

Code:
Code:
[State -2, Helper] ;This does NOT have to be in your [Statedef -2]. It can be wherever. It's just most effective in your [Statedef -2] when spawning it through vars.
type = Helper
;Feel free to add as many triggers as you want. The triggers below are just required to prevent errors.
[b]triggerall = NumHelper(800) = 0 ;This is so it will only spawn if the helper doesn't already exist.
triggerall = alive ;This is so it will only spawn if you're not dead.
trigger1 = stateno = 200 [/b]
stateno = 800
id = 800
name = "Super Armor"
keyctrl = 0

If I change it to this then the character spawns normally until I enter state 200. Afterwards he is covered in armor and doesn't take any damage nor responds to being hit.

What I want is for his to have armor only on certain animations like 200 but what happens is he has armor during 200 and the entire duration of the rest of the game meaning it doesn't disappear. I've tried adding stuff to this code:

Code:
Code:
[State 800, 5]
type = ChangeState ;This is so when you die or when more than one of these helpers exists, it'll destroy itself. You can add more triggers if you want. For example, a burst mode with super armor that is activated when var(50)=1. The burst mode and super armor deactivate when var(50)=0. You would want to put a "trigger3 = var(50)=0".
trigger1 = parent,life = 0
trigger2 = parent,numhelper(800) > 1
value = 802

but nothing happens. The changes I tried were to add trigger3 = stateno = 0 (default standing state) then when that failed stateno = 200 && time = 10. Neither of those worked so there must be something else that should be done to terminate the helper. Any help would be greatly appreciated.
Back to top Go down
Doom

Doom


Posts : 10512
Join date : 2014-08-22

Super Armor Won't go away Empty
PostSubject: Re: Super Armor Won't go away   Super Armor Won't go away EmptyNovember 12th 2017, 1:08 pm

Welcome Capn_Zed ... Super Armor Won't go away 705151839
Back to top Go down
https://doom783.wixsite.com/doomismia
Werewood

Werewood


Posts : 5691
Join date : 2014-08-11

Super Armor Won't go away Empty
PostSubject: Re: Super Armor Won't go away   Super Armor Won't go away EmptyNovember 14th 2017, 12:36 pm

Why did you (or Noctis) use Statedef 800 for the MUGEN Helper Statedef? scratch Statedef 800 is the common state for the main MUGEN Player's throw start-up state.........anyway, if you want your MUGEN Helper "Super Armor" to disappear when your main MUGEN Player is not in the Statedef 200 or is not using Animation Action #200, then you may need to add this MUGEN Trigger to the [State 800, 5]:
Code:
trigger3 = Parent, StateNo != 200 || Parent, Anim != 200

* I personally prefer to use the "Root, " MUGEN Trigger Redirection for the main MUGEN Player though... geek

By the way, I recommend you to use Seravy's MUGEN Superarmor code as it is more straight-forward and easier to add to your main MUGEN Player without too much editing Arrow :  https://web.archive.org/web/20150506064514/http://elecbyte.com/wiki/index.php/Superarmor
Back to top Go down
https://onedrive.live.com/?cid=7DB65F02B0BBD12E
Capn_Zed




Posts : 5
Join date : 2017-10-26

Super Armor Won't go away Empty
PostSubject: Re: Super Armor Won't go away   Super Armor Won't go away EmptyNovember 18th 2017, 8:22 am

Thanks for the help. I tried Your trigger and it worked. I was looking for Seravy's guide but I couldn't find it anywhere. Noctics actually made adjustments based on Seravy's feedback and Seravy made a link but the Page didn't seem to still be up and running.
Back to top Go down
Werewood

Werewood


Posts : 5691
Join date : 2014-08-11

Super Armor Won't go away Empty
PostSubject: Re: Super Armor Won't go away   Super Armor Won't go away EmptyNovember 18th 2017, 10:45 am

Oh I see Noctics' was based on Seravy's, too bad MUGEN itself does not have a built-in super armor feature for characters............. Neutral
Back to top Go down
https://onedrive.live.com/?cid=7DB65F02B0BBD12E
Sponsored content





Super Armor Won't go away Empty
PostSubject: Re: Super Armor Won't go away   Super Armor Won't go away Empty

Back to top Go down
 
Super Armor Won't go away
Back to top 
Page 1 of 1
 Similar topics
-
» Super Armor Video?
» Darkseid by Wucash super armor
» Super Armor Like Zvitor's Colossus
» [1.0 ONLY] Rockman X and RMX5 Gaea Armor X by FXFreitas
» Individually Released Super Smash Fighter characters (new Super Monkey Ball & The Master)

Permissions in this forum:You cannot reply to topics in this forum
The Mugen Multiverse :: Mugen Related :: Mugen Help-
Jump to: