YesNoOk
avatar

VS. Final Battle (Read 2492 times)

Started by Galford2k7, October 12, 2007, 03:41:46 pm
Share this topic:
VS. Final Battle
#1  October 12, 2007, 03:41:46 pm
  • avatar
Hi all Mugen Fans,

i'm new here and i've read alot in this forum so far.
I'm making my own remake of SNK vs. Capcom and it's done by 25%. The worst is doing an Intro. But that will be the last on my list   ;D .
I'm planning to insert secret characters at let's say if you do 5 Perfect wins, or 3 LVL3 Super Finish wins.

But my real question is:
How do I define which character get's which last opponent. i.e. Ryu's last opponent = Ken; Ken's=Ryu; E.Ken and E.Ryu = Gouki; M.Bison (US) = Gill and so on.

Thanks in advance,
Galford2k7
Re: VS. Final Battle
#2  October 12, 2007, 03:54:26 pm
  • ****
  • Coming Soon?
pretty sure you cannot do any of what you mentioned
Latest Yoshi alpha ready for feedback Aug 15th check here for details...
Re: VS. Final Battle
#3  October 12, 2007, 05:38:48 pm
  • avatar
That's too bad  :-\  ... i hope this will be fixed with the new mugen version since elecbyte is back :)
Re: VS. Final Battle
#4  October 12, 2007, 05:41:46 pm
  • ******
  • [E]
    • Mexico
in a full game you can but it might be too complex for your current understanding of mugen.
Re: VS. Final Battle
#5  October 12, 2007, 05:56:03 pm
  • avatar
correct me if i am wrong. But all i need is a log file where mugen writes in after a match. And File 2 is checking this Logfile like:

if (condition)
{
   // code to execute if condition is true
}
else
{
   // code to execute if condition is false
}

int main() {
  // define two integers
  int x = 1;
  int y = 0;

  //print out a message telling which is bigger
  if (x > y) {
    cout << "x is bigger than y" << endl;
  }
  else {
    cout << "x is smaller than y" << endl;
  }
  return 0;
}
Re: VS. Final Battle
#6  October 12, 2007, 06:31:41 pm
  • avatar
  • ******
I'm looking forward to when you'll point out how you can have Mugen write that in an external file :P
As always, all of this is technically possible by making up some sort of external interface that would mimick Mugen's selections and launch the actual fights through the appropriate command line (which Mugen can perfectly accept). But nobody in his right mind takes the time for that.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
Re: VS. Final Battle
#7  October 12, 2007, 07:33:54 pm
  • ******
  • [E]
    • Mexico
mugen can output fight logs, i used those while playing around with the ai ilfe parameter. they did not seem to be particularly useful, but then agian i was trying something more complex.

Re: VS. Final Battle
#8  October 12, 2007, 08:04:15 pm
  • avatar
  • ******
Yes, but writing those minor fight logs couldn't allow you to build up a script - there's nothing in Mugen to even read it, either. Can't be used inside Mugen. Again, an external program could probably do it quite easily, switching to a different select.def according to your track records, but not with Mugen itself only.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
Re: VS. Final Battle
#9  October 12, 2007, 08:06:46 pm
  • avatar
The log file unfortunately doesnt log any of the matches. Here's an output :
Initializing select screen...finding characters...OK
Entering main loop.
Using original loader on chars/sf3ken/sf3ken.def
Using original loader on chars/clara/clara.def
Unloading system background data...sprite data...OK
Reloading system sprite data...Reloading system background data...OK
Returned from main loop.
Deinitializing...
Clearing player cache...

i would need a way that the log records all of the match contents :/
Re: VS. Final Battle
#10  October 12, 2007, 08:15:08 pm
  • ******
  • [E]
    • Mexico
not that log

using this .bat file

Code:
start /high winmugen -p1.ai 0 sporyu2 -p2.ai 1 sporyu -nosound -log log.txt

i got this log
Code:
[Match 1]
totalmatches = 1
team1.1 =
team2.1 =
stage = stages/dojo.def

[Match 1 Round 1]
winningteam = 1
timeleft = 85.23
p1.name = Ryu
p1.life = 940
p1.power = 767
p2.name = Ryu
p2.life = 0
p2.power = 644

[Match 1 Round 2]
winningteam = 1
timeleft = 77.57
p1.name = Ryu
p1.life = 604
p1.power = 1732
p2.name = Ryu
p2.life = 0
p2.power = 2084

[Match 1 Round 3]
winningteam = 1
timeleft = 76.85
p1.name = Ryu
p1.life = 612
p1.power = 2682
p2.name = Ryu
p2.life = 0
p2.power = 2921

[Match 1 Round 4]
winningteam = 0
timeleft = 99.83
p1.name = Ryu
p1.life = 1000
p1.power = 2682
p2.name = Ryu
p2.life = 1000
p2.power = 2921

Re: VS. Final Battle
#11  October 12, 2007, 08:22:54 pm
  • avatar
thats kinda cool

Quote
Code:
....

[Match 1 Round 1]
winningteam = 1
timeleft = 85.23
p1.name = Ryu
[b]p1.life = 940[/b]
p1.power = 767
p2.name = Ryu
p2.life = 0
p2.power = 644

...

if I would use the p1.life value as information for the script that it was a perfect win ..but a lot of work