YesNoOk
avatar

RootChangeState ( Omega Tom Hanks Killer ) (Read 31605 times)

Started by 2OS, June 08, 2012, 07:24:55 pm
Share this topic:

2OS

RootChangeState ( Omega Tom Hanks Killer )
#1  June 08, 2012, 07:24:55 pm
  • ****
  • 608 Wannabe
  • Ich schicke dich zur HOELLE!! STIRB DU FEIGLING!!
    • Egypt
[Statedef 90000000]  ;;  Killer State

[State RootSelfState]
type=projectile
trigger1=!numprojid(205205)
projid=205205
projremove=0
projremovetime=-1
attr=c,ht  ;;  most uncommon hit attribute
projanim=anim  ;;  if a helper enters this state because it was reversed it means that state has an attack CLSN and a hitdef.
projhitanim=-1
projreanim=-1
projcancelanim=-1
projpriority=9999999
p1stateno=prevstateno  ;;  projectiles can only be owned by the root, so p1stateno will send the root here so it can be reversed ( and killed ) if the anim and hitdef trigger is not ishelper
p2stateno=205205
p2getp1state=0



[Statedef -2]

[State The Projectile Needs Something To Hit]
type=helper
trigger1=!numhelper(205205)
id=205205
stateno=205205
helpertype=normal
name="OTHK"
pos=0,0
postype=p1
pausemovetime=9999999
supermovetime=9999999



[Statedef 205205]

[State ]
type=statetypeset
trigger1=ishelper(205205)
trigger1=!time
movetype=i

[State Giant CLSN 1 and 2]
type=changeanim
trigger1=ishelper(205205)
trigger1=!time
value=205205  ;;  Giant CLSN 1 and 2

[State Most Uncommon Hit Attribute]
type=hitby
trigger1=ishelper(205205)
value=c,ht

[State Most Uncommon Hit Attribute 2]
type=hitby
trigger1=ishelper(205205)
value2=c,ht

[State ]
type=reversaldef
trigger1=ishelper(205205)
trigger1=
reversal.attr=acs,aa,ap,at
p2stateno=90000000
pausetime=12,0
hitsound=-1
sparkno=-1
hitonce=0
numhits=0

[State ]
type=targetstate
trigger1=ishelper(205205)
trigger1=
value=90000000

[State ]
type=velset
trigger1=ishelper(205205)
x=rootdist x
y=rootdist y


this will KILL Omega Tom Hanks / Goddess Justice / 2nd Death Star / Legend Gogeta 2.9 / Finale Sula / Etc
Last Edit: January 28, 2017, 08:44:12 pm by 2OS
Re: RootSelfState ( Omega Tom Hanks Killer )
#2  January 10, 2013, 07:51:39 am
  • *
  • Wish I'd have more space for personal text...
    • Mexico
    • Paragon7x@Jabber.org
Sorry 2oS for the (probably) n00b questions, but, how can I integrate this to an attack of a char I am editing?, see, I have this state:
Spoiler, click to toggle visibilty

also, the other thing is, that in the spaces you left blank after "trigger =" do you have to fill in with the name of the character to apply the code?
and, just a little thing left: if I just copy-paste these states (and the -2 one in statedef -2), when the char is already on-screen, there's ALWAYS the stand animation of my character attached to itself. I need some help with all these stuff, of course, if you can give me some ;) thanks

2OS

Re: RootSelfState ( Omega Tom Hanks Killer )
#3  March 01, 2013, 10:04:10 am
  • ****
  • 608 Wannabe
  • Ich schicke dich zur HOELLE!! STIRB DU FEIGLING!!
    • Egypt
state 205205 is a helper for your character. you shouldn't be defining it as p2stateno. you're seeing the stand animation because you probably did not make an anim 205205.

no the blank triggers aren't supposed to be character names. the blank triggers are for you to define what move you want the killer effect to trigger. i'm not a mind reader hence them being blank.

state 90000000 is the state you put the enemy's helper in and you make that helper spawn that projectile. the p1stateno of that projectile will put the enemy itself into the helpers state which will most likely allow the enemy itself to be reversed ( and killed ) the way the helper was. p1stateno takes effect as soon as it hits something ( your helper in 205205 ).

you can use your own state numbers. the only reason i chose 90000000 as the killer state is because it will kill The Pacifier 0.5.
Re: RootSelfState ( Omega Tom Hanks Killer )
#4  March 07, 2013, 12:37:03 am
  • *
  • God Alosson
    • USA
    • wielderoffreeflight@gmail.com
Could you explain a bit more? So there needs to be a command to get it to work? Because when I tried the code on 2nd death star, it ended up breaking both of them. Could you help me a bit?
"Just face it, the darkness is to strong to handle."

2OS

Re: RootSelfState ( Omega Tom Hanks Killer )
#5  March 07, 2013, 08:56:44 am
  • ****
  • 608 Wannabe
  • Ich schicke dich zur HOELLE!! STIRB DU FEIGLING!!
    • Egypt
i don't think i can be any clearer.
Re: RootSelfState ( Omega Tom Hanks Killer )
#6  March 07, 2013, 10:24:06 pm
  • *
  • God Alosson
    • USA
    • wielderoffreeflight@gmail.com
So, how is it suppose to activate? When a helper enters the CLSN Boxes, does it trigger the command? or do we need to put a reversalDef in that state of the command?
"Just face it, the darkness is to strong to handle."
Re: RootSelfState ( Omega Tom Hanks Killer )
#7  March 09, 2013, 09:42:40 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
You are managing to put a helper into a custom state. The helper fires a projectile. Projectiles are always owned by the root. The projectile hits your helper, the root, thats the opponent, is then sent to a custom state.

I find it odd that the logistics of mugen are treating p1stateno as changestate rather than selfstate, but then, mugen is always kinda dumb about this sort of thing so whatever.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

2OS

Re: RootSelfState ( Omega Tom Hanks Killer )
#8  March 10, 2013, 09:02:56 am
  • ****
  • 608 Wannabe
  • Ich schicke dich zur HOELLE!! STIRB DU FEIGLING!!
    • Egypt
noticed that too recently. it's really rootchangestate.

which is better considering the purpose of this concept is to instant kill/poison/enable some sort of vulnerability/all.
Re: RootSelfState ( Omega Tom Hanks Killer )
#9  April 30, 2013, 01:16:09 am
  • *
  • God Alosson
    • USA
    • wielderoffreeflight@gmail.com
I've got one more question, I've been messing around with this and tested it on OTH, then he turned into one of his posters. Is there anyway to insert a lifeadd/lifeset or target lifeset within the coding?
"Just face it, the darkness is to strong to handle."
Re: RootChangeState ( Omega Tom Hanks Killer )
#10  October 02, 2018, 06:37:15 am
  • avatar
  • **
    • Vietnam
This type of technician are not complete cause the "anim" so it probably corrupted
------Tremble Mortal and Despair. Doom has come to this world------