dynamic menu and menu music

This commit is contained in:
Persephone Bubblegum-Holiday 2025-08-18 21:51:12 -07:00
parent 1f13716d42
commit a9efa66b09
18 changed files with 386 additions and 41 deletions

View file

@ -6,9 +6,6 @@ var Generic1Stage = {
"description": "A generic showroom featuring the 1-Stage.\nInstalled from 1992-1998.",
"thumbnail": "res://UI/FreeroamThumbnails/Generic1Stage.png",
"stage": Stages.Cyber1Stage,
"curtains": {
"Curtain": [ "1-Stage" ]
}
}
var GenericTurntable1Stage = {
@ -17,9 +14,6 @@ var GenericTurntable1Stage = {
"description": "A generic showroom featuring the Turntable 1-Stage.\nInstalled from 1993-1998.",
"thumbnail": "res://UI/FreeroamThumbnails/GenericTurntable1Stage.png",
"stage": Stages.Turntable1Stage,
"curtains": {
"Curtain": [ "1-Stage" ]
}
}
var Generic12Stage = {
@ -28,9 +22,6 @@ var Generic12Stage = {
"description": "A generic showroom featuring the 1-Stage with 2-Stage props.\nInstalled from 1992-2011.",
"thumbnail": "res://UI/FreeroamThumbnails/Generic12Stage.png",
"stage": Stages.Cyber12Stage,
"curtains": {
"Curtain": [ "1-Stage" ]
}
}
var Generic2Stage = {
@ -39,9 +30,6 @@ var Generic2Stage = {
"description": "A generic showroom featuring the 2-Stage.\nInstalled from 1992-1997.",
"thumbnail": "res://UI/FreeroamThumbnails/Generic2Stage.png",
"stage": Stages.Cyber2Stage,
"curtains": {
"Curtains": [ "CEC", "Main" ]
}
}
var GenericMiniUnit1Stage = {
@ -50,7 +38,6 @@ var GenericMiniUnit1Stage = {
"description": "A generic showroom featuring the Mini Unit 1-Stage.\nInstalled from 1992-1994.",
"thumbnail": "res://UI/FreeroamThumbnails/GenericMini1Stage.png",
"stage": Stages.MiniUnit1Stage,
"curtains": [ ]
}
var GenericCyber3Stage = {
@ -59,7 +46,6 @@ var GenericCyber3Stage = {
"description": "A generic showroom featuring the Cyberamic 3-Stage.\nInstalled in 2000 and 2017.",
"thumbnail": "res://UI/FreeroamThumbnails/GenericCyber3Stage.png",
"stage": Stages.Cyber3Stage,
"curtains": [ ]
}
var MapIndex = {

View file

@ -1,12 +1,16 @@
extends Node
var FOV = 80
var config = ConfigFile.new()
var msaa = 1
var ssaa = 1
var scaling = 0
var theme = 0
var shadows = 1
var FOV : float = 80
var msaa : int = 1
var ssaa : int = 1
var scaling : int = 0
var theme : int = 0
var shadows : int = 1
var title_music : int = 1
var title_dynamic : int = 1
var mouse_sens : float = 1.0
var theme_index = [
"res://UI/Themes/Dark.tres",
@ -40,6 +44,9 @@ func updateConfig():
config.set_value("GRAPHICS", "shadows", shadows)
config.set_value("INTERFACE", "scaling", scaling)
config.set_value("INTERFACE", "theme", theme)
config.set_value("INTERFACE", "title_music", title_music)
config.set_value("INTERFACE", "title_dynamic", title_dynamic)
config.set_value("INPUT", "mouse_sens", mouse_sens)
config.save("user://settings.cfg")
func loadConfig():
@ -48,13 +55,17 @@ func loadConfig():
if err != OK:
print("Couldn't load config!")
return
FOV = config.get_value("GRAPHICS", "fov")
msaa = config.get_value("GRAPHICS", "msaa")
ssaa = config.get_value("GRAPHICS", "ssaa")
shadows = config.get_value("GRAPHICS", "shadows")
scaling = config.get_value("INTERFACE", "scaling")
theme = config.get_value("INTERFACE", "theme")
title_music = config.get_value("INTERFACE", "title_music")
title_dynamic = config.get_value("INTERFACE", "title_dynamic")
mouse_sens = config.get_value("INPUT", "mouse_sens")
print("config loaded.")
# set msaa

View file

@ -7,6 +7,7 @@ var HelenHouse = {
"camera_count": 2,
"ust_type": "Rockafire Explosion/3-Stage",
"curtains": { },
"bit_mapping":
{
@ -43,6 +44,7 @@ var ChuckEsCorner = {
"camera_count": 3,
"ust_type": "Cyberamics",
"curtains": { },
"bit_mapping":
{
@ -75,6 +77,7 @@ var BalconyStage = {
"camera_count": 6,
"ust_type": "Cyberamics",
"curtains": { },
"bit_mapping":
{
@ -167,6 +170,7 @@ var CStage = {
"camera_count": 5,
"ust_type": "Cyberamics",
"curtains": { },
"bit_mapping":
{
@ -255,6 +259,7 @@ var ProtoRoadStage = {
"camera_count": 6,
"ust_type": "Cyberamics",
"curtains": { },
"bit_mapping":
{
@ -340,6 +345,8 @@ var Cyber3Stage = {
"ust_type": "Cyberamics",
"curtains": { },
"bit_mapping":
{
1: { "bot": "Chuck", "movement": "Mouth", "flow_in": 7.5, "flow_out": 6.0 },
@ -431,6 +438,10 @@ var Cyber1Stage = {
"ust_type": "Cyberamics",
"curtains": {
"Curtain": [ "1-Stage" ]
},
"bit_mapping":
{
1: { "bot": "Chuck", "movement": "Mouth", "flow_in": 7.5, "flow_out": 6.0 },
@ -525,6 +536,8 @@ var MiniUnit1Stage = {
"ust_type": "Cyberamics",
"curtains": { },
"bit_mapping":
{
1: { "bot": "Chuck", "movement": "Mouth", "flow_in": 7.5, "flow_out": 6.0 },
@ -614,6 +627,10 @@ var Cyber2Stage = {
"ust_type": "Cyberamics",
"curtains": {
"Curtains": [ "CEC", "Main" ]
},
"bit_mapping":
{
1: { "bot": "Chuck", "movement": "Mouth", "flow_in": 7.5, "flow_out": 6.0 },
@ -710,6 +727,10 @@ var Cyber12Stage = {
"ust_type": "Cyberamics",
"curtains": {
"Curtain": [ "1-Stage" ]
},
"bit_mapping":
{
1: { "bot": "Chuck", "movement": "Mouth", "flow_in": 7.5, "flow_out": 6.0 },
@ -803,6 +824,10 @@ var Turntable1Stage = {
"ust_type": "Cyberamics",
"curtains": {
"Curtain": [ "1-Stage" ]
},
"bit_mapping":
{
1: { "bot": "Chuck", "movement": "Mouth", "flow_in": 7.5, "flow_out": 6.0 },