From e6031b388ca8876a7fd9e44b26414a3ba054c363 Mon Sep 17 00:00:00 2001 From: Cam the Kirby <92703353+CamtheKirby@users.noreply.github.com> Date: Wed, 29 May 2024 21:40:36 -0500 Subject: [PATCH] Some stuff I'm running out of ideas how to name these --- CHANGELOG.md | 2 + Modding.md | 13 - art/readme.txt | 399 +++++++++++++++++- mods/test/data/charts/test-dia.txt | 1 - .../{test-cred.txt => test-settings.txt} | 2 +- source/CreditsPopUp.hx | 10 +- source/DialogueBox.hx | 8 +- source/PlayState.hx | 6 +- 8 files changed, 413 insertions(+), 28 deletions(-) delete mode 100644 mods/test/data/charts/test-dia.txt rename mods/test/data/charts/{test-cred.txt => test-settings.txt} (83%) diff --git a/CHANGELOG.md b/CHANGELOG.md index f7949a5..bbaeb46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +# For Fanmade Dave Engine just go to [the github page](https://github.com/CamtheKirby/VsDave-Modable) + # 3.0 - Final Major Update (PLACEHOLDER NAME) The final major update for Vs. Dave and Bambi is finally here. I hope you enjoyed sticking with us and don't expect us to update the mod with anything new unless it's a bugfix or a funny joke. diff --git a/Modding.md b/Modding.md index 622a9f9..e69de29 100644 --- a/Modding.md +++ b/Modding.md @@ -1,13 +0,0 @@ -# Compiling -Just follow a basic [compiling tutorial.](https://github.com/ninjamuffin99/Funkin#build-instructions) -Instead of using Haxe 4.1.5, use the [latest Haxe](https://haxe.org/download/), the issues mentioned in the guide are already fixed. - -# Modding -Just edit the source code it's not that hard (unless you can't code)... - -For the non-coding people, you can mod the characters and add your own, since the positions are not hardcoded anymore. - - - -Psst... Don't tell anyone, but i'm working on making an official version of the engine that is 99% moddable. --Erizur \ No newline at end of file diff --git a/art/readme.txt b/art/readme.txt index ddc006a..30ca7f8 100644 --- a/art/readme.txt +++ b/art/readme.txt @@ -1,3 +1,400 @@ hi. moldy here. thanks for downloading our epic mod vs dave and bambi. hope you enjoy it... yay -do you like secrets? I do too! press 7 on story mode menu. \ No newline at end of file +do you like secrets? I do too! press 7 on story mode menu. + +hi Cam here + +if you want to mod this read the readmes in the test folder (make sure to copy it and rename it to your liking) + +anyways have a good day or night! + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +btw if you press 7 oon the option menu something funny happens \ No newline at end of file diff --git a/mods/test/data/charts/test-dia.txt b/mods/test/data/charts/test-dia.txt deleted file mode 100644 index 1c8711d..0000000 --- a/mods/test/data/charts/test-dia.txt +++ /dev/null @@ -1 +0,0 @@ -DaveDialogue \ No newline at end of file diff --git a/mods/test/data/charts/test-cred.txt b/mods/test/data/charts/test-settings.txt similarity index 83% rename from mods/test/data/charts/test-cred.txt rename to mods/test/data/charts/test-settings.txt index f1a0378..c5c7fe5 100644 --- a/mods/test/data/charts/test-cred.txt +++ b/mods/test/data/charts/test-settings.txt @@ -1 +1 @@ -Kawai Sprite & MtH:funkinHeading:The testiest song on the planet \ No newline at end of file +Kawai Sprite & MtH:funkinHeading:The testiest song on the planet:DaveDialogue \ No newline at end of file diff --git a/source/CreditsPopUp.hx b/source/CreditsPopUp.hx index de5825a..6a6d6f6 100644 --- a/source/CreditsPopUp.hx +++ b/source/CreditsPopUp.hx @@ -35,8 +35,8 @@ class CreditsPopUp extends FlxSpriteGroup var songCreatorIcon:String = ''; var headingPath:SongHeading = null; if (FreeplayState.isaCustomSong) { - if (FileSystem.exists(TitleState.modFolder + '/data/charts/' + PlayState.SONG.song.toLowerCase() + '-cred.txt')) { - custom = CoolUtil.coolTextFile(TitleState.modFolder + '/data/charts/' + PlayState.SONG.song.toLowerCase() + '-cred.txt'); + if (FileSystem.exists(TitleState.modFolder + '/data/charts/' + PlayState.SONG.song.toLowerCase() + '-settings.txt')) { + custom = CoolUtil.coolTextFile(TitleState.modFolder + '/data/charts/' + PlayState.SONG.song.toLowerCase() + '-settings.txt'); } } @@ -69,7 +69,7 @@ class CreditsPopUp extends FlxSpriteGroup songCreator = 'sibottle'; default: if (FreeplayState.isaCustomSong) { - if (FileSystem.exists(TitleState.modFolder + '/data/charts/' + PlayState.SONG.song.toLowerCase() + '-cred.txt')) { + if (FileSystem.exists(TitleState.modFolder + '/data/charts/' + PlayState.SONG.song.toLowerCase() + '-settings.txt')) { for (i in 0...custom.length) { var data:Array = custom[i].split(':'); @@ -119,7 +119,7 @@ class CreditsPopUp extends FlxSpriteGroup animation: new Animation('expunged', 'Expunged', 24, true, [false, false]), iconOffset: 0}; default: if (FreeplayState.isaCustomSong) { - if (FileSystem.exists(TitleState.modFolder + '/data/charts/' + PlayState.SONG.song.toLowerCase() + '-cred.txt')) { + if (FileSystem.exists(TitleState.modFolder + '/data/charts/' + PlayState.SONG.song.toLowerCase() + '-settings.txt')) { for (i in 0...custom.length) { var data:Array = custom[i].split(':'); @@ -136,7 +136,7 @@ class CreditsPopUp extends FlxSpriteGroup headingPath = {path: 'songHeadings/interdimensionalHeading', antiAliasing: false, iconOffset: 0}; default: if (FreeplayState.isaCustomSong) { - if (FileSystem.exists(TitleState.modFolder + '/data/charts/' + PlayState.SONG.song.toLowerCase() + '-cred.txt')) { + if (FileSystem.exists(TitleState.modFolder + '/data/charts/' + PlayState.SONG.song.toLowerCase() + '-settings.txt')) { for (i in 0...custom.length) { var data:Array = custom[i].split(':'); diff --git a/source/DialogueBox.hx b/source/DialogueBox.hx index cecf621..96ac9c1 100644 --- a/source/DialogueBox.hx +++ b/source/DialogueBox.hx @@ -78,8 +78,8 @@ class DialogueBox extends FlxSpriteGroup { super(); - if (FileSystem.exists(TitleState.modFolder + '/data/charts/' + PlayState.SONG.song.toLowerCase() + '-dia.txt')) { - custom = CoolUtil.coolTextFile(TitleState.modFolder + '/data/charts/' + PlayState.SONG.song.toLowerCase() + '-dia.txt'); + if (FileSystem.exists(TitleState.modFolder + '/data/charts/' + PlayState.SONG.song.toLowerCase() + '-settings.txt')) { + custom = CoolUtil.coolTextFile(TitleState.modFolder + '/data/charts/' + PlayState.SONG.song.toLowerCase() + '-settings.txt'); } if (playMusic) @@ -120,11 +120,11 @@ class DialogueBox extends FlxSpriteGroup case 'rano': FlxG.sound.playMusic(Paths.music('stocknightambianceforranolol'), 0); default: - if (FileSystem.exists(TitleState.modFolder + '/data/charts/' + PlayState.SONG.song.toLowerCase() + '-dia.txt')) { + if (FileSystem.exists(TitleState.modFolder + '/data/charts/' + PlayState.SONG.song.toLowerCase() + '-settings.txt')) { for (i in 0...custom.length) { var data:Array = custom[i].split(':'); - if (data[0] == null) { + if (data[3] == null) { FlxG.sound.music.stop(); } else { FlxG.sound.playMusic(Paths.music(data[0]), 0); diff --git a/source/PlayState.hx b/source/PlayState.hx index 1e5b64a..fddde1a 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -509,8 +509,8 @@ class PlayState extends MusicBeatState resetShader(); if (FreeplayState.isaCustomSong) { - if (FileSystem.exists(TitleState.modFolder + '/data/charts/' + PlayState.SONG.song.toLowerCase() + '-cred.txt')) { - custom = CoolUtil.coolTextFile(TitleState.modFolder + '/data/charts/' + PlayState.SONG.song.toLowerCase() + '-cred.txt'); + if (FileSystem.exists(TitleState.modFolder + '/data/charts/' + PlayState.SONG.song.toLowerCase() + '-settings.txt')) { + custom = CoolUtil.coolTextFile(TitleState.modFolder + '/data/charts/' + PlayState.SONG.song.toLowerCase() + '-settings.txt'); } } @@ -1388,7 +1388,7 @@ class PlayState extends MusicBeatState case 'kabunga': credits = LanguageManager.getTextString('kabunga_credit'); default: - if (FreeplayState.isaCustomSong && (FileSystem.exists(TitleState.modFolder + '/data/charts/' + PlayState.SONG.song.toLowerCase() + '-cred.txt'))) { + if (FreeplayState.isaCustomSong && (FileSystem.exists(TitleState.modFolder + '/data/charts/' + PlayState.SONG.song.toLowerCase() + '-settings.txt'))) { for (i in 0...custom.length) { var data:Array = custom[i].split(':');