chazcat124 Posted April 2, 2019 Share Posted April 2, 2019 hey there Klei, and DST modders. i posted this on reddit about a week ago, and so far i haven't really heard back. can someone help me and my sister? we're still stuck in the same place and i would love to move on and do the art and animations... but i really can't until this part works. thank you! Link to comment Share on other sites More sharing options...
Hornete Posted April 2, 2019 Share Posted April 2, 2019 May you share your character prefab and modmain.lua? Link to comment Share on other sites More sharing options...
chazcat124 Posted April 2, 2019 Author Share Posted April 2, 2019 The character name is dot, if that's what you mean by prefab. i can upload all the files on google drive and give a shareable link here, as i think that'll be easier. i'll need a minute for that. thank you so much for the fast reply! Link to comment Share on other sites More sharing options...
Hornete Posted April 2, 2019 Share Posted April 2, 2019 Just now, chazcat124 said: The character name is dot, if that's what you mean by prefab. i can upload all the files on google drive and give a shareable link here, as i think that'll be easier. i'll need a minute for that. thank you so much for the fast reply! You can just give me the files right here. When typing a comment you can see Quote Drag files here to attach, or choose files... Max file size 99MB At the bottom. Also your prefab needs to be in the prefabs folder which is in the scripts folder, Just saying this since you don't seem to know what a prefab is. Link to comment Share on other sites More sharing options...
chazcat124 Posted April 2, 2019 Author Share Posted April 2, 2019 https://drive.google.com/drive/folders/1UMju_BktFt07jsXlaF589deQ304zljkn?usp=sharing well... um... they are on drive now... i can do that if this doesn't work. Link to comment Share on other sites More sharing options...
Hornete Posted April 2, 2019 Share Posted April 2, 2019 Just now, chazcat124 said: https://drive.google.com/drive/folders/1UMju_BktFt07jsXlaF589deQ304zljkn?usp=sharing well... um... they are on drive now... i can do that if this doesn't work. Quote local assets = { Asset("SCRIPT", "scripts/prefabs/player_common.lua"), } First thing I noticed right of that bat, It seems like your not referencing any ANIM for the player to use, Put this inside your prefab file Quote local assets = { Asset("SCRIPT", "scripts/prefabs/player_common.lua"), Asset("ANIM", "anim/Dot.zip"), } Come back to me and see how that works. Link to comment Share on other sites More sharing options...
chazcat124 Posted April 2, 2019 Author Share Posted April 2, 2019 it it didn't like that, but i'm getting an error message at least. Link to comment Share on other sites More sharing options...
Hornete Posted April 2, 2019 Share Posted April 2, 2019 Just now, chazcat124 said: it it didn't like that, but i'm getting an error message at least. What did you write exactly? copy and paste it here. Link to comment Share on other sites More sharing options...
chazcat124 Posted April 2, 2019 Author Share Posted April 2, 2019 local MakePlayerCharacter = require "prefabs/player_common" local assets = { Asset("SCRIPT", "scripts/prefabs/player_common.lua"), Asset("ANIM", "anim/Dot.zip"), } } local prefabs = {} -- Custom starting inventory local start_inv = { } i copied and pasted it, i hope in the right spot. wait, is it because there's 2 '}'s?! Link to comment Share on other sites More sharing options...
patdogr Posted April 2, 2019 Share Posted April 2, 2019 2 minutes ago, chazcat124 said: local MakePlayerCharacter = require "prefabs/player_common" local assets = { Asset("SCRIPT", "scripts/prefabs/player_common.lua"), Asset("ANIM", "anim/Dot.zip"), } } local prefabs = {} -- Custom starting inventory local start_inv = { } i copied and pasted it, i hope in the right spot. wait, is it because there's 2 '}'s?! yes Link to comment Share on other sites More sharing options...
Hornete Posted April 2, 2019 Share Posted April 2, 2019 (edited) Just now, chazcat124 said: local MakePlayerCharacter = require "prefabs/player_common" local assets = { Asset("SCRIPT", "scripts/prefabs/player_common.lua"), Asset("ANIM", "anim/Dot.zip"), } } local prefabs = {} -- Custom starting inventory local start_inv = { } i copied and pasted it, i hope in the right spot. Why do you have a 2nd '}' there? Edit: Looks like you found the problem yourself, Carry on. Edited April 2, 2019 by Omaremad74 Link to comment Share on other sites More sharing options...
chazcat124 Posted April 2, 2019 Author Share Posted April 2, 2019 whoops mb *screams out in pain* this is where we left off... hello whitescreen my old friend.... Link to comment Share on other sites More sharing options...
patdogr Posted April 2, 2019 Share Posted April 2, 2019 (edited) 9 minutes ago, chazcat124 said: whoops mb *screams out in pain* this is where we left off... hello whitescreen my old friend.... For future reference, even without the "code" showing on the screen when an error occurs, 99% of the time, the game has some error in the log.txt in your documents/klei/dontstarvetogether folders. I'm assuming something failed to load/was not found, which I can check for you in a sec ^ and maybe in the serverlog.txt if something happens when you're hosting a world Edited April 2, 2019 by patdogr Link to comment Share on other sites More sharing options...
Hornete Posted April 2, 2019 Share Posted April 2, 2019 4 minutes ago, chazcat124 said: whoops mb *screams out in pain* this is where we left off... hello whitescreen my old friend.... Quote inst.soundsname = "webber" -- Uncomment if "wathgrithr"(Wigfrid) or "webber" voice is used --inst.talker_path_override = "dontstarve_DLC001/characters/" I found this, It seems you didn't uncomment it despite you using webbers voice. If you want just use willow or wilsons voice for now and see how it goes. Link to comment Share on other sites More sharing options...
chazcat124 Posted April 2, 2019 Author Share Posted April 2, 2019 what does it mean to uncomment? Link to comment Share on other sites More sharing options...
Hornete Posted April 2, 2019 Share Posted April 2, 2019 Just now, chazcat124 said: what does it mean to uncomment? See those lil 2 '--'? When you put that in it takes the line out of the code but keeps it in text. Developers and modders use it to keep code they don't wanna use for that moment or to keep reminders or even to keep lil messages from charlie as easter eggs in the developers case. Link to comment Share on other sites More sharing options...
patdogr Posted April 2, 2019 Share Posted April 2, 2019 Just now, chazcat124 said: what does it mean to uncomment? In LUA you can add "--" before a line of code and it will be skipped. The problem seems to be [00:01:26]: Can't find prefab dot therefore, preventing the player from being able to spawn as Dot Link to comment Share on other sites More sharing options...
chazcat124 Posted April 2, 2019 Author Share Posted April 2, 2019 how do i fix that? Sorry, very new to coding... also, Dot is capitalized. Link to comment Share on other sites More sharing options...
Hornete Posted April 2, 2019 Share Posted April 2, 2019 (edited) A bit strange. Never ran into that problem, Are your prefabs in the correct folder? They should be in the prefabs folder which is in the scripts folder which is in the mod itself. Edited April 2, 2019 by Omaremad74 Link to comment Share on other sites More sharing options...
chazcat124 Posted April 2, 2019 Author Share Posted April 2, 2019 they are in the exact order they where in on the google drive file. Honestly, modding can be so frustrating sometimes... Link to comment Share on other sites More sharing options...
patdogr Posted April 2, 2019 Share Posted April 2, 2019 1 minute ago, chazcat124 said: they are in the exact order they where in on the google drive file. Honestly, modding can be so frustrating sometimes... Here's what happens if I rename "Dot.lua" to "dot.lua" So I'm kinda thinking it's a mistype of "dot" instead of "Dot" somewhere, since the log said "dot" Link to comment Share on other sites More sharing options...
chazcat124 Posted April 2, 2019 Author Share Posted April 2, 2019 oh geez if that's it, I'm going to feel so dumb Link to comment Share on other sites More sharing options...
Hornete Posted April 2, 2019 Share Posted April 2, 2019 I suspected it had to do something with the capital letters since coding is very exact. Probably wanna write your prefabs and things with lowercase letters and not capital letters. Link to comment Share on other sites More sharing options...
chazcat124 Posted April 2, 2019 Author Share Posted April 2, 2019 is there any indication of where that could be? Link to comment Share on other sites More sharing options...
Hornete Posted April 2, 2019 Share Posted April 2, 2019 Might wanna just replace all "Dot" with "dot", Didn't find any "dot" 's but might as well try. (Sorry if this doesn't work and just wastes your time xD) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now