Infinity MUGEN Team

IMT Main => M.U.G.E.N Guides & Tutorials => Topic started by: yugo05 on March 28, 2009, 04:08:49 PM

Title: How to encode a "Ougi"
Post by: yugo05 on March 28, 2009, 04:08:49 PM
Hi everyone!

I will (ty to) learn you how to encode an Ougi in a mugen character.

1: Rip the sprites: To rip the sprites of your ougi, you need a media player called KMPlayer (http://kmplayer.en.softonic.com/). Play your video and hold ctrl+A to capture the frames very quickly. (Very useful if you need frames for an intro for example)

If  you want to try without waiting, i ripped all the sprites of Kakashi's Raïkiri in Naruto Ultimate Ninja 3:

Here! (http://www.megaupload.com/?d=BDU9VRVB)

Now, Convert them in PCX, 256 colors (there are 124 frames) and add them in your character's SFF and AIR.

if you want to try another ougi, make sure that the opponent doesn'nt appear  on the video....


Now, let's program!

It's very easy to encode an ougi: It's like a throw!



1: a state coded like a throw attempt:

[Statedef 11000]

statetype=S
movetype=A
physics=N
anim= 950
velset=8,0

[state 11000, superpause]

type=superpause
trigger1=animelem=1
time=15
darken=1
poweradd=-1000

[state 11000, hitdef]

type=hitdef
trigger1=animelem=4
attr=S,NA
Hitflag=MAF
guardflag=MA
animtype=Hard
damage=30,0
Ground.type=high
Ground.velocity=0,0
pausetime=5,5
ground.hittime=20
ground.fall=1
p1stateno=11001
p2stateno=11002




[state 11000, end]

type=changestate
trigger1=animtime=0
value=0
ctrl=1


Second state, programmed like a throw

[statedef 11001]

type=S
movetype=H
physics=S
anim=11000 (In this anim, there is just one frame which leasts the time of your ougi)
velset=0,0

[state 11001, assertspecial]

type= assertspecial
trigger1=1
flag=NoBG
flag2=noFG
flag3=invisible
time=380

[state 11001]

type=assertspecial
trigger1=1
flag=nobardisplay



this is your ougi
[state 11001, explod]

type = Explod
trigger1 = time=30
anim = 10000
pos = -160,120 (adjust the pos)
postype = right 
facing = 1
vfacing = 1
bindtime = 1
vel = 0,0
accel = 0,0
random = 0,0
removetime = -2
supermove
pausemove
scale = 1,1
sprpriority = 5

[state 11001, targetlifeadd]

type=targetlifeadd
trigger1=time=323
value=-500





[state 11001, end]

type=changestate
trigger1=animtime=0
value=0
ctrl=1


and the state of the opponent:

[statedef 11002]

type=S
movetype=H
physics=S
anim=12000 (as the P1 anim: One frame which leasts the time of the anim)

[state 1002, changeanim]

type=changeanim2
trigger1=time=0
value=12000

[state 11002, assertspecial]

type=assertspecial
trigger1=1
flag=invisible



[state 11002, invicibility]

type=nothitby
trigger1=time=0
value=SCA
time=380

[state 10002, end]

type=selfstate
trigger1=animtime=0
value=5100
ctrl=1



OK! Tutorial over! I hope you understood it! (because i'm french so, my english...You know...)

Here is the final result! (http://www.infinitymugenteam.com/Forum_345/index.php?action=post;msg=273527;topic=21819.0;sesc=fcd0c710dbb4cd0af734edb0dadc9353)




Title: Re: How to encode a "Ougi"
Post by: Technology on March 28, 2009, 05:23:30 PM
OMG, this is waaaay toooo awesome.  :thumbsup:

I'm going to try this for sure.  ;D
Title: Re: How to encode a "Ougi"
Post by: Dakangel on March 28, 2009, 05:33:06 PM
Whats an Ougi  :-??
Title: Re: How to encode a "Ougi"
Post by: yugo05 on March 28, 2009, 05:42:08 PM
A Ougi is a cinematic sequence which appears when a character use an ultimate attack....(for exemple, in naruto ultimate ninja series)
Title: Re: How to encode a "Ougi"
Post by: Technology on March 28, 2009, 06:51:49 PM
 >:-(-|

Hey yugo, check out your PMs.  :O*D
(http://www.infinitymugenteam.com/Forum_345/Themes/default/images/warnmute.gif) Theres no need to spam the forum by saying check your pm..if you have sent one, they will notice it
Title: Re: How to encode a "Ougi"
Post by: gunz on March 28, 2009, 08:39:49 PM
will any video format work for this kmplayer.
Title: Re: How to encode a "Ougi"
Post by: O Ilusionista on March 31, 2009, 10:39:50 PM
Quote
1: Rip the sprites: To rip the sprites of your ougi, you need a media player called KMPlayer. Play your video and hold ctrl+A to capture the frames very quickly. (Very useful if you need frames for an intro for example)

errr....Fighter Factory do the same thing :)
Title: Re: How to encode a "Ougi"
Post by: yugo05 on April 02, 2009, 06:35:23 AM
Yes, I know it. But, I got the video with Tatervideo. A free program which downloads videos from YouTube  (FLV format) .

But, as O Illusionista Said, you can also use AVI Fame extractor ... ;)
SimplePortal 2.3.5 © 2008-2012, SimplePortal