Logo

help with the music wheel in screen select music

Register Log In Back To Forums

Post #1 · Posted at 2024-09-17 04:45:51pm 3.9 weeks ago

Offline Wrland
Wrland Avatar Member
54 Posts
Peru
Reg. 2020-10-24


Last updated: 2024-09-17 05:00pm
I'm looking for a way to make a 3D music wheel to put on my custom theme as it should be, I want it to look like the PIU FIESTA EX (or GFDM XG wheel) because it's my favorite, I looked for some themes that have a 3D music wheel like DDR Next Generation but it crashes when I make my own music wheel

https://i.imgur.com/vQFJ2xN.png

code from Next Generation:

ItemTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) \
function GetZoom(offsetFromCenter) \
if offsetFromCenter >= 1 then \
return 0.5; \
end \
if offsetFromCenter <= -1 then \
return 0.5; \
end \
if math.abs(offsetFromCenter) > 0 and math.abs(offsetFromCenter) <1 then \
return (10.0-math.abs(offsetFromCenter)*5)/10; \
else \
return 1; \
end; \
end; \
function GetDistence(offsetFromCenter) \
if offsetFromCenter >= 1 then \
return offsetFromCenter*135+5; \
end \
if offsetFromCenter <= -1 then \
return offsetFromCenter*135-5; \
end \
if math.abs(offsetFromCenter) > 0.0001 and math.abs(offsetFromCenter) <1 then \
return 135*offsetFromCenter + 5*offsetFromCenter \
else \
return 0; \
end; \
end; \
function GetRotationY(offsetFromCenter) \
if offsetFromCenter > 0.9 then \
return 64+(offsetFromCenter-0.9)*6.8; \
elseif offsetFromCenter < -0.9 then \
return -64+(offsetFromCenter+0.9)*6.8; \
else \
return offsetFromCenter*64/0.9; \
end; \
end; \
function GetRotationZ(offsetFromCenter) \
if offsetFromCenter < 0 then \
return -offsetFromCenter*0.5; \
else \
return 0; \
end; \
end; \
function GetRotationX(offsetFromCenter) \
if math.abs(offsetFromCenter) < 3.1 then \
return 0; \
else \
return 4; \
end; \
end; \
self:linear(5.8); \
self:x( GetDistence(offsetFromCenter) ); \
self:z(math.abs(offsetFromCenter) and scale(math.abs(offsetFromCenter),0,1,0.2,0)*150 or 0); \
self:rotationx( 0 );\
self:zoom(0.55);\
self:rotationy(math.atan(-offsetFromCenter)*10); \
self:rotationz( 0 ); \
end;


any program to making or generate music wheel on stepmania 5?
https://i.imgur.com/sbBHnPv.png
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: 12% · Database: 12% · Server Time: 2024-10-15 16:38:33
This page took 0.002 seconds to execute.
Theme: starlight · Language: englishuk
Reset Theme & Language