ViewtifulDom

  • Content Count

    27
  • Joined

  • Last visited

Community Reputation

26 Excellent

About ViewtifulDom

  • Rank
    Junior Member
...

Recent Profile Visitors

994 profile views
  1. Hey @Rincevvind and @WolfHybrid23. I realize I am extremely late to your calls, but hopefully I can still help you out. @Rincevvind, you are doing everything exactly right. Those white dots are empty symbols, and each one represents a different body part of your character. Next comes the fun part - all you have to do now is open each body part by double-clicking on a white dot and draw in the matching body part. Try not to move any of the dots, as they've been placed in the proper locations to match the animation build, (if you do move any, all you have to do is reload the character from the DSCC window). @WolfHybrid23, your problem is a little trickier. I've found WHERE your hangup is, but I can't figure out why it's happening. Am I correct is assuming this is happening when you create a brand new character? If you can, attach a screen shot of Flash with the DSCC window and your library panel open. (Also you don't need to install After Effects, AF is 'Adobe Flash'). Hope this helps, guys. Feel free to message me if you need more assistance. I'll try to answer sooner than a year later. - Dom
  2. If modmain happens before the prefab, won't it still be overwritten just like the prefab's masterpostinit? modman > masterpostinit > whatever-changes-the-build?
  3. Closer, but the build in the character selection screen is still the default.
  4. That works, but unfortunately, only when you load a saved game. The first time you start it, no go.
  5. @DarkKingBoo @RedHairedHero Thanks for taking the time, guys. I figured it was probably being overridden after masterpostinit, and I don't know where else to call it without using a messy DoTaskInTime. To clarify, RedHairedHero, my goal is for the character to start the game looking like a different model. Is there perhaps some sort of "OnSpawn" event or function I could use? That would actually solve several other problems I'm having as well.
  6. @DarkKingBoo I tried it once with two custom character anims. When both character anims were present, and testchar1's build was set to testchar2 in masterpostinit, it would simply default to testchar1's build. When I removed testchar1's anim, and again set its build to testchar2 in masterpostinit, it would turn invisible. Both character anims had been tested elsewhere and worked fine. Like you, whenever I create a custom mob, I can set the build, bank, and stategraph in masterpostinit with no problem. For some reason, any character I create always seems to default to the anim that share's its prefab name despite changing it's build in masterpostinit. It must get overridden even after masterpostinit?
  7. @DarkKingBoo After closer inspection, it looks like that's what I was trying to do after all. Although I don't understand your final suggestion; changing the build in masterpostinit is exactly what I tried, and it didn't work, which is the problem. Should this work?: local master_postinit = function(inst) inst.AnimState:SetBuild("build_with_different_name_than_the_prefab") end
  8. Thanks for all your effort @SuperDavid, but it doesn't solve my problem. Like I said, I can change the character's build without issue in the console, so changing it in on the "equip" event doesn't help me. I need the character's build to be changed on its initialization, like the Playable Pets mod does. As for testchar_none.lua and the ghost build, I'm aware they're missing, but they're unnecessary for this particular test.
  9. @Lumina @SuperDavid Thanks guys. The problem isn't with the anim files themselves, they both work fine on their own. I simply can't seem to reassign a prefab's build to anything other than the anim that shares its name. Perhaps, since I'm doing it in master_postinit, the game overwrites my change before it starts? I can change the character's build with no issue if I use SetBuild in the console, so it may just be a matter of when I'm calling it. I'll link the latest version of the mod, where I try to get the "testchar" prefab to use Wendy's build. TESTMOD.rar
  10. Thanks @Lumina. I actually did reference a mod that uses my example, on top of also having skins for the characters. I'm afraid if I cheat and use a skin to change the character, I'm limiting myself to not also being able to add skins to my character. The mod I referenced was Leonardo Coxington's Playable Pets mod. As an example, the playable Bearger character's prefab is called "bearplayer", and then sets its build as follows: inst.AnimState:SetBank("bearger") inst.AnimState:SetBuild("bearger_build") inst:SetStateGraph("SGbearplayer") The build name is different from the prefab name, and it still functions. (The mod then goes on to offer several skins for the Bearger character, as well as others), so I'd still like to try to get it to work this way.
  11. I'm trying to create a character that uses a build that doesn't share its prefab name. Normally, a character called "example" would default to using the anim file called "example.zip", unless instructed otherwise. I can't seem to convince it to use any build other than its own, however. I've read that the proper way to do this is to assign a new build using: inst.AnimState:SetBuild("differentbuild") however, it doesn't seem to work. The character defaults to the anim file with the same name, or simply becomes invisible if the anim with the same name is not provided. Here's the full prefab: local MakePlayerCharacter = require "prefabs/player_common" local assets = { Asset("ANIM", "anim/domo.zip"), Asset("ANIM", "anim/chanti.zip"), } local common_postinit = function(inst) end local master_postinit = function(inst) inst.AnimState:SetBuild("chanti") end return MakePlayerCharacter("domo", prefabs, assets, common_postinit, master_postinit) Both build files are standard character builds, compatible with the standard player stategraph. Can anyone fill me in on what I'm doing wrong, or anything I'm missing? Thank you so much!
  12. Download: Domo's Don't Starve Character Creator Hey friends, I've got a brand new Don't Starve modding tool to share with all of you! It's a character creation script that allows you to draw your character in-pose, and then easily export the .scml file and all its assets directly to your mod folder. This method doesn't require adapting a template mod, and allows you to create assets without any size restrictions. There is a SMALL catch - this tool is an extension for Adobe Flash. Hear me out! Wilson and all his friends were originally drawn in Flash by Klei themselves, and it works quite well with Don't Starve's aesthetic. If you still prefer to use alternative software, you can import your character's assets into Flash and use the tool to create an .scml file. Here's how it works: Step 1: Open a new document. Open Window > Other Panels > DSCC. In the DSCC window, enter your character's name and click 'New'. Your character's assets will be created and appear in the document's library. Step 2: Click your character's name in the list and click 'Load'. Your character's assets will be loaded into the document. Once there, you can open each one and draw the appropriate body part. Alternatively, you can import external images if you'd prefer not to draw in Flash. Step 3: Once your character is finished, click its name in the list and click 'Export'. Navigate to your mod's 'exported' folder and click 'Okay'. Flash will process your character for about a minute, and after that, you're done! Once you start Don't Starve, it will automatically be compiled into an anim file for your character. My hope is for this tool to streamline the character creation process and make it easier for modders to publish their work. Please post here with any feedback you have about DSCC, as I plan to keep it updated and add some new features and fixes. If there are any questions about these instructions, please post them, as well. With your help, I can make this a real asset to you and the Don't Starve modding community. Thanks everyone! Also be on the lookout for Domo's Don't Starve Speech File Creator in the future!
  13. Version 1.0.0

    1682 downloads

    This is the download page for Domo's Don't Starve Character Creator tool. It is a plugin for Adobe Flash, and requires that you have Adobe Extension Manager installed. Instructions on its use can be found here. Enjoy!
  14. @DarkXero I'm not sure why that part got lost, but you're right, that fixed it up nice. Thank you very much!
  15. @DarkXero I see what you mean. I need to find a way to retrieve the eater without requiring it to be passed to the function. Can you suggest anything?