Dragon Wolf Leo

[Tutorial] Using Extended Sample Character Template

Recommended Posts

BubaDuba    0

Hey, I'm having trouble figuring out by what you mean by "Downloading a mod". I want to make a mod from scratch, and I have virtually no coding skills. Is there any way you can help me with that? Thanks.

 

Share this post


Link to post
Share on other sites
HiddenRealm    0

So, I've come to notice an issue when using GIMP to edit the face files, (And other pngs), where it seems to not like the exported images, despite having opened the original sample ones, editing over top of it, never cropping or changing it's literal dimensions, and exporting over top of the file again, it seems to not like this at all.

I'm just not sure if there's any other way to edit these pngs without somehow causing it to not want to be compiled?

Here's what the compiler says when attempting this:
image.thumb.png.1ab9125875c98ec44d1375fe51decd27.png
The last part, where it successfully compiles, is where I replaced all of the images I had edited, and of course it works fine then.

Share this post


Link to post
Share on other sites
thekrocker    0

Hey guys. Is this still working? I need to create a new character but i read that it is not working anymore? 

Anyone did lately? 

Share this post


Link to post
Share on other sites
HiddenRealm    0
9 hours ago, thekrocker said:

Hey guys. Is this still working? I need to create a new character but i read that it is not working anymore? 

Anyone did lately? 

It should still be working.

 

20 hours ago, HiddenRealm said:

So, I've come to notice an issue when using GIMP to edit the face files, (And other pngs), where it seems to not like the exported images, despite having opened the original sample ones, editing over top of it, never cropping or changing it's literal dimensions, and exporting over top of the file again, it seems to not like this at all.

I'm just not sure if there's any other way to edit these pngs without somehow causing it to not want to be compiled?
 

Also regarding my issue earlier, I basically just took all of the edited images into Paint.net and then saved them from that, and now everything is working, so something about how GIMP exports png might cause issues with the compiler.

Share this post


Link to post
Share on other sites

Is there a video walkthrough for the DST edition one, or do I just follow the same way the older walthrough does?

I've been having issues in making my mod, it won't explain to me why the mod does not work, and even the logs don't say anything, I really hope there will be an up-to-date video, though! ;-;

Share this post


Link to post
Share on other sites
Enderia    0

When I'm following everything it replaces esctemplate with charactername in 71 files, not 33.

The first time it worked normally but when I tried to do second mod everything went wrong in both mods, I don't know what happened, I've done everything in the same way.

Share this post


Link to post
Share on other sites
TheFlorifant    11

hmm, how would we go about implementing pigtails? like Willow has?

EDIT: figured it out

Edited by TheFlorifant

Share this post


Link to post
Share on other sites
Logan601    0

Hi, Thanks for the tutorial. I just have one problem though,
Whenever I try to start up a world with the mod enabled, it will crash, I checked the logs and one of the lines it has confuses me. It would say:
"error loading module 'speech_Logan' from file '../mods/Logan the Tech-Savvy\scripts\speech_Logan.lua':"
and
"[string "cannot OLDFILEACCESSMETHOD @../mods/Logan the Tech-Savvy\script..."]:392: unexpected symbol near '/'"
Do you know any way to fix this?

Share this post


Link to post
Share on other sites
MimPlays    0

