Post #1 · Posted at 2018-05-25 01:09:09am 6 years ago
NekoNekoMata | |
---|---|
Member | |
130 Posts | |
Not Set | |
Reg. 2017-02-12 | |
Hello, I'm trying to make the music wheel in stepmania like this..
I'm trying to make the music wheel highlight be spaced apart from the music wheel items, just like above.
Is there anyway to code it in the theme metrics? Any help would be helpful, thanks once again!
I'm trying to make the music wheel highlight be spaced apart from the music wheel items, just like above.
Is there anyway to code it in the theme metrics? Any help would be helpful, thanks once again!
Post #2 · Posted at 2018-05-25 01:20:01am 6 years ago
kenny | |
---|---|
Member | |
572 Posts | |
Reg. 2014-06-14 | |
Look at the DDR SuperNOVA 3 theme thread on here it has the same wheel.
Post #3 · Posted at 2018-05-25 01:30:08am 6 years ago
NekoNekoMata | |
---|---|
Member | |
130 Posts | |
Not Set | |
Reg. 2017-02-12 | |
Quote: kenny
Look at the DDR SuperNOVA 3 theme thread on here it has the same wheel.
Couldn't find anything..
Post #4 · Posted at 2018-05-25 03:19:17am 6 years ago
If you already have a 3D wheel, I've found modifying it by doing something like:
local yPos = 16*offsetFromCenter
local absOffset = math.abs(offsetFromCenter)
if absOffset < 1 then
yPos = yPos + 8 * (offsetFromCenter/absOffset)
end
self:y(yPos)
in your transform function will work. Note the numbers for this are entirely made up.
local yPos = 16*offsetFromCenter
local absOffset = math.abs(offsetFromCenter)
if absOffset < 1 then
yPos = yPos + 8 * (offsetFromCenter/absOffset)
end
self:y(yPos)
in your transform function will work. Note the numbers for this are entirely made up.
Post #5 · Posted at 2018-05-25 04:47:53am 6 years ago
bmhedgehog | |
---|---|
Banned+ | |
3,136 Posts | |
Not Set | |
Reg. 2008-07-13 | |
"BANNED" |
Quote: NekoNekoMata
Quote: kenny
Look at the DDR SuperNOVA 3 theme thread on here it has the same wheel.
Couldn't find anything..
Post #6 · Posted at 2018-05-25 02:13:16pm 6 years ago
MadkaT | |
---|---|
Member | |
822 Posts | |
Not Set | |
Reg. 2009-11-24 | |
Just download the DDRX theme, go to the scripts folder and copy the wheel.lua file, in your metrics, in the musicwheel group just call the function adding a line like this:
Just fill the required vars in the metrics, and if you wanna tweak the calculations, just edit the .lua file.
Quote
ItemTransformFunction=curved_wheel_transform
Just fill the required vars in the metrics, and if you wanna tweak the calculations, just edit the .lua file.
Post #7 · Posted at 2018-05-25 03:20:49pm 6 years ago
Now that MadkaT mentioned it. I wonder if I can change the Song Wheel in the DDR Extreme US CS/DDR Strike theme to this.
Post #8 · Posted at 2018-06-16 03:07:47am 5.9 years ago
Quote: MadkaT
Just download the DDRX theme, go to the scripts folder and copy the wheel.lua file, in your metrics, in the musicwheel group just call the function adding a line like this:
Just fill the required vars in the metrics, and if you wanna tweak the calculations, just edit the .lua file.
Quote
ItemTransformFunction=curved_wheel_transform
Just fill the required vars in the metrics, and if you wanna tweak the calculations, just edit the .lua file.
Thanks!
Update: I still need help with the music wheel, here's a photo of Jindev's music wheel. I'm trying to make it look like this.
The musicwheel highlight spaced apart from the musicwheel items.
Please help!
Post #9 · Posted at 2018-06-18 08:10:23am 5.9 years ago
razorblade | |
---|---|
Member | |
1,099 Posts | |
Not Set | |
Reg. 2011-03-01 | |
Post #10 · Posted at 2018-06-30 05:44:06am 5.9 years ago
NekoNekoMata | |
---|---|
Member | |
130 Posts | |
Not Set | |
Reg. 2017-02-12 | |
Quote: razorblade
https://pastecode.xyz/view/fc7369c3
THANK YOU SO MUCH!!