VS screen methods

NED

Well-known member
Hi,
For some months I'm trying to ask myself about some VS screen system. (fighting game style)
It could be "easy" to simply display a GIF of the actual VS screen.
But There is certainly a way to generate it ingame using character stances (idle anim or win pose anim)

So before the actual VS stage, Openbor loads a "fake stage"
to display a BG, VS. word and P1 and enemy idle stance.
Or something used like a pre-intro before FIGHT message, with a custom music?
36MWNrd.png


I have no idea if this is something worth creating script coding...

The idea is to have some kind of "ingame generator"
Like scrollboss VS generator.
http://scrollboss.illmosis.net/gfxgen_vsmaker.php

Otherwise, I'll do it manually for each fight in VS mode.
 
Couldn't you just use the cutscene option and display it before boss battles I know O does this in his avengers mod with his boss profiles couldnt you just have the image cover the screen to make it look like a mock vs it woulndt need a script for that.  Or you can put it in character selection so when you choose the char that image shows up
 
I'm not familliar with cutscenes work, but I presume it cannot verify who is the character you're using, and what is the palette number you selected.
THis is the problem... One of them actually.

Also, When I'm speaking of VS modes, this is not actually Human VS human player.
THis is some regular story mode.
But each level /stage is an arena with 1 or 2 enemies generally
So no VS can be displayed using a select screnn overlay. :/
 
I've done this already in a mod, it's probably a bit crude, but it works if you're interested.  I don't think I can explain the whole process, message me and we can sort something out for your needs.  (it's still a work in progress, I was eventually going to script more aspects of this properly)

Basically I have a dummy stage at the start of the entire level set that sets vars for the script.  Then the actual 'VS SCREEN' is another stage that appears before every fight/stage.  This stage just loads our VS screen image as a panel and tells the player to FOLLOW20 anim, this animation is the player portrait (displayed with proper palette this way).  The stage is on a timer so it automatically ends (optional)

PANEL IMAGE
image.png


Code:
name  VERSUS
type    panel
speed   10
alpha   0
setlayer   4999999999999
noquake 1
palette none

anim	idle
	loop	0
	offset	128 240
	frame	data/bgs/panel/VS.png


Code:
spawn   empty
@script
void main()
{
    int P1 = getplayerproperty(0, "entity");
    int P2 = getplayerproperty(1, "entity");

    if(P1){
      changeentityproperty(P1, "position", 64, 240, 0);  //SET SCREEN POSITION
      changeentityproperty(P1, "health", 100);
      performattack(P1, openborconstant("ANI_FOLLOW20"), 1);  //PLAYER PORTRAIT

    }
    if(P2){
      changeentityproperty(P2, "position", 500, 244, 0);
    }
}
@end_script
coords   64 240 0
at   0

RESULT
DDMODEB_0016.png



My game sets a lot of vars to track current player, randomize next opponent/stage, track wins/losses etc.  If you have a linear game it's also much easier because all that isn't needed.  You can have Taunts/Victory Poses check the current opponent and switch animations accordingly.  My game is 8bit so it doesn't need everything the typical vs fighter would.  If they had sprites/animations for it I would of added it already.

EXAMPLE
DDMODEB_0020.png
 
Thanks for the help everybody.

@BeasTie
Impresive! truely impressive! it might do it.
Basically all I need is something to match this particular mode of game:

-from menu screen, select Arena mode or King of the ring (VS modes)
-custom select screen (4 availiable characters in this mode)
-these modes use special entities version of the characters playables in beat em up regular modes
-VS screen of the player you selected VS enemy to come
-The fight
next VS screen, and so on until end.

Yes it's linear, so no random stage or enemy is needed

But, I think there is a major problem.
this mode of game will allow special  fights than can cause problem with the regular 1on1 VS screen...
Such as:
1vs2
1vs3
2vs2...
 
If its just a 1 on 1 fighting game I would have enemy spawn a text entity with a code to show players pictures based on who is fighting but enemis can be fixed as they are spawning
 
Back
Top Bottom