Logo

[SM5 Add-on] Project Toasty

Register Log In Back To Forums

Post #1 · Posted at 2012-07-19 03:11:05pm 11.7 years ago

Offline Lucky Junpei Luke
Lucky Junpei Luke Avatar Member
93 Posts
Philippines
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:
http://p.eagate.573.jp/game/ddr/x3/p/images/howto/abt_img03.jpg
What I got:
http://i252.photobucket.com/albums/hh26/jaqthemouse/2012-07-19_155715.jpg
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.7 years ago

Offline NXCProduction
NXCProduction Avatar Member
1,770 Posts
Indonesia
Reg. 2011-03-01

"Annoyed"
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:
http://p.eagate.573.jp/game/ddr/x3/p/images/howto/abt_img03.jpg
What I got:
http://i252.photobucket.com/albums/hh26/jaqthemouse/2012-07-19_155715.jpg
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
Simfile on progress! 2nd Generation: beat#0 | beat#1 | beat#2 | beat#3 |
http://i26.photobucket.com/albums/c113/lordtoon/User%20Names/NXCProduction.png
thanks a lot Lord Toon! Very Happy

Post #3 · Posted at 2012-07-19 05:16:31pm 11.7 years ago

Offline Lucky Junpei Luke
Lucky Junpei Luke Avatar Member
93 Posts
Philippines
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
I ended up with this:
http://i252.photobucket.com/albums/hh26/jaqthemouse/2012-07-19_182029.jpg
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.7 years ago

Offline NXCProduction
NXCProduction Avatar Member
1,770 Posts
Indonesia
Reg. 2011-03-01

"Annoyed"
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);
};
};

Simfile on progress! 2nd Generation: beat#0 | beat#1 | beat#2 | beat#3 |
http://i26.photobucket.com/albums/c113/lordtoon/User%20Names/NXCProduction.png
thanks a lot Lord Toon! Very Happy

Post #5 · Posted at 2012-07-19 06:58:33pm 11.7 years ago

Offline reiaya
reiaya Avatar Member
81 Posts
Colombia
Reg. 2006-08-18


Last updated: 2012-07-19 06:59pm
The problem with this code is that it only works for player1, what I did was leave the code as is on the theme default and arrange the images like this:

http://i729.photobucket.com/albums/ww297/Reiaya2DX/th_1-4.png

http://i729.photobucket.com/albums/ww297/Reiaya2DX/th_2-1.png

http://i729.photobucket.com/albums/ww297/Reiaya2DX/th_4.png

Using these images the toasty works in P1 and P2 in the single play, does not work in VS.

Post #6 · Posted at 2012-07-25 09:10:05am 11.7 years ago

Offline Lucky Junpei Luke
Lucky Junpei Luke Avatar Member
93 Posts
Philippines
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.)

Post #7 · Posted at 2012-07-25 12:41:35pm 11.7 years ago

Offline NXCProduction
NXCProduction Avatar Member
1,770 Posts
Indonesia
Reg. 2011-03-01

"Annoyed"
with that said, can you get this worked? I'm waiting. Big Grin
Simfile on progress! 2nd Generation: beat#0 | beat#1 | beat#2 | beat#3 |
http://i26.photobucket.com/albums/c113/lordtoon/User%20Names/NXCProduction.png
thanks a lot Lord Toon! Very Happy

Post #8 · Posted at 2012-07-25 01:35:13pm 11.7 years ago

Offline Lucky Junpei Luke
Lucky Junpei Luke Avatar Member
93 Posts
Philippines
Reg. 2010-04-24

"HEY DUUUUUUUUUUUDE!"
Quote: NXCProduction
with that said, can you get this worked? I'm waiting. Big Grin
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.7 years ago

Offline NXCProduction
NXCProduction Avatar Member
1,770 Posts
Indonesia
Reg. 2011-03-01

"Annoyed"

Last updated: 2012-07-25 01:51pm
I think I found some SN2 Toasty sprite in IIDX 15 theme, gotta search it Big Grin
EDIT: not found Oops
Simfile on progress! 2nd Generation: beat#0 | beat#1 | beat#2 | beat#3 |
http://i26.photobucket.com/albums/c113/lordtoon/User%20Names/NXCProduction.png
thanks a lot Lord Toon! Very Happy

Post #10 · Posted at 2012-07-26 06:30:13pm 11.7 years ago

Offline Lucky Junpei Luke
Lucky Junpei Luke Avatar Member
93 Posts
Philippines
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.7 years ago

Offline NXCProduction
NXCProduction Avatar Member
1,770 Posts
Indonesia
Reg. 2011-03-01

"Annoyed"
just create a new Graphic script and name the folder "Combo 1000milestone"
Simfile on progress! 2nd Generation: beat#0 | beat#1 | beat#2 | beat#3 |
http://i26.photobucket.com/albums/c113/lordtoon/User%20Names/NXCProduction.png
thanks a lot Lord Toon! Very Happy

Post #12 · Posted at 2012-07-30 06:02:23pm 11.7 years ago

Offline Lucky Junpei Luke
Lucky Junpei Luke Avatar Member
93 Posts
Philippines
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:
http://i252.photobucket.com/albums/hh26/jaqthemouse/2012-07-30_191441.jpg
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.8 years ago

Offline corpse_party
corpse_party Avatar Member
1 Post
Indonesia
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
Remembering when the first time i played DDR and then i slipped.
Register Log In Back To Forums

0 User(s) Viewing This Thread (Past 15 Minutes)

©2006-2024 Zenius -I- vanisher.com -5th style- IIPrivacy Policy
Web Server: 5% · Database: 4% · Server Time: 2024-04-26 09:40:58
This page took 0.012 seconds to execute.
Theme: starlight · Language: englishuk
Reset Theme & Language