Add christmas main menu, update transients

This commit is contained in:
Jason
2025-12-11 15:08:20 +00:00
committed by Matt Stevens
parent c98ded8d48
commit 92658e1cb6
15 changed files with 40545 additions and 4 deletions

View File

@@ -22,8 +22,8 @@
]
},
"CsProjName": "",
"StartupScene": "scenes/menu-main.scene",
"MapStartupScene": "scenes/menu-main.scene",
"StartupScene": "scenes/menu-main-winter25.scene",
"MapStartupScene": "scenes/menu-main-winter25.scene",
"MinPlayers": 1,
"MaxPlayers": 16,
"LaunchMode": "Normal",

View File

@@ -0,0 +1,124 @@
{
"ColorTexture": {
"$compiler": "texture",
"$source": "imagefile",
"data": {
"FilePath": "materials/decals/decal_snow_buildup/decal_snow_buildup_a_color.png",
"MaxSize": 4096,
"ConvertHeightToNormals": false,
"NormalScale": 1,
"Rotate": 0,
"FlipVertical": false,
"FlipHorizontal": false,
"Cropping": {
"Left": 0,
"Top": 0,
"Right": 0,
"Bottom": 0
},
"Padding": {
"Left": 0,
"Top": 0,
"Right": 0,
"Bottom": 0
},
"InvertColor": false,
"Tint": "1,1,1,1",
"Blur": 0,
"Sharpen": 0,
"Brightness": 1,
"Contrast": 1,
"Saturation": 1,
"Hue": 0,
"Colorize": false,
"TargetColor": "1,1,1,1",
"CacheToDisk": true
},
"compiled": null
},
"NormalTexture": {
"$compiler": "texture",
"$source": "imagefile",
"data": {
"FilePath": "materials/decals/decal_snow_buildup/decal_snow_buildup_a_normal.png",
"MaxSize": 4096,
"ConvertHeightToNormals": false,
"NormalScale": 1,
"Rotate": 0,
"FlipVertical": false,
"FlipHorizontal": false,
"Cropping": {
"Left": 0,
"Top": 0,
"Right": 0,
"Bottom": 0
},
"Padding": {
"Left": 0,
"Top": 0,
"Right": 0,
"Bottom": 0
},
"InvertColor": false,
"Tint": "1,1,1,1",
"Blur": 0,
"Sharpen": 0,
"Brightness": 1,
"Contrast": 1,
"Saturation": 1,
"Hue": 0,
"Colorize": false,
"TargetColor": "1,1,1,1",
"CacheToDisk": true
},
"compiled": null
},
"RoughMetalOcclusionTexture": {
"$compiler": "texture",
"$source": "imagefile",
"data": {
"FilePath": "materials/decals/decal_snow_buildup/decal_snow_buildup_a_rmo.png",
"MaxSize": 4096,
"ConvertHeightToNormals": false,
"NormalScale": 1,
"Rotate": 0,
"FlipVertical": false,
"FlipHorizontal": false,
"Cropping": {
"Left": 0,
"Top": 0,
"Right": 0,
"Bottom": 0
},
"Padding": {
"Left": 0,
"Top": 0,
"Right": 0,
"Bottom": 0
},
"InvertColor": false,
"Tint": "1,1,1,1",
"Blur": 0,
"Sharpen": 0,
"Brightness": 1,
"Contrast": 1,
"Saturation": 1,
"Hue": 0,
"Colorize": false,
"TargetColor": "1,1,1,1",
"CacheToDisk": true
},
"compiled": null
},
"EmissiveTexture": null,
"EmissionEnergy": 1,
"HeightTexture": null,
"ParallaxStrength": 1,
"Tint": "1,1,1,1",
"ColorMix": 0.5,
"Width": 128,
"Height": 64,
"FilterMode": "Anisotropic",
"__references": [],
"__version": 0
}

View File

