YesNoOk
avatar

Split off the Code Snippet Archive (Read 2060 times)

Started by bigsexyc420, September 11, 2006, 12:31:19 am
Share this topic:
Split off the Code Snippet Archive
#1  September 11, 2006, 12:31:19 am
  • avatar
  • *
so where exactly are these codes to be inputed?
Re: Code Snippet Archive
#2  September 11, 2006, 03:33:26 am
  • ******
  • In after lock
    • mugenguild.com/~messatsu/index.html
It's context dependent.


Many people risk their lives everyday by having Mugen.
Re: Code Snippet Archive
#3  September 11, 2006, 03:42:46 am
  • avatar
  • ******
    • USA
so where exactly are these codes to be copy-pasted?
as messatsu told you, all of them are context dependent, but basically, they have to be inputed in the cns file or the cmd file, also be sure to add them in a valid state number (not used by any other move :P), the "****" must be replaced by numbers (obviously :P :P)
Re: Code Snippet Archive
#4  November 29, 2007, 11:59:13 pm
  • ****
  • Kyosuke + Ky Kiske = Kensuke?
Wanted to ask about the comment "feel like a brick wall" does this mean super armor?
~Ultimate Kensuke of the True Lightning~

Real Bout High School Battle

Coming.....soon....
Re: Code Snippet Archive
#5  November 30, 2007, 10:10:46 am
  • ******
  • Limited time to use Infinite power !
    • France
    • network.mugenguild.com/cybaster/
In the last version, before this thread was imported here, each post had its own title, which made us know what the code was for exactly, without having to read the whole thing.

May be nice if a mod could change the titles of the posts. :)
Re: Code Snippet Archive
#6  December 28, 2007, 08:03:16 am
  • avatar
  • **
my brain, it hurts.

Damn CODING.
Re: Code Snippet Archive
#7  January 25, 2008, 03:47:04 am
  • *
can some1 tell me how 2 code a SGS



R.I.P Reu  if i had some sprites i would make a pic dedicated to you
Re: Code Snippet Archive
#8  January 29, 2008, 07:41:36 pm
  • ******
  • Limited time to use Infinite power !
    • France
    • network.mugenguild.com/cybaster/
Re: Code Snippet Archive
#9  February 16, 2008, 08:28:44 pm
  • **
  • fallen...
David you mentioned , you can use lifegain the same way as power gain...

how would you do that?  is the variable lifeadd the one to use? 

like I see this in one character:

Code:
[State 6995]
type=lifeadd
trigger1=!time
value=-250

does that add or subtract the life?
Re: Code Snippet Archive
#10  February 16, 2008, 09:32:47 pm
  • **
  • I hate making gifs
subtract
<- The Mugen Amateur ->
The code may be messy, but it works.
Re: Code Snippet Archive
#11  June 14, 2008, 03:16:05 pm
  • **
  • Future SSBB/DSBX (Wii) hacker xD
    • www.freewebs.com/amorphis_x
I've a question:

Does this code work?
It's a damage code I found
damage = Ceil(0.013 * enemy,Const(data.life)) * root,var(39),Ceil(0.008 * enemy,Const(data.life)) * root,var(39)

I always wanted to find out how to load other constants from p2 life the attack or defense, but IDK how, so could anyone help me?
天 < 黄泉<> 四劫 > 空劫

zweifele nicht!
Re: Code Snippet Archive
#12  June 22, 2008, 12:22:12 pm
  • *****
  • Horrible
    • Sweden
    • http://network.mugenguild.com/anjel/
Revive!

Put enemy, then it reads the enemys. It is writen in the exp.html/rtf in the docs.

I'll translate that for you:

damage = Ceil(0.013 * enemy,Const(data.life)) * root,var(39),Ceil(0.008 * enemy,Const(data.life)) * root,var(39))
Would be

damage = Rounded high(0.013 multipled by enemys Constsnt life multipled by players variable 39) , Rounded high(0.008 multipled by enemys Constsnt life multipled by players variable 39)

