YesNoOk
avatar

Camera focused on character during winpose (Read 566 times)

Started by Tony DrewLo, December 26, 2011, 08:55:42 AM
Share this topic:
Camera focused on character during winpose
#1  December 26, 2011, 08:55:42 AM
  • *
    • USA
Is it possible to have the camera focused on a character while doing their winpose similar to samurai shodown
Re: Camera focused on character during winpose
#2  December 26, 2011, 09:01:08 AM
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
You need to stop the camera focusing on player 2 first. That is rather difficult in some ways. P2 needs to be in 5150 for a match to class as endable, although he doesn't need to stay there he needs to at least pass through it. At the same time you need him in a custom state to make use of screenbound to set the camera to stop following him.

Are there special conditions for your winpose? Is this a certain type of character? We can provide a solution but we need a bit of detail about how you want this to go. If it's some fancy boss it's a bit easier. If it's something like Ryu it's a workaround.


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.
Re: Camera focused on character during winpose
#3  December 26, 2011, 09:58:45 AM
  • *
    • USA
Yes it's for a regular character like Ryu
Last Edit: December 26, 2011, 10:06:22 AM by SteelerD
Re: Camera focused on character during winpose
#4  December 26, 2011, 10:10:56 AM
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
First one, and my memory is pretty shit here so this possibly won't work.

In your winstate/winstate decider, make sure it's movetype = A for attack.

In there, first thing before anything else, use a targetstate to send p2 to a new state. Any number will do.

In that state the only thing you need is

[State ScreenBound]
type = screenbound
trigger1 = 1
value = 0
movecamera = 0,1

The last part i know functions, the rest of it may break and we'll need to get fancy.


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.
Re: Camera focused on character during winpose
#5  December 26, 2011, 10:28:36 AM
  • *
    • USA
Is this how the custom state should look:

[Statedef 20000]
ctrl = 0

[State 20000, ScreenBound]
type = ScreenBound
trigger1 = 1
value = 0
movecamera = 0,1
Re: Camera focused on character during winpose
#6  December 26, 2011, 11:05:18 AM
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
movetype = H
ctrl = 1

Sadly you need ctrl for the end of the round. But, yeah, provided he enters that state what you want to achieve will happen, if he doesn't enter it, we need to work out how to let him do that.


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.
Re: Camera focused on character during winpose
#7  December 26, 2011, 11:17:43 AM
  • *
    • USA
Ok it didn't happen. Maybe I entered the targetstate incorrectly

Here is the targetstate:

[State 180, TargetState]
type = TargetState
trigger1 = Time = 0
value = 20000

It's in state 180 (win state decider)
Re: Camera focused on character during winpose
#8  December 26, 2011, 09:48:32 PM
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Which is movetype = A correct?

I'm still iffy about this but i have had experience of picking a target up with a bind again after releasing them so provided processing hasn't stopped this ought to be feasible. Otherwise your killing blow has to do a lot of custom state stuff.


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.