I followed the video, and the text guide. It says it found 21 instances and 1 instance of esctemplate to change to my character name. Then i save and open the modmain and everything still says esctemplate :( When I run the search again it says 0 instances of esctemplate are found but they are still in the modmain file. Did all the other steps and cant open the compiler :/

Share this post


Link to post
Share on other sites
FoXgalletaS    1

For each new person, I would like to tell you the following:

 

1.- Although this template is outdated, it works perfectly in DS (I still haven't tried anything in DST)

2.- If you have problems, this link could help you 

 

3.- And if you're done with art and want to add special objects or features to your character, this other link will help you 

4.- And in addition to being updated (supposed), this guide will also help you if you are modifying in MAC 

 

 

This is the best I could rescue after reading each comment for hours. I hope it serves.

 

  • Thanks 1

Share this post


Link to post
Share on other sites

For the character appears in game is it obrigatory to create some big-port, mod-icon, etc? Or just the sprites?
Cuz I'm done with the sprites, checked on Spriter, and when i compile, update the mod, and try to create my char, it won't appear in game =/
Can anyone help?

print.png

Share this post


Link to post
Share on other sites

I don't know how to do the starting inventory items, can someone help?

Code:

local start_inv =
{
    default =
    {
        "torch",
        "spear",
        "cutgrass",
        "cutgrass",
        "cutgrass",
        "twigs",
        "twigs",
        "twigs",
    },
}
end

 

Share this post


Link to post
Share on other sites
YetiCake98    26

Ok so everything went well on steam, the compiler, the game even loaded in which is amazing, first time I’ve gotten a modded character to actually load in.

 

but the only problem with my character when they load in? 
the character doesn’t appaear to exist.

none of their character art that makes them, the images or whatever the best term for it would be-are there. Yes the character talks, examines things in the environment with the voice I’ve chosen for them-but they Don’t physically appear like everything else as there’s just a shadow where they should be. Can someone help me out here?

image.jpg

Share this post


Link to post
Share on other sites
YetiCake98    26
53 minutes ago, YetiCake98 said:

Ok so everything went well on steam, the compiler, the game even loaded in which is amazing, first time I’ve gotten a modded character to actually load in.

 

but the only problem with my character when they load in? 
the character doesn’t appaear to exist.

none of their character art that makes them, the images or whatever the best term for it would be-are there. Yes the character talks, examines things in the environment with the voice I’ve chosen for them-but they Don’t physically appear like everything else as there’s just a shadow where they should be. Can someone help me out here?

image.jpg

Ok follow up, got the character to appear but his head is separated from his body, how do I fix?

Share this post


Link to post
Share on other sites
logie757    0

I keep getting this error and do not know how to fix it, help would be appreciated: [00:01:36]: Mod: workshop-1966351168 (Garfield)    Loading modmain.lua    
[00:01:36]: MOD ERROR: workshop-1966351168 (Garfield): Mod: workshop-1966351168 (Garfield)    
[00:01:36]: Mod: workshop-369845558 (50 Saveslots)    Loading modworldgenmain.lua    
[00:01:36]: Mod: workshop-369845558 (50 Saveslots)      Mod had no modworldgenmain.lua. Skipping.    
[00:01:36]: Mod: workshop-369845558 (50 Saveslots)    Loading modmain.lua    
[00:01:36]: [string "../mods/workshop-1966351168/modmain.lua"]:50: module 'speech_garfield' not found:
    no field package.preload['speech_garfield']
    no file '../mods/workshop-1966351168/scripts/speech_garfield.lua' (checked with custom loader)
    no file '../mods/workshop-666155465/scripts/speech_garfield.lua' (checked with custom loader)
    no file '../mods/workshop-375850593/scripts/speech_garfield.lua' (checked with custom loader)
    no file 'scripts/speech_garfield.lua' (checked with custom loader)
    no file 'scriptlibs/speech_garfield.lua' (checked with custom loader)
    no file 'scripts/speech_garfield.lua' (checked with custom loader)
    no file '../mods/workshop-1966351168\scripts\speech_garfield.lua'
    no file '../mods/workshop-666155465\scripts\speech_garfield.lua'
    no file '../mods/workshop-375850593\scripts\speech_garfield.lua'
    no file 'scripts\speech_garfield.lua'
    no file 'scriptlibs\speech_garfield.lua'
    no file 'scripts/speech_garfield.lua'
LUA ERROR stack traceback:
        =[C] in function 'require'
        ../mods/workshop-1966351168/modmain.lua(50,1) in main chunk

Share this post


Link to post
Share on other sites

I'm trying to make my character's damage go up when his sanity goes down. my current code for that is:

-- Damage multiplier (optional)
        if inst.components.sanity.current <=31 then
    inst.components.combat.damagemultiplier = 1.5
        
        elseif inst.components.sanity.current <=11 then
    inst.components.combat.damagemultiplier = 2

    end

Am I doing something wrong? 

Share this post


Link to post
Share on other sites
Posted (edited)

Great Template, Tutorial and all, but the mod won't compile. Any ideas on how to help with this?

I'm using DST

EDIT: I've gotten the compiler to work but the game crashes on loading. Any way to fix this?

Edited by kayden193161

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now