Skip to content

Commit

Permalink
Merge pull request #1 from Mobbstar/master
Browse files Browse the repository at this point in the history
BigPortrait Fix + Custom Sounds (WIP)
DragonWolfLeo authored Jun 27, 2019
2 parents 0ebe8e3 + 81303e7 commit ddb65e9
Showing 46 changed files with 4,127 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
exported/**/*.zip
exported/**/*.zip

# Sound
*/.fsbcache/*
*.fdp.bak
*/fmod_designer.log
*/undo-log.txt
1 change: 1 addition & 0 deletions exported/esctemplate/face_sail/notes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
This is the side-sailing face, which is face-15 in the Shipwrecked version.
It is like the "sleeping" face (face-11) but sideways.

This was added for compatibility for mods adding Shipwrecked content to DST,
such as: https://steamcommunity.com/sharedfiles/filedetails/?id=1467214795
5 changes: 5 additions & 0 deletions modmain.lua
Original file line number Diff line number Diff line change
@@ -59,3 +59,8 @@ STRINGS.NAMES.ESCTEMPLATE = "Esc"
-- Add mod character to mod character list. Also specify a gender. Possible genders are MALE, FEMALE, ROBOT, NEUTRAL, and PLURAL.
AddModCharacter("esctemplate", "FEMALE")

--dumb fix because Klei is dumb and changed the way bigportraits work without adjusting the API
--I hope this will be redundant in an update, but considering how long it's been since the issue came up, I doubt it. -M
-- Set this to use the correct (oval) bigportrait in the new character select screen. The old (square) bigportrait is still used for Inspect.
GLOBAL.PREFAB_SKINS["esctemplate"] = {"esctemplate_none"}
GLOBAL.PREFAB_SKINS_IDS["esctemplate"] = {["esctemplate_none"] = 1}
6 changes: 6 additions & 0 deletions scripts/prefabs/esctemplate.lua
Original file line number Diff line number Diff line change
@@ -3,6 +3,8 @@ local MakePlayerCharacter = require "prefabs/player_common"

local assets = {
Asset("SCRIPT", "scripts/prefabs/player_common.lua"),
Asset("SOUNDPACKAGE", "sound/esc.fev"),
Asset("SOUND", "sound/esc.fsb"),
}
local prefabs = {}

@@ -48,6 +50,10 @@ local master_postinit = function(inst)
-- Uncomment if "wathgrithr"(Wigfrid) or "webber" voice is used
--inst.talker_path_override = "dontstarve_DLC001/characters/"

-- custom sounds example, Work-In-Progress -M
--inst.soundsname = "esctemplate"
--inst.talker_path_override = "esc/"

-- Stats
inst.components.health:SetMaxHealth(150)
inst.components.hunger:SetMax(150)
4 changes: 2 additions & 2 deletions scripts/prefabs/esctemplate_none.lua
Original file line number Diff line number Diff line change
@@ -17,6 +17,6 @@ return CreatePrefabSkin("esctemplate_none",
assets = assets,
skins = skins,
skin_tags = {"ESCTEMPLATE", "CHARACTER", "BASE"},
build_name = "esctemplate",
rarity = "Common",
build_name_override = "esctemplate",
rarity = "Character",
})
4,106 changes: 4,106 additions & 0 deletions sound/esc.fdp

Large diffs are not rendered by default.

Binary file added sound/esc.fev
Binary file not shown.
Binary file added sound/esc.fsb
Binary file not shown.
Binary file added sound/exported/DSS_sinking_death_wastien.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_death.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_emote.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_eye_rub.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_hurt_1.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_hurt_2.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_hurt_3.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_hurt_4.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_hurt_5.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_hurt_6.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_hurt_7.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_pose.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_1.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_10.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_11.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_12.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_13.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_14.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_15.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_16.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_17.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_18.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_19.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_2.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_20.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_21.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_22.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_23.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_24.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_25.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_3.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_4.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_5.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_6.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_7.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_8.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_speech_9.mp3
Binary file not shown.
Binary file added sound/exported/DSS_wastien_yawn.mp3
Binary file not shown.

0 comments on commit ddb65e9

Please sign in to comment.