Logo

Can background videos be toggled on and off for Stepmania...

Register Log In Back To Forums

Post #1 · Posted at 2017-12-07 11:06:09pm 6.3 years ago

Offline radicalfaith360
radicalfaith360 Avatar Member
58 Posts
Not Set
Reg. 2017-03-11

during gameplay? Or can this only be done from the main menu?

Post #2 · Posted at 2017-12-08 02:52:52am 6.3 years ago

Offline CuzcoBlocko
CuzcoBlocko Avatar Member
2,947 Posts
United States
Reg. 2013-10-26

"[Art by LilyBreez]"
The default theme has options (if you have additional options enabled) to let you use a song's default BG (the .sm's background changes), static BG (song's background image), and random BG (cycles through videos in your RandomMovies directory). Not sure about other themes.

Post #3 · Posted at 2017-12-08 04:50:52am 6.3 years ago

Offline radicalfaith360
radicalfaith360 Avatar Member
58 Posts
Not Set
Reg. 2017-03-11

Ah, you see my problem is I'm bringing my setup to a convention and have to have the second set of options locked when attendees play it. I was hoping there was a way for them to toggle the videos on and off at their discretion without accessing the second menu.

Post #4 · Posted at 2017-12-08 05:20:11am 6.3 years ago

Offline Kyzentun
Kyzentun Avatar Member
3,209 Posts
United States
Reg. 2008-02-20

"I'm honestly pissed off."
Add an option row for setting BGBrightness to the options screen of your theme. 0 turns it black, 1 turns it full brightness, in between makes it faded dark.
silenttype01: Kyzentun is never harsh. He says it how it is.

GENERATION 24: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

Post #5 · Posted at 2017-12-08 10:57:29pm 6.3 years ago

Offline radicalfaith360
radicalfaith360 Avatar Member
58 Posts
Not Set
Reg. 2017-03-11

How do I add that option? Do I write it into the code?

Post #6 · Posted at 2017-12-09 05:02:28am 6.3 years ago

Offline Kyzentun
Kyzentun Avatar Member
3,209 Posts
United States
Reg. 2008-02-20

"I'm honestly pissed off."
Metrics:

# Add bgoff to the LineNames metric.
Linebgoff="lua,ops_row_bgoff()"

Scripts:

function ops_row_bgoff()
local choices= {1, .5, 0}
local names= {"BG On", "BG Dim", "BG Off"}
-- Add OptionTitles::bgoff and OptionExplanations::bgoff to en.ini
return {
Name= "bgoff",
LayoutType= "ShowAllInRow",
SelectType= "SelectOne",
OneChoiceForAllPlayers= true,
LoadSelections= function(self, list, pn)
local brightness= PREFSMAN:GetPreference("BGBrightness")
for i= 1, #choices do
-- Check how close the brightness is to each choice and pick the closest one.
local this_diff= math.abs(brightness - choices[i])
local next_diff= 1
if i < #choices then
next_diff= math.abs(brightness - choices[i+1])
end
if this_diff < next_diff then
list[i]= true
end
end
end,
SaveSelections= function(self, list, pn)
for i= 1, #choices do
if list[i] then
PREFSMANConfusedetPreference("BGBrightness", choices[i])
end
end
end,
Choices= names,
}
end
silenttype01: Kyzentun is never harsh. He says it how it is.

GENERATION 24: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

Post #7 · Posted at 2017-12-09 07:18:27am 6.3 years ago

Offline pm41224
pm41224 Avatar Member
315 Posts
United States
Reg. 2012-05-19

Nintendo Network ID: pm412243DS Friend Code: 4210-4460-8178
"DanceDanceRevolution!"
Shouldn't this code yield results similar to the "BGA DARK" option in PIU PRIME 2?
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 12:38:26
This page took 0.008 seconds to execute.
Theme: starlight · Language: englishuk
Reset Theme & Language