The thing after the bold comma is guard damage. Noticed the the one that wrote that forgot the ending parhentise.
My shitty mugen stuff:
Re: Code Snippet Archive
#13  June 29, 2008, 07:54:17 am
  • **
  • Future SSBB/DSBX (Wii) hacker xD
    • www.freewebs.com/amorphis_x
Revive!

Put enemy, then it reads the enemys. It is writen in the exp.html/rtf in the docs.

I'll translate that for you:

damage = Ceil(0.013 * enemy,Const(data.life)) * root,var(39),Ceil(0.008 * enemy,Const(data.life)) * root,var(39))
Would be

damage = Rounded high(0.013 multipled by enemys Constsnt life multipled by players variable 39) , Rounded high(0.008 multipled by enemys Constsnt life multipled by players variable 39)


The thing after the bold comma is guard damage. Noticed the the one that wrote that forgot the ending parhentise.

Hey thx, rlly ^^

And the same works with attack from the opponent? What's with the constants, does it work if I write it as a constant?
天 < 黄泉<> 四劫 > 空劫

zweifele nicht!
Re: Code Snippet Archive
#14  June 29, 2008, 11:47:15 am
  • *****
  • Horrible
    • Sweden
    • http://network.mugenguild.com/anjel/
Attack is in the constants. So it would work. You might wanna alter the code though. The normal attack is 100. And the normal life is 1000. So it only does 10% of the damage it would do if you used life.
My shitty mugen stuff:
Re: Code Snippet Archive
#15  September 22, 2008, 11:23:32 pm
is there a code for unblockable attacks? ive been playing with the constants and nothing seems to be working nevermind, sorry ;D
Last Edit: September 23, 2008, 12:53:34 am by xian zhi
Re: Code Snippet Archive
#16  April 10, 2009, 08:27:51 am
  • avatar
Hello could anyone post a code on how to have a recharging time in a move?Let's say if you would want to make it so that when you use a move you have to wait for example 5 seconds before using it again.I really need that for my Pain.
Re: Code Snippet Archive
#17  April 10, 2009, 02:00:49 pm
  • *****
  • Horrible
    • Sweden
    • http://network.mugenguild.com/anjel/
Set a variable in said state (move).
Then make the variable subtract 1 from that every tick (trigger1 = 1) as long as this variable is over 0 (use negative state for this (60*5=300, so the variable should be set at 300)).
Then just put a trigger in the command which says your variable cannot be more than 1.
My shitty mugen stuff:
Re: Code Snippet Archive
#18  April 10, 2009, 05:00:03 pm
  • avatar
That's okay I already figured it out ;D
Re: Code Snippet Archive
#19  June 07, 2009, 06:24:33 pm
  • ******
  • I am a ghost.
    • USA
    • www.bmarquis.com
May I have permission to post this on my Wiki's mugen development section for bookkeeping purposes?
Accusare nemo se debet nisi coram Veridis
DYNOMITE
Re: Code Snippet Archive
New #20  November 21, 2009, 10:34:28 am
  • ***
  • 2D Forever. Maybe.
    • www.twitch.tv/brendle
Hi everyone,

I think it would be great if 'Alpha Counter' could be added to this list. I would like to know how to do it. I'm sure everyone knows what it is, but just incase you don't;

You'll find Alpha Counters in games such as Street Fighter Alpha. When you block one of your opponents moves, while you're in block stun, do the alpha counter move (whatever this command may be). You will break out of your block stun and hit your opponent. To make sure this isn't abused, alpha counters usually take a curtain amount of your super bar.

ADDED - Or could someone at least point me to a link where I can find out how to do it? Please?
An anthropomorphic existential nightmare.
Last Edit: November 22, 2009, 12:59:57 am by FrozenDelight
Re: Split off the Code Snippet Archive
#21  November 21, 2009, 05:31:00 pm
  • ****
    • www.mugenevolution.co.uk/hadoabuser
Its just a Hitoverride with effects.
Card Sagas Wars > what ever you like.
POTS has his name in 50% of characters' readme. I shall have 50% too, but for stages ! :ninja: ;D
Re: Split off the Code Snippet Archive
#22  November 21, 2009, 07:27:45 pm
  • ******
  • [E]
    • Mexico
not really, te alpha counter is more like performing a super only when you are in blockstun.