From 85d0f336515701582b7e76b5cc4732280755ae31 Mon Sep 17 00:00:00 2001 From: whyisthesheep <77189741+whyisthesheep@users.noreply.github.com> Date: Sat, 10 Dec 2022 13:42:28 +0000 Subject: [PATCH] Added new gameplay video options (#1314) * Added new gameplay options Added: - minecraft-2 - multiversus - fall-guys - steep as options for background gameplay * Added new gameplay options Added: - minecraft-2 - multiversus - fall-guys - steep as options for background gameplay also CONSTANTS.py didn't seem to exist in the develop branch * Made sure all commited videos are free to use `fall-guys` and `multiversus` where changed * Deleted for backgrounds.json Deleted for backgrounds.json * Added and reformatted new gameplay into backgrounds.json Just took the new entries from the old `CONSTANTS.py` and moved them here (and changed the format so that it works!) * Added new entries and reformatted (Removed something that was commented out (in python) --- utils/.config.template.toml | 2 +- utils/backgrounds.json | 26 +++++++++++++++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/utils/.config.template.toml b/utils/.config.template.toml index 38e454f..ee1abe5 100644 --- a/utils/.config.template.toml +++ b/utils/.config.template.toml @@ -25,7 +25,7 @@ storymode = { optional = true, type = "bool", default = false, example = false, [settings.background] -background_choice = { optional = true, default = "minecraft", example = "rocket-league", options = ["", "minecraft", "gta", "rocket-league", "motor-gta", "csgo-surf", "cluster-truck"], explanation = "Sets the background for the video based on game name" } +background_choice = { optional = true, default = "minecraft", example = "rocket-league", options = ["minecraft", "gta", "rocket-league", "motor-gta", "csgo-surf", "cluster-truck", "minecraft-2","multiversus","fall-guys","steep", ""], explanation = "Sets the background for the video based on game name" } #background_audio = { optional = true, type = "bool", default = false, example = false, options = [true, false,], explanation = "Sets a audio to play in the background (put a background.mp3 file in the assets/backgrounds directory for it to be used.)" } #background_audio_volume = { optional = true, type = "float", default = 0.3, example = 0.1, explanation="Sets the volume of the background audio. only used if the background_audio is also set to true" } diff --git a/utils/backgrounds.json b/utils/backgrounds.json index af800c5..8cb01d1 100644 --- a/utils/backgrounds.json +++ b/utils/backgrounds.json @@ -35,5 +35,29 @@ "cluster_truck.mp4", "No Copyright Gameplay", 480 + ], + "minecraft-2": [ + "https://www.youtube.com/watch?v=Pt5_GSKIWQM", + "minecraft-2.mp4", + "Itslpsn", + "center" + ], + "multiversus": [ + "https://www.youtube.com/watch?v=66oK1Mktz6g", + "multiversus.mp4", + "MKIceAndFire", + "center" + ], + "fall-guys": [ + "https://www.youtube.com/watch?v=oGSsgACIc6Q", + "fall-guys.mp4", + "Throneful", + "center" + ], + "steep": [ + "https://www.youtube.com/watch?v=EnGiQrWBrko", + "steep.mp4", + "joel", + "center" ] -} \ No newline at end of file +}