Post #1 · Posted at 2012-07-19 03:11:05pm 11.8 years ago
Lucky Junpei Luke | |
---|---|
Member | |
93 Posts | |
Reg. 2010-04-24 | |
"HEY DUUUUUUUUUUUDE!" |
Last updated: 2012-07-25 07:30pm
After someone posted a code for multiple toasty in the DDR X2 theme thread, I was thinking of making this a project.
However, I need some help in fixing the code to make it look perfect.
What I expect:
What I got:
Here's the code:
local ShowFlashyCombo = GetUserPrefB("UserPrefFlashyCombo")
return Def.ActorFrame {
FOV = 90;
LoadActor ("toastyP1_bg") .. {
InitCommand = cmd (diffusealpha, 0; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); -- and SCREEN_HEIGHT-210
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,1;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_bg") .. {
InitCommand = cmd (diffusealpha, 0; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y-50;); -- and SCREEN_HEIGHT-210
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,1;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_char") .. {
InitCommand = cmd (diffusealpha, 0; blend, 'BlendMode_Add'; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); --and SCREEN_HEIGHT-210
MilestoneCommand=cmd(ztest,true;diffusealpha,0;linear,0.5;diffusealpha,0.5;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_gradient") .. {
InitCommand = cmd (diffusealpha, 0; blend, 'BlendMode_Add'; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); --and SCREEN_HEIGHT-210);
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,0.5;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
};
Of course, I would need some help. Since it is assumed that the standard flashy combo won't go over 500 combos, the other way is to edit ScreenGameplay overlay.
However, I need some help in fixing the code to make it look perfect.
What I expect:
What I got:
Here's the code:
local ShowFlashyCombo = GetUserPrefB("UserPrefFlashyCombo")
return Def.ActorFrame {
FOV = 90;
LoadActor ("toastyP1_bg") .. {
InitCommand = cmd (diffusealpha, 0; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); -- and SCREEN_HEIGHT-210
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,1;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_bg") .. {
InitCommand = cmd (diffusealpha, 0; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y-50;); -- and SCREEN_HEIGHT-210
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,1;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_char") .. {
InitCommand = cmd (diffusealpha, 0; blend, 'BlendMode_Add'; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); --and SCREEN_HEIGHT-210
MilestoneCommand=cmd(ztest,true;diffusealpha,0;linear,0.5;diffusealpha,0.5;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_gradient") .. {
InitCommand = cmd (diffusealpha, 0; blend, 'BlendMode_Add'; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); --and SCREEN_HEIGHT-210);
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,0.5;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
};
Of course, I would need some help. Since it is assumed that the standard flashy combo won't go over 500 combos, the other way is to edit ScreenGameplay overlay.
Post #2 · Posted at 2012-07-19 04:43:12pm 11.8 years ago
NXCProduction | |
---|---|
Member | |
1,770 Posts | |
Reg. 2011-03-01 | |
"" |
Quote: Lucky Junpei Luke
After someone posted a code for multiple toasty in the DDR X2 theme thread, I was thinking of making this a project.
However, I need some help in fixing the code to make it look perfect.
What I expect:
What I got:
Here's the code:
local ShowFlashyCombo = GetUserPrefB("UserPrefFlashyCombo")
return Def.ActorFrame {
FOV = 90;
LoadActor ("toastyP1_bg") .. {
InitCommand = cmd (diffusealpha, 0; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); -- and SCREEN_HEIGHT-210
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,1;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_bg") .. {
InitCommand = cmd (diffusealpha, 0; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y-50;); -- and SCREEN_HEIGHT-210
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,1;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_char") .. {
InitCommand = cmd (diffusealpha, 0; blend, 'BlendMode_Add'; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); --and SCREEN_HEIGHT-210
MilestoneCommand=cmd(ztest,true;diffusealpha,0;linear,0.5;diffusealpha,0.5;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_gradient") .. {
InitCommand = cmd (diffusealpha, 0; blend, 'BlendMode_Add'; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); --and SCREEN_HEIGHT-210);
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,0.5;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
};
Any ideas on fixing this?
However, I need some help in fixing the code to make it look perfect.
What I expect:
What I got:
Here's the code:
local ShowFlashyCombo = GetUserPrefB("UserPrefFlashyCombo")
return Def.ActorFrame {
FOV = 90;
LoadActor ("toastyP1_bg") .. {
InitCommand = cmd (diffusealpha, 0; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); -- and SCREEN_HEIGHT-210
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,1;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_bg") .. {
InitCommand = cmd (diffusealpha, 0; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y-50;); -- and SCREEN_HEIGHT-210
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,1;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_char") .. {
InitCommand = cmd (diffusealpha, 0; blend, 'BlendMode_Add'; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); --and SCREEN_HEIGHT-210
MilestoneCommand=cmd(ztest,true;diffusealpha,0;linear,0.5;diffusealpha,0.5;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_gradient") .. {
InitCommand = cmd (diffusealpha, 0; blend, 'BlendMode_Add'; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); --and SCREEN_HEIGHT-210);
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,0.5;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
};
Any ideas on fixing this?
I think the position of the layer affects the screen
local ShowFlashyCombo = GetUserPrefB("UserPrefFlashyCombo")
return Def.ActorFrame {
FOV = 90;
LoadActor ("toastyP1_char") .. {
InitCommand = cmd (diffusealpha, 0; blend, 'BlendMode_Add'; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); --and SCREEN_HEIGHT-210
MilestoneCommand=cmd(ztest,true;diffusealpha,0;linear,0.5;diffusealpha,0.5;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_bg") .. {
InitCommand = cmd (diffusealpha, 0; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); -- and SCREEN_HEIGHT-210
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,1;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_bg") .. {
InitCommand = cmd (diffusealpha, 0; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y-50;); -- and SCREEN_HEIGHT-210
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,1;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_gradient") .. {
InitCommand = cmd (diffusealpha, 0; blend, 'BlendMode_Add'; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); --and SCREEN_HEIGHT-210);
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,0.5;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
};
this may help
Post #3 · Posted at 2012-07-19 05:16:31pm 11.8 years ago
Lucky Junpei Luke | |
---|---|
Member | |
93 Posts | |
Reg. 2010-04-24 | |
"HEY DUUUUUUUUUUUDE!" |
Last updated: 2012-07-19 05:22pm
Quote: NXCProduction
I think the position of the layer affects the screen
local ShowFlashyCombo = GetUserPrefB("UserPrefFlashyCombo")
return Def.ActorFrame {
FOV = 90;
LoadActor ("toastyP1_char") .. {
InitCommand = cmd (diffusealpha, 0; blend, 'BlendMode_Add'; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); --and SCREEN_HEIGHT-210
MilestoneCommand=cmd(ztest,true;diffusealpha,0;linear,0.5;diffusealpha,0.5;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_bg") .. {
InitCommand = cmd (diffusealpha, 0; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); -- and SCREEN_HEIGHT-210
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,1;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_bg") .. {
InitCommand = cmd (diffusealpha, 0; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y-50;); -- and SCREEN_HEIGHT-210
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,1;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_gradient") .. {
InitCommand = cmd (diffusealpha, 0; blend, 'BlendMode_Add'; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); --and SCREEN_HEIGHT-210);
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,0.5;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
};
this may help
However, what I did after that is to move the character layer to the front.
Also, I believe that the original toasty effect on 3.9 AMX is this:
[BGAnimation]
LengthSeconds=1.333
//Toasty Player 1 - Single
[Layer1]
File=toasty_maskP1 Single
Type=0
Command=blend,noeffect;zwrite,1;clearzbuffer,true;x,497;y,240;diffusealpha,0;linear,0.166;diffusealpha,1;sleep,1;linear,0.166;diffusealpha,0
Condition=IsPlayerEnabled(1) and IsHumanPlayer(1) and CurStyleName()=="single" and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer2]
File=toastyP1_bg.png
Type=0
Command=ztest,1;x,538;y,240;diffusealpha,0;linear,0.166;diffusealpha,1;sleep,1;linear,0.166;diffusealpha,0
Condition=IsPlayerEnabled(1) and IsHumanPlayer(1) and CurStyleName()=="single" and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer3]
File=toastyP1_bg.png
Type=0
Command=ztest,1;blend,add;x,482;y,240;diffusealpha,0;sleep,0.066;linear,0.1;diffusealpha,0.8;linear,0.668;addx,56;linear,0.1;diffusealpha,0
Condition=IsPlayerEnabled(1) and IsHumanPlayer(1) and CurStyleName()=="single" and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer4]
File=toastyP1.png
Type=0
Command=ztest,1;x,510;y,284;diffusealpha,0;sleep,0.066;linear,0.1;addy,-4;diffusealpha,1;linear,1;addy,-10;linear,0.1;addy,-4;diffusealpha,0
Condition=IsPlayerEnabled(1) and IsHumanPlayer(1) and CurStyleName()=="single" and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer5]
File=toastyP1_gradient.png
Type=0
Command=ztest,1;x,510;y,240;blend,add;diffusealpha,0;sleep,0.166;linear,0.5;diffusealpha,0.8;linear,0.5;diffusealpha,0
Condition=IsPlayerEnabled(1) and IsHumanPlayer(1) and CurStyleName()=="single" and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
//Toasty Player 2 - Single
[Layer20]
File=toasty_maskP2 Single
Type=0
Command=blend,noeffect;zwrite,1;clearzbuffer,true;x,143;y,240;diffusealpha,0;linear,0.166;diffusealpha,1;sleep,1;linear,0.166;diffusealpha,0
Condition=IsPlayerEnabled(2) and IsHumanPlayer(2) and CurStyleName()=="single" and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer21]
File=toastyP2_bg.png
Type=0
Command=ztest,1;x,158;y,240;diffusealpha,0;linear,0.166;diffusealpha,1;sleep,1;linear,0.166;diffusealpha,0
Condition=IsPlayerEnabled(2) and IsHumanPlayer(2) and CurStyleName()=="single" and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer22]
File=toastyP2_bg.png
Type=0
Command=ztest,1;blend,add;x,102;y,240;diffusealpha,0;sleep,0.066;linear,0.1;diffusealpha,0.8;linear,0.668;addx,56;linear,0.1;diffusealpha,0
Condition=IsPlayerEnabled(2) and IsHumanPlayer(2) and CurStyleName()=="single" and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer23]
File=toastyP2.png
Type=0
Command=ztest,1;x,130;y,284;diffusealpha,0;sleep,0.066;linear,0.1;addy,-4;diffusealpha,1;linear,1;addy,-10;linear,0.1;addy,-4;diffusealpha,0
Condition=IsPlayerEnabled(2) and IsHumanPlayer(2) and CurStyleName()=="single" and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer24]
File=toastyP2_gradient.png
Type=0
Command=ztest,1;x,130;y,240;blend,add;diffusealpha,0;sleep,0.166;linear,0.5;diffusealpha,0.8;linear,0.5;diffusealpha,0
Condition=IsPlayerEnabled(2) and IsHumanPlayer(2) and CurStyleName()=="single" and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
//Toasty Player 1 - Versus
[Layer101]
File=toasty_maskP1 Versus
Type=0
Command=blend,noeffect;zwrite,1;clearzbuffer,true;x,320;y,240;diffusealpha,0;linear,0.166;diffusealpha,1;sleep,1;linear,0.166;diffusealpha,0
Condition=IsPlayerEnabled(1) and IsHumanPlayer(1) and ( CurStyleName()=="versus" or CurStyleName()=="couple" ) and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer102]
File=toastyP1_bg.png
Type=0
Command=ztest,1;x,348;y,240;diffusealpha,0;linear,0.166;diffusealpha,1;sleep,1;linear,0.166;diffusealpha,0
Condition=IsPlayerEnabled(1) and IsHumanPlayer(1) and ( CurStyleName()=="versus" or CurStyleName()=="couple" ) and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer103]
File=toastyP1_bg.png
Type=0
Command=ztest,1;blend,add;x,292;y,240;diffusealpha,0;sleep,0.066;linear,0.1;diffusealpha,0.8;linear,0.668;addx,56;linear,0.1;diffusealpha,0
Condition=IsPlayerEnabled(1) and IsHumanPlayer(1) and ( CurStyleName()=="versus" or CurStyleName()=="couple" ) and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer104]
File=toastyP1.png
Type=0
Command=ztest,1;x,320;y,284;addy,-120;diffusealpha,0;sleep,0.066;linear,0.1;addy,-4;diffusealpha,1;linear,1;addy,-10;linear,0.1;addy,-4;diffusealpha,0
Condition=IsPlayerEnabled(1) and IsHumanPlayer(1) and ( CurStyleName()=="versus" or CurStyleName()=="couple" ) and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer105]
File=toastyP1_gradient.png
Type=0
Command=ztest,1;x,320;y,240;blend,add;diffusealpha,0;sleep,0.166;linear,0.5;diffusealpha,0.8;linear,0.5;diffusealpha,0
Condition=IsPlayerEnabled(1) and IsHumanPlayer(1) and ( CurStyleName()=="versus" or CurStyleName()=="couple" ) and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
//Toasty Player 2 - Versus
[Layer120]
File=toasty_maskP2 Versus
Type=0
Command=blend,noeffect;zwrite,1;clearzbuffer,true;x,320;y,240;diffusealpha,0;linear,0.166;diffusealpha,1;sleep,1;linear,0.166;diffusealpha,0
Condition=IsPlayerEnabled(2) and IsHumanPlayer(2) and ( CurStyleName()=="versus" or CurStyleName()=="couple" ) and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer121]
File=toastyP2_bg.png
Type=0
Command=ztest,1;x,348;y,240;diffusealpha,0;linear,0.166;diffusealpha,1;sleep,1;linear,0.166;diffusealpha,0
Condition=IsPlayerEnabled(2) and IsHumanPlayer(2) and ( CurStyleName()=="versus" or CurStyleName()=="couple" ) and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer122]
File=toastyP2_bg.png
Type=0
Command=ztest,1;blend,add;x,292;y,240;diffusealpha,0;sleep,0.066;linear,0.1;diffusealpha,0.8;linear,0.668;addx,56;linear,0.1;diffusealpha,0
Condition=IsPlayerEnabled(2) and IsHumanPlayer(2) and ( CurStyleName()=="versus" or CurStyleName()=="couple" ) and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer123]
File=toastyP2.png
Type=0
Command=ztest,1;x,320;y,284;addy,120;diffusealpha,0;sleep,0.066;linear,0.1;addy,-4;diffusealpha,1;linear,1;addy,-10;linear,0.1;addy,-4;diffusealpha,0
Condition=IsPlayerEnabled(2) and IsHumanPlayer(2) and ( CurStyleName()=="versus" or CurStyleName()=="couple" ) and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer124]
File=toastyP2_gradient.png
Type=0
Command=ztest,1;x,320;y,240;blend,add;diffusealpha,0;sleep,0.166;linear,0.5;diffusealpha,0.8;linear,0.5;diffusealpha,0
Condition=IsPlayerEnabled(2) and IsHumanPlayer(2) and ( CurStyleName()=="versus" or CurStyleName()=="couple" ) and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
//Solo values
//P1+101
//P2-103
//Toasty Player 1 - Solo
[Layer201]
File=toasty_maskP1 Single
Type=0
Command=blend,noeffect;zwrite,1;clearzbuffer,true;x,497;y,240;addx,101;diffusealpha,0;linear,0.166;diffusealpha,1;sleep,1;linear,0.166;diffusealpha,0
Condition=IsPlayerEnabled(1) and IsHumanPlayer(1) and CurStyleName()=="solo" and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer202]
File=toastyP1_bg.png
Type=0
Command=ztest,1;x,538;y,240;addx,101;diffusealpha,0;linear,0.166;diffusealpha,1;sleep,1;linear,0.166;diffusealpha,0
Condition=IsPlayerEnabled(1) and IsHumanPlayer(1) and CurStyleName()=="solo" and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer203]
File=toastyP1_bg.png
Type=0
Command=ztest,1;blend,add;x,482;y,240;addx,101;diffusealpha,0;sleep,0.066;linear,0.1;diffusealpha,0.8;linear,0.668;addx,56;linear,0.1;diffusealpha,0
Condition=IsPlayerEnabled(1) and IsHumanPlayer(1) and CurStyleName()=="solo" and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer204]
File=toastyP1.png
Type=0
Command=ztest,1;x,510;y,284;addx,101;diffusealpha,0;sleep,0.066;linear,0.1;addy,-4;diffusealpha,1;linear,1;addy,-10;linear,0.1;addy,-4;diffusealpha,0
Condition=IsPlayerEnabled(1) and IsHumanPlayer(1) and CurStyleName()=="solo" and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer205]
File=toastyP1_gradient.png
Type=0
Command=ztest,1;x,510;y,240;addx,101;blend,add;diffusealpha,0;sleep,0.166;linear,0.5;diffusealpha,0.8;linear,0.5;diffusealpha,0
Condition=IsPlayerEnabled(1) and IsHumanPlayer(1) and CurStyleName()=="solo" and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
//Toasty Player 2 - Solo
[Layer220]
File=toasty_maskP2 Single
Type=0
Command=blend,noeffect;zwrite,1;clearzbuffer,true;x,143;y,240;addx,-103;diffusealpha,0;linear,0.166;diffusealpha,1;sleep,1;linear,0.166;diffusealpha,0
Condition=IsPlayerEnabled(2) and IsHumanPlayer(2) and CurStyleName()=="solo" and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer221]
File=toastyP2_bg.png
Type=0
Command=ztest,1;x,158;y,240;addx,-103;diffusealpha,0;linear,0.166;diffusealpha,1;sleep,1;linear,0.166;diffusealpha,0
Condition=IsPlayerEnabled(2) and IsHumanPlayer(2) and CurStyleName()=="solo" and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer222]
File=toastyP2_bg.png
Type=0
Command=ztest,1;blend,add;x,102;y,240;addx,-103;diffusealpha,0;sleep,0.066;linear,0.1;diffusealpha,0.8;linear,0.668;addx,56;linear,0.1;diffusealpha,0
Condition=IsPlayerEnabled(2) and IsHumanPlayer(2) and CurStyleName()=="solo" and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer223]
File=toastyP2.png
Type=0
Command=ztest,1;x,130;y,284;addx,-103;diffusealpha,0;sleep,0.066;linear,0.1;addy,-4;diffusealpha,1;linear,1;addy,-10;linear,0.1;addy,-4;diffusealpha,0
Condition=IsPlayerEnabled(2) and IsHumanPlayer(2) and CurStyleName()=="solo" and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
[Layer224]
File=toastyP2_gradient.png
Type=0
Command=ztest,1;x,130;y,240;addx,-103;blend,add;diffusealpha,0;sleep,0.166;linear,0.5;diffusealpha,0.8;linear,0.5;diffusealpha,0
Condition=IsPlayerEnabled(2) and IsHumanPlayer(2) and CurStyleName()=="solo" and (PlayModeName() == "Regular" or PlayModeName() == "Nonstop" or PlayModeName() == "Oni" or PlayModeName() == "Endless")
Post #4 · Posted at 2012-07-19 05:55:53pm 11.8 years ago
NXCProduction | |
---|---|
Member | |
1,770 Posts | |
Reg. 2011-03-01 | |
"" |
how about:
local ShowFlashyCombo = GetUserPrefB("UserPrefFlashyCombo")
return Def.ActorFrame {
FOV = 90;
LoadActor ("toastyP1_bg") .. {
InitCommand = cmd (diffusealpha, 0; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); -- and SCREEN_HEIGHT-210
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,1;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_bg") .. {
InitCommand = cmd (diffusealpha, 0; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y-50;); -- and SCREEN_HEIGHT-210
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,1;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_gradient") .. {
InitCommand = cmd (diffusealpha, 0; blend, 'BlendMode_Add'; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); --and SCREEN_HEIGHT-210);
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,0.5;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_char") .. {
InitCommand = cmd (diffusealpha, 0; blend, 'BlendMode_Add'; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); --and SCREEN_HEIGHT-210
MilestoneCommand=cmd(ztest,true;diffusealpha,0;linear,0.5;diffusealpha,0.5;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
};
return Def.ActorFrame {
FOV = 90;
LoadActor ("toastyP1_bg") .. {
InitCommand = cmd (diffusealpha, 0; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); -- and SCREEN_HEIGHT-210
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,1;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_bg") .. {
InitCommand = cmd (diffusealpha, 0; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y-50;); -- and SCREEN_HEIGHT-210
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,1;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_gradient") .. {
InitCommand = cmd (diffusealpha, 0; blend, 'BlendMode_Add'; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); --and SCREEN_HEIGHT-210);
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,0.5;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
LoadActor ("toastyP1_char") .. {
InitCommand = cmd (diffusealpha, 0; blend, 'BlendMode_Add'; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); --and SCREEN_HEIGHT-210
MilestoneCommand=cmd(ztest,true;diffusealpha,0;linear,0.5;diffusealpha,0.5;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
};
Post #5 · Posted at 2012-07-19 06:58:33pm 11.8 years ago
Post #6 · Posted at 2012-07-25 09:10:05am 11.8 years ago
Lucky Junpei Luke | |
---|---|
Member | |
93 Posts | |
Reg. 2010-04-24 | |
"HEY DUUUUUUUUUUUDE!" |
Last updated: 2012-07-25 09:10am
There's a way on this page that uses ScreenGameplay overlay.
I remembered also that the default flashy combo does not go beyond 500 combos unless broken. (This was tested when playing long songs.)
I remembered also that the default flashy combo does not go beyond 500 combos unless broken. (This was tested when playing long songs.)
Post #7 · Posted at 2012-07-25 12:41:35pm 11.8 years ago
NXCProduction | |
---|---|
Member | |
1,770 Posts | |
Reg. 2011-03-01 | |
"" |
with that said, can you get this worked? I'm waiting.
Post #8 · Posted at 2012-07-25 01:35:13pm 11.8 years ago
Lucky Junpei Luke | |
---|---|
Member | |
93 Posts | |
Reg. 2010-04-24 | |
"HEY DUUUUUUUUUUUDE!" |
Quote: NXCProduction
with that said, can you get this worked? I'm waiting.
I would need some help, otherwise I might end up with the overlays broken.Post #9 · Posted at 2012-07-25 01:51:41pm 11.8 years ago
I think I found some SN2 Toasty sprite in IIDX 15 theme, gotta search it
EDIT: not found
EDIT: not found
Post #10 · Posted at 2012-07-26 06:30:13pm 11.8 years ago
Lucky Junpei Luke | |
---|---|
Member | |
93 Posts | |
Reg. 2010-04-24 | |
"HEY DUUUUUUUUUUUDE!" |
I was wrong, the flashy combo does not appear starting at the 600th combo. Do I need to edit the fallback scripts?
Post #11 · Posted at 2012-07-26 08:03:48pm 11.8 years ago
NXCProduction | |
---|---|
Member | |
1,770 Posts | |
Reg. 2011-03-01 | |
"" |
just create a new Graphic script and name the folder "Combo 1000milestone"
Post #12 · Posted at 2012-07-30 06:02:23pm 11.8 years ago
Lucky Junpei Luke | |
---|---|
Member | |
93 Posts | |
Reg. 2010-04-24 | |
"HEY DUUUUUUUUUUUDE!" |
Last updated: 2012-07-30 06:02pm
Found the script in _fallback/Graphics/Player combo/default.lua:
-- Milestones:
-- 25,50,100,250,600 Multiples;
--[[ if (iCombo % 100) == 0 then
c.OneHundredMilestone:playcommand("Milestone");
elseif (iCombo % 250) == 0 then
-- It should really be 1000 but thats slightly unattainable, since
-- combo doesnt save over now.
c.OneThousandMilestone:playcommand("Milestone");
else
return
end; --]]
TwentyFiveMilestoneCommand=function(self,parent)
(cmd(skewy,-0.125;decelerate,0.325;skewy,0))(self);
end;
And I still can't see which part that makes Flashy Combo "slightly unattainable."
I managed to use an image editor to combine multiple layers into a single image file, as seen in this:
And the code for it is this:
local ShowFlashyCombo = GetUserPrefB("UserPrefFlashyCombo")
return Def.ActorFrame {
FOV = 90;
LoadActor ("rigbytoasty") .. {
InitCommand = cmd (diffusealpha, 0; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); -- and SCREEN_HEIGHT-210
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,1;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
};
-- Milestones:
-- 25,50,100,250,600 Multiples;
--[[ if (iCombo % 100) == 0 then
c.OneHundredMilestone:playcommand("Milestone");
elseif (iCombo % 250) == 0 then
-- It should really be 1000 but thats slightly unattainable, since
-- combo doesnt save over now.
c.OneThousandMilestone:playcommand("Milestone");
else
return
end; --]]
TwentyFiveMilestoneCommand=function(self,parent)
(cmd(skewy,-0.125;decelerate,0.325;skewy,0))(self);
end;
And I still can't see which part that makes Flashy Combo "slightly unattainable."
I managed to use an image editor to combine multiple layers into a single image file, as seen in this:
And the code for it is this:
local ShowFlashyCombo = GetUserPrefB("UserPrefFlashyCombo")
return Def.ActorFrame {
FOV = 90;
LoadActor ("rigbytoasty") .. {
InitCommand = cmd (diffusealpha, 0; hide_if, not ShowFlashyCombo; horizalign, right; vertalign, bottom; x, SCREEN_WIDTH-280;y,SCREEN_CENTER_Y;); -- and SCREEN_HEIGHT-210
MilestoneCommand=cmd(diffusealpha,0;linear,0.5;diffusealpha,1;sleep,1;linear,0.5;diffusealpha,0;linear,0.5);
};
};
Post #13 · Posted at 2013-06-17 02:04:56pm 10.9 years ago
corpse_party | |
---|---|
Member | |
1 Post | |
Reg. 2013-06-17 | |
"Still trolling on the deep" |
um..just wanna ask, is there a code for the cut-ins motion? just like DDR cut-ins have :3