@@ -0,0 +1,471 @@
{
"RootObject": {
"__guid": "1b99e9a1-fe18-4c32-ad6c-9ab2ab180569",
"__version": 1,
"Flags": 0,
"Name": "snow_gust",
"Position": "0,0,0",
"Rotation": "0,0,0,1",
"Scale": "1,1,1",
"Tags": "",
"Enabled": true,
"NetworkMode": 2,
"NetworkInterpolation": true,
"NetworkOrphaned": 0,
"NetworkTransmit": true,
"OwnerTransfer": 1,
"Components": [],
"Children": [
{
"__guid": "c35614a9-6202-4c6a-b490-187a14d3a7c7",
"__version": 1,
"Flags": 0,
"Name": "Snow",
"Position": "0,0,0",
"Rotation": "0.00000000000002842171,0.0000002384186,-0.0000001490116,-1",
"Scale": "1,1,1",
"Tags": "particles",
"Enabled": true,
"NetworkMode": 2,
"NetworkInterpolation": true,
"NetworkOrphaned": 0,
"NetworkTransmit": true,
"OwnerTransfer": 1,
"Components": [
{
"__type": "Sandbox.ParticleEffect",
"__guid": "bbfdd0cb-e43e-430d-9949-65c16488c61f",
"__enabled": true,
"__version": 3,
"Alpha": {
"Type": "Curve",
"Evaluation": "Life",
"CurveA": {
"rangey": "0,3",
"frames": [
{
"x": 0,
"y": 0,
"in": -4.0000024,
"out": 4.0000024,
"mode": "Mirrored"
},
{
"x": 0.06281557,
"y": 1,
"in": 0,
"out": 0,
"mode": "Mirrored"
},
{
"x": 0.890625,
"y": 1,
"in": 0,
"out": 0,
"mode": "Mirrored"
},
{
"x": 1,
"y": 0,
"in": 0,
"out": 0,
"mode": "Mirrored"
}
]
},
"CurveB": [
{
"x": 0.5,
"y": 0.5,
"in": 0,
"out": 0,
"mode": "Mirrored"
}
]
},
"ApplyAlpha": false,
"ApplyColor": true,
"ApplyRotation": true,
"ApplyShape": true,
"Bounce": 0,
"Brightness": 25,
"Bumpiness": 0,
"Collision": false,
"CollisionIgnore": null,
"CollisionPrefab": null,
"CollisionPrefabAlign": false,
"CollisionPrefabChance": 1,
"CollisionPrefabRotation": 0,
"CollisionRadius": 1,
"ConstantMovement": {
"X": 0,
"Y": 0,
"Z": 0
},
"Damping": 1,
"DieOnCollisionChance": 0,
"FollowerPrefab": null,
"FollowerPrefabChance": 1,
"FollowerPrefabKill": true,
"Force": true,
"ForceDirection": "1000,2000,-1000",
"ForceScale": {
"Type": "Range",
"Evaluation": "Seed",
"Constants": "0.5,1,0,0"
},
"ForceSpace": "World",
"Friction": 1,
"Gradient": {
"Type": "Range",
"Evaluation": "Particle",
"GradientA": {
"blend": "Linear",
"color": [
{
"t": 0.5,
"c": "1,1,1,1"
}
],
"alpha": []
},
"GradientB": {
"blend": "Linear",
"color": [
{
"t": 0.5,
"c": "1,1,1,1"
}
],
"alpha": []
},
"ConstantA": "1,1,1,1",
"ConstantB": "1,1,1,1"
},
"InitialVelocity": {
"X": 0,
"Y": 0,
"Z": 0
},
"Lifetime": {
"Type": "Range",
"Evaluation": "Seed",
"Constants": "1,4,0,0"
},
"LocalSpace": 0,
"MaxParticles": 250,
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null,
"OnParticleCreated": null,
"OnParticleDestroyed": null,
"OrbitalForce": {
"X": 0,
"Y": 0,
"Z": 0
},
"OrbitalPull": 0,
"PerParticleTimeScale": 1,
"Pitch": {
"Type": "CurveRange",
"Evaluation": "Life",
"CurveA": {
"rangey": "-720,720",
"frames": [
{
"x": 0,
"y": 0,
"in": 0,
"out": 0,
"mode": "Mirrored"
},
{
"x": 0.15940054,
"y": 0,
"in": 0,
"out": 0,
"mode": "Mirrored"
},
{
"x": 1,
"y": 0.44354838,
"in": 0,
"out": 0,
"mode": "Mirrored"
}
]
},
"CurveB": {
"rangey": "-720,720",
"frames": [
{
"x": 0,
"y": 0.24193548,
"in": 0,
"out": 0,
"mode": "Mirrored"
},
{
"x": 1,
"y": 1,
"in": 0,
"out": 0,
"mode": "Mirrored"
}
]
}
},
"PreWarm": 0,
"PushStrength": 0,
"Roll": {
"Type": "CurveRange",
"Evaluation": "Life",
"CurveA": {
"rangey": "-720,720",
"frames": [
{
"x": 0,
"y": 0,
"in": 0,
"out": 0,
"mode": "Mirrored"
},
{
"x": 0.15940054,
"y": 0,
"in": 0,
"out": 0,
"mode": "Mirrored"
},
{
"x": 1,
"y": 0.44354838,
"in": 0,
"out": 0,
"mode": "Mirrored"
}
]
},
"CurveB": {
"rangey": "-720,720",
"frames": [
{
"x": 0,
"y": 0.24193548,
"in": 0,
"out": 0,
"mode": "Mirrored"
},
{
"x": 1,
"y": 1,
"in": 0,
"out": 0,
"mode": "Mirrored"
}
]
}
},
"Scale": {
"Type": "Range",
"Evaluation": "Seed",
"Constants": "0.25,0.8,0,0"
},
"SequenceId": {
"Type": "Range",
"Evaluation": "Seed",
"Constants": "0,4,0,0"
},
"SequenceSpeed": {
"Type": "Range",
"Evaluation": "Seed",
"Constants": "0.8,1.4,0,0"
},
"SequenceTime": 1,
"SheetSequence": true,
"StartDelay": 0,
"StartVelocity": {
"Type": "Range",
"Evaluation": "Seed",
"Constants": "25,350,0,0"
},
"Stretch": 0,
"TimeScale": 0.27598566,
"Timing": "GameTime",
"Tint": "1,1,1,1",
"UsePrefabFeature": false,
"Yaw": {
"Type": "CurveRange",
"Evaluation": "Life",
"CurveA": {
"rangey": "-720,720",
"frames": [
{
"x": 0,
"y": 0,
"in": 0,
"out": 0,
"mode": "Mirrored"
},
{
"x": 0.15940054,
"y": 0,
"in": 0,
"out": 0,
"mode": "Mirrored"
},
{
"x": 1,
"y": 0.44354838,
"in": 0,
"out": 0,
"mode": "Mirrored"
}
]
},
"CurveB": {
"rangey": "-720,720",
"frames": [
{
"x": 0,
"y": 0.24193548,
"in": 0,
"out": 0,
"mode": "Mirrored"
},
{
"x": 1,
"y": 1,
"in": 0,
"out": 0,
"mode": "Mirrored"
}
]
}
}
},
{
"__type": "Sandbox.ParticleSpriteRenderer",
"__guid": "bd5e338d-f574-4ef1-ade7-dc52f7128bc7",
"__enabled": true,
"__version": 2,
"Additive": true,
"Alignment": "LookAtCamera",
"BlurAmount": 0.5,
"BlurOpacity": 0.5,
"BlurSpacing": 0.5,
"DepthFeather": 0,
"FaceVelocity": true,
"FogStrength": 1,
"LeadingTrail": true,
"Lighting": false,
"MotionBlur": false,
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null,
"Opaque": false,
"PlaybackSpeed": 1,
"RenderOptions": {
"GameLayer": true,
"OverlayLayer": false,
"BloomLayer": false,
"AfterUILayer": false
},
"RotationOffset": 0,
"Scale": 1,
"Shadows": false,
"SortMode": "Unsorted",
"Sprite": {
"$compiler": "embed",
"$source": null,
"data": {
"Animations": [
{
"Name": "Default",
"FrameRate": 15,
"Origin": "0.5,0.5",
"LoopMode": "Loop",
"Frames": [
{
"Texture": "textures/particles/flame/fleck_ash1.vtex",
"BroadcastMessages": []
}
]
}
],
"__references": null
},
"compiled": null
},
"StartingAnimationName": "Default",
"TextureFilter": "Bilinear"
},
{
"__type": "Sandbox.ParticleConeEmitter",
"__guid": "9f0da8d8-0c3a-4019-ab27-88591d350e62",
"__enabled": true,
"Burst": 0,
"CenterBias": 0,
"CenterBiasVelocity": 0,
"ConeAngle": 53.450253,
"ConeFar": 94.82986,
"ConeNear": 28.490046,
"Delay": 0,
"DestroyOnEnd": false,
"Duration": 1,
"InVolume": false,
"Loop": true,
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null,
"OnEdge": false,
"Rate": 150,
"RateOverDistance": 0,
"VelocityMultiplier": {
"Type": "Range",
"Evaluation": "Seed",
"Constants": "0.5,1,0,0"
},
"VelocityRandom": 0
}
],
"Children": []
}
],
"__properties": {
"NetworkInterpolation": true,
"TimeScale": 1,
"WantsSystemScene": true,
"Metadata": {},
"NavMesh": {
"Enabled": false,
"IncludeStaticBodies": true,
"IncludeKeyframedBodies": true,
"EditorAutoUpdate": true,
"AgentHeight": 64,
"AgentRadius": 16,
"AgentStepSize": 18,
"AgentMaxSlope": 40,
"ExcludedBodies": "",
"IncludedBodies": ""
}
},
"__variables": []
},
"ResourceVersion": 2,
"ShowInMenu": false,
"MenuPath": null,
"MenuIcon": null,
"DontBreakAsTemplate": false,
"__references": [],
"__version": 2
}

View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,16 @@
{
"AlbedoImage": "terrain/materials/snow/snow_a1_color.tga",
"RoughnessImage": "terrain/materials/snow/snow_a1_rough.tga",
"NormalImage": "terrain/materials/snow/snow_a1_normal.tga",
"HeightImage": "terrain/materials/snow/snow_a1_height.png",
"AOImage": "terrain/materials/snow/snow_a1_ao.tga",
"UVScale": 2,
"UVRotation": 0,
"Metalness": 0,
"NormalStrength": 1,
"HeightBlendStrength": 1,
"DisplacementScale": 3,
"Surface": null,
"__references": [],
"__version": 0
}

View File

@@ -0,0 +1,21 @@
{
"publish": {
"Enabled": true,
"ProjectConfig": {
"Title": "Snow",
"Type": "tmat",
"Org": "local",
"Ident": "snow",
"Schema": 0,
"IncludeSourceFiles": false,
"Resources": null,
"PackageReferences": null,
"EditorReferences": null,
"Mounts": null,
"IsStandaloneOnly": false,
"Metadata": {
"SingleAssetSource": "terrain/materials/snow/snow.tmat"
}
}
}
}

View File

@@ -0,0 +1,16 @@
{
"AlbedoImage": "terrain/materials/snow/snow_a2_color.tga",
"RoughnessImage": "terrain/materials/snow/snow_a2_rough.tga",
"NormalImage": "terrain/materials/snow/snow_a2_normal.tga",
"HeightImage": "terrain/materials/snow/snow_a2_height.png",
"AOImage": "terrain/materials/snow/snow_a2_ao.tga",
"UVScale": 4,
"UVRotation": 0,
"Metalness": 0,
"NormalStrength": 1,
"HeightBlendStrength": 1,
"DisplacementScale": 4,
"Surface": null,
"__references": [],
"__version": 0
}

View File

@@ -0,0 +1,21 @@
{
"publish": {
"Enabled": true,
"ProjectConfig": {
"Title": "Snow a",
"Type": "material",
"Org": "facepunch",
"Ident": "snowa",
"Schema": 0,
"IncludeSourceFiles": false,
"Resources": null,
"PackageReferences": null,
"EditorReferences": null,
"Mounts": null,
"IsStandaloneOnly": false,
"Metadata": {
"SingleAssetSource": "materials/snow/snow_a.vmat"
}
}
}
}

View File

@@ -0,0 +1,16 @@
{
"AlbedoImage": "terrain/materials/snow/snow_a3_color.tga",
"RoughnessImage": "terrain/materials/snow/snow_a3_rough.tga",
"NormalImage": "terrain/materials/snow/snow_a3_normal.tga",
"HeightImage": "terrain/materials/snow/snow_a3_height.tga",
"AOImage": "terrain/materials/snow/snow_a3_ao.tga",
"UVScale": 4,
"UVRotation": 0,
"Metalness": 0,
"NormalStrength": 1.5,
"HeightBlendStrength": 1,
"DisplacementScale": 4,
"Surface": null,
"__references": [],
"__version": 0
}

View File

@@ -0,0 +1,20 @@
{
"Maps": {
"heightmap": "7cGBAAAAAMOg+VPf4ARVAQAAAAA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AAAAAAAA+Aw=="
},
"Resolution": 512,
"TerrainSize": 19968,
"TerrainHeight": 10000,
"Materials": [
"terrain/materials/snow/snow.tmat",
"terrain/materials/snow/snow_02.tmat"
],
"MaterialSettings": {
"HeightBlendEnabled": true,
"HeightBlendSharpness": 0.87
},
"ResourceVersion": 2,
"__references": [],
"__version": 2
}

View File

File diff suppressed because one or more lines are too long

View File

@@ -95,7 +95,7 @@
{
var options = new SceneLoadOptions();
options.ShowLoadingScreen = false;
options.SetScene("/scenes/menu-main.scene");
options.SetScene("/scenes/menu-main-winter25.scene");
Game.ActiveScene.Load(options);
}

View File

@@ -145,7 +145,7 @@ public partial class MenuSystem : IMenuSystem
}
}
MenuMusic menu = new MenuMusic( "music/menu-bg.wav" );
MenuMusic menu = new MenuMusic( "music/menu-bg-xmas.mp3" );
MenuMusic loading = new MenuMusic( "music/menu-loading.wav" );
MenuMusic avatar = new MenuMusic( "music/furniture_shop_loop.ogg" );