K1NGT1GER609

  • Content count

    308
  • Joined

  • Last visited

Community Reputation

113 Excellent

About K1NGT1GER609

  • Rank
    Senior Member

Badges

Don't Starve Together
  • Contributor
Oxygen Not Included
  • Alpha Contributor

Recent Profile Visitors

8,390 profile views
  1. Here...I don't know why the bigportraits didn't come out right the first time but its fixed I think. There were some syntax errors that didn't make your character's quote, name, and description not show. Other than that theres some weird fill for the names_adam in the images folder I was confused on how to remove, so I'll let you sort that out. Adamrevised.zip
  2. Usually I use sample prefab from the tutorial here to make most of my recipe parts and stuff: I've used it for consumables, crafting parts, sometimes structures, even lanterns.
  3. Headbase_Hat overlap

    Headbase in the character sprite is the default character head that'll show when the character doesn't have a hat equipped. Headbase_hat takes the priority over headbase when the character equips a hat and usually in the normal characters they have a cutoff as the hair (or parts of the head if its big enough) will appear "behind" the hat. So I'm not too entirely sure what you want to do, so I guess you'll have to do your suggestion at the end but on the headbase_hat picture.
  4. Character only item help

    @Ultroman Erm he is actually playing don't starve because the combined status mod on dst doesn't have a krampus meter and if you look at his inventory it doesn't have the self inspect button near his equip-ables (I could also say that the chest resolution is lower than the dst one, as dst did update the pictures of most items). The final note on why you want to make a recipe only craftable by the said character is because when you play as another character and have the mod enabled, that other character has access to the modded character's items (I know I get lazy on disabling mods in single player). Anyways to make a recipe only accessable to the modded character is simple as putting the recipe code in the character lua, under the main function where all his stats are like so: local fn = function(inst) --main character function local armor_device = Recipe("customhatimade", { Ingredient("purplegem", 1), Ingredient("goldnugget",10) }, RECIPETABS.SCIENCE, {SCIENCE=2}) armor_device.atlas = "images/inventoryimages/customhatimade.xml" inst.components.health:SetMaxHealth(200) --reference on where the code goes inst.components.hunger:SetMax(200) inst.components.sanity:SetMax(200) end If the mod crashes when you do this you might need this in the modmain: local TECH = GLOBAL.TECH local Ingredient = GLOBAL.Ingredient local RECIPETABS = GLOBAL.RECIPETABS local require = GLOBAL.require local STRINGS = GLOBAL.STRINGS local resolvefilepath = GLOBAL.resolvefilepath local ACTIONS = GLOBAL.ACTIONS local Action = GLOBAL.Action As for making an item character specific I'd go try ultroman's code, seems right. (Also nice job on the art for the character)
  5. Problem with my stategraph?

    According to the error it says that a non-action handler is added to the actionhandler table so my only guess is that the lavaspit actionhandler is unknown to the game as its not familar with shipwrecked dlc, where these lua files originated from. My guess is the lavaspit actionhandler (maybe gohome will have problems as snake's home isn't known to dst as well) is unknown to dst so all I can suggest is either remove the lavaspit action handler or remap the event (advanced). The other suggestion is to possibly adapt or run the island adventures mod that seems to import most of shipwrecked data.
  6. Think your missing this line: inst.components.inventoryitem.atlasname = "images/inventoryimages/meaperroll.xml" meaperroll.lua
  7. think its like this: inst.components.inventoryitem.onputininventoryfn = function(inst, player) local owner = inst.components.inventoryitem:GetGrandOwner() if owner.components.inventory and owner.prefab ~= "star" then inst:DoTaskInTime(0.1, function() owner.components.inventory:DropItem(inst) owner.components.talker:Say("It seems to slip right out of my hands!") end) end end meaperroll.lua
  8. I use to implement that code into my mods but I later found out that it would crash the game if you put that item in a chest/chester and/or someone else tried to get it (or something like that). I could help you out with another way of achieving character specific items (and without the crash) but its a little complicated. If not i'd recommend changing the code to inst.components.inventoryitem.onputininventoryfn = function(inst, player) if not player:HasTag("wisia") then inst:DoTaskInTime(0.1, function() player.components.inventory:DropItem(inst) player.components.talker:Say("It slips right out of my hands.") end) end end while having this in your character lua file: local common_postinit = function(inst) --PLEASE READ THIS NOTE, its reference on where it goes inst:AddTag("wisia")--add this line of code, its usually implemented on new character templates but you'll have that crash you'll encounter later on. Otherwise your call if you want to try the alternative route.
  9. The fix is: SetSkinsOnAnim(builder.AnimState, "niko_pupils", "niko_pupils", builder.components.skinner:GetClothing(), nil, "niko_pupils") setskinmode function got changed to something else.
  10. Usually I use something like this to force enemies to drop the targets (works on both dst and ds): target.components.combat:ShareTarget(nil, 50, function(dude) --it might need some altering depending where you put it return dude.components.combat:SetTarget(nil) end, 30) a advance way is: local x,y,z = inst.Transform:GetWorldPosition() local ents = TheSim:FindEntities(x, y, z, 10) for k,v in pairs(ents) do if v.components.combat and v.components.combat.target == inst then v.components.combat.target = nil end end but the advance way requires you to know your code to make it work as I don't know how you want to call these codes. To set them to attack each other you'd probably have to use either a mix of both codes. As for the list the mobs can't attack the players, some of the mobs target player components that you most likely can't include in their exclude list or remove those components without some unexpected results.
  11. Custom Character Sprite Invisible

    Skimming through the mod the only error was that the autocompiler didn't build your character, but I didn't encounter any syntax errors when I loaded it. The autocompiler has the tendency to not build the character for some unknown reason and all I can advise is just to keep trying to build the character. Either way heres the zip file back. Wren DS.zip
  12. Whaler

    @Matrix_Prime The problem is obvious this mod doesn't work on don't stave, it works only on don't starve together. I did mention in the main body of the text, that the stalker mod (where the mod originated from, that's why I'm mentioning it) got a lot of negativity from the don't starve workshop on steam. Considering what the workshop (both single and multiplayer) is "producing", someone has to show shame if its disliked so much.
  13. Nice work, a lot of code in the forums become lost overtime (I mean 226 pages? and the search engine is limited to 30+ second penalty per search!) and heck some of the code I post is lost even when I look at my profile for previous posts.
  14. Whaler

    Version 1.45

    527 downloads

    Warning this mod uses some language and graphic quotes, if you do not approve then don't download. You play as the whaler from dishonored (after the events anyway) who's taking a chance to make as much gold as he can before his powers fade away forever. More lore here that's being overlooked and you really just want to just jump to his stats and abilities (jeeze I spent over a month working on this man). Supernatural Powers: +You have access to 8 different powers that give you the edge over your enemies and frankly your fellow players. ~Many powers require the Prestihatitator for the first tier of upgrades and the shadow manipulator for the second tier -Your powers run off of sanity, so once you reach below 100 sanity you can't use them anymore Assassin: -You start off with 100 hitpoints and won't last long in combat -HUGE DISADVANTAGE: You prefer to be lightweight and fast, thus you reject many armors, weapons, headwear, and statue parts to carry or wield. Limiting your choices severely! (Its recommended to be experienced in order to survive) The End: -You didn't get here by normal means, and the (dst) world knows that. Once you die the world will get rid of you and return you the character select screen without the whaler being an option. Your mission is a high reward and high risk afterall, you could restart the server and rollback but if you die a lot this disadvantage will get to you. (This disadvantage also makes death meaningful again). Stats: Health: 100 -> max 140 Hunger: 150 Sanity: 300 -> max 360 Notes: The mod will conflict with anything trying to tell health of mobs as the summoned assassin's aren't in their recorded lists. Strangely the game crashes upon closing it down but there's no error in the report, whether this is concerning is unknown as the game has no problems starting up and loading the character. it is recommended to add this mod for maximum use of all items: https://steamcommunity.com/workshop/filedetails/?id=375850593 Updates: Unknown at this time. Refer to the discussions links below for more info: https://steamcommunity.com/workshop/filedetails/discussion/1440494809/3596571824763129940/ https://steamcommunity.com/workshop/filedetails/discussion/1440494809/3596571824763089941/ https://steamcommunity.com/workshop/filedetails/discussion/1440494809/3596571824763072720/ Will this mod be on don...*covers your mouth* Let me make it clear that I'm not going to waste my time on the single player due to the pushback on the stalker mod and quite frankly that game's player base is dwindling more and more. I could say more negative reasons but I'll hold back. Also checkout Mindmaster's mod: http://steamcommunity.com/sharedfiles/filedetails/?id=451724205 My other work: http://steamcommunity.com/sharedfiles/filedetails/?id=371705488 http://steamcommunity.com/sharedfiles/filedetails/?id=520571095 http://steamcommunity.com/sharedfiles/filedetails/?id=640715176 Special thanks once more to mr Saval for the artwork, mindmaster for ai experimentation, Arkane Studios for the character and music, and thanks from the musha mod that inspired some of the code.
  15. So you want to implement a voice for your character mod or import sounds for your items? Then let’s get started, this tutorial was created on the bases of the old tutorial back in 2013 but with don’t starve together coming around it wasn’t really updated to say the least. So this guide will more or less will be an update compared to the previous guide and hopefully be re-edited when an update gives us something new. Before we start a few tools are needed to follow this guide: What’s needed: · Don’t starve mod tools in steam (for FMOD Designer) · Notepad++ or some other coding api · Audacity (for this tutorial, you can use FMOD studio or some other audio editing program but it’s your job to know how to use it) · VLC media player (a converter from non mp3 to mp3 for audacity) · Some experience with dealing with sound files (mainly editing). · Highly recommended to view the getting stared: guides, tutorials and examples. Especially if you’re new to modding as this guide will require basic coding knowledge and patience. · Your own sound files for voice implementation/item sounds. Universally mp3 is used which is fine just one more conversion. · A sort of tool box from the last bullet in links. · Moderate modding experience for sounds on items as you’ll need to make decisions and this is where the files act more like a toolbox. Links: · https://notepad-plus-plus.org/ · https://www.audacityteam.org/download/ · https://www.videolan.org/vlc/ · https://forums.kleientertainment.com/topic/28021-getting-started-guides-tutorials-and-examples/ · Where it originated from: http://forums.kleientertainment.com/topic/27803-tutorial-adding-custom-sound-to-your-custom-character/ · https://forums.kleientertainment.com/files/file/1829-character-custom-voice-tutorial-and-custom-item-sounds/ Important numbers (all values come from wilson’s voice files): · A character’s talk voice will last on average 2 seconds, max 2.5 seconds. I don’t know how to extend the duration just saying it now. Recommended amount 7 sound files. · Emote voice averages 1.4 second. Recommended amount 1 sound file. · A yawn average 1 second. Recommended amount 1 sound file. · A hurt sound .5 second. Recommended amount 3 sound files. · A ghost sound 1 second average, 1.5 seconds max. Recommended amount 7 sound files. · A death voice 1.75 seconds. Recommended amount 1 sound file. · A pose 1.8 seconds. Recommended amount 1 sound file. A carol 13 seconds. Recommended amount 1 sound file. · A eye rub (also called sleepy emote) 0.78 seconds. Recommended amount 1 sound file. · For a items it’s about 45 seconds max. Video: Character voice (if you have trouble know what to click refer to the pictures, green boxes = point of interest, yellow boxes = important sections): 1. Open the modmain and the first 22 lines should have all the lines of code for your character mod’s voice just replace all “characterprefab” with well your character’s name. If you’re doing ds only voice mod you can ignore lines 15-19 unless you plan to make it both don’t starve together and don’t starve compatible in the future. 2. Next open the characterprefab file under scripts-prefabs there will be only be a single line to put into your character lua file. Line 4 is for dst, while line 12 is for ds but the note above should be taken into consideration. 3. Alright disclaimer I don’t make custom music so you should have your own source of sounds to implement, most of my voices come from songs from the games I adapt my mods from. That out of the way open up audacity and vlc media player while you’re at it. If you already have your mp3’s ready go down to the next step, or if you have your .wav go to step 5. If you drag your sound file into audacity and get a window pop up then there’s a chance your file won’t come out as good as it should, then that’s why we have vlc media player open. Go to media-convert/save…-file-add…- and find your sound file in your computer. Select convert/save (not the drop down arrow) and a new window will open. Select the drop down arrow next to profile and find audio – MP3, next click browse to put your mp3 sound file, preferably a folder you won’t delete later and rename it to your meaningful name like character_talk1 and such (the name won’t matter). Then click start, if you have more files to convert this will become repetitive real quick as you don’t get all files you added converted in one go. So go back to the window where you add files, remove the top file you converted and keep going till you have all your mp3s set. 4. Note: I’m not much of a sound/signals kind of guy so the next part will only mention bare bones basic options. Now with audacity drag your mp3 onto the grey area and two wavelengths will appear. Here you can edit your sound files by shrinking them, increase the gain by some # dB (units: decibels comes from signals classes), and importantly convert mp3 to wav files (seriously? More conversions?). Go down to “Basics and Tips for audacity” and read up on your controls and along that read up on “Important numbers”. If you’re a music/signals kind of person you can use the effect on your menu bar and use fade out on your last milliseconds (by holding click and highlighting the wavelength) of your sounds to avoid the sudden silence at the end of your character’s speech. For beginners you can do an alternative fade out in the next step when I mention optional. When you think you get the right sounds with the right length go to file-export-export as wav- go to where you put all your sound files and save. 5. Let’s open up the characterprefab.fdp in the sound folder with fmod designer and check a few things. You can find fmod designer with directory: C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Mod Tools\mod_tools\FMOD_Designer once you get there use the application: fmod_designer (I’m saying this cause window 8 and above usually don’t know how to open applications any more, what happen to window 7 knowing what application was right for the job???). Alright once open you should go to events and from there open characters-characterprefab if it isn’t open, and click on the events (hurt,death_voice, etc) and go one by one to check for the following settings in the property-value table that’s on the far right hand side. Mode: 3d, 3D Rolloff: Linear, 3D Max Distance: 50. What does this do? We’ll it’s a common error in most mods that you can hear the character’s voice all throughout the world when they speak, with these options it’ll limit it to the maximum zoom out for your in-game camera. Optional (Recommended for beginners): set Fade out time: 150 to match the original’s character’s voice fading when their done speaking. Also it doesn’t sound good when your character’s voice goes dead silence in less than 0 seconds (or sounds that way). 6. After you check that property-value table then let’s start renaming the characterprefab with your character’s name. Click characterprefab, from there look at the property-value table on the right hand side and there should be the option: name, user properties, notes. On name replace characterprefab with your character’s name. Alright once that’s done we got another characterprefab to rename, go to the banks and on the left hand side click characterprefab and look at the far right where the property-value table comes up again. Go to name and rename it to your character’s name, no other options shouldn’t need to be edited unless you know what you’re doing. 7. Once that’s done I’ll say it now: IMPORTANT: Where you keep your sound files is where fmod designer will go to when you build the files, so places all the sound files in one place preferably somewhere you won’t mind them staying and won’t delete them. If you decide to re-edit the files in the future or the files didn’t come out the way to wanted and you delete them/move them, then you’ll have to either: put back the sound files where they were or redo the next step so cluttered desktops beware! 8. Go back to events and click on an event (hurt, yawn, pose, talk_LP, etc), in the center of the window there will be a box titled playlist with rand and sound subtitles there you’ll drag your respective sound files into there. Like your three hurt sounds inside hurt, your seven talk sounds inside talk_LP, and so forth. Optional: You’re free to right click a wav sound and set percentage, to give the chance that sound will play, plus use lock percentage if needed but unlock them when you’re done. Once you filled the events with your wav files (if you used mp3 or another format the game won’t recognize it) press control+B and select the bank with your character’s name on it (aka check the checkbox) and click build and rebuild. If it fails there’s a chance you put a non-wav format file or a wav file is missing. Otherwise if successful it’ll say build took *some sort of time, probably less than a few seconds*. After that’s done keep your fdp file around in case you mess up or need to do re-editing, otherwise cut the fev and fsb files in the sound folder and put it into your mod. You should create a folder named sound in the main directory of your mod and put the fev and fsb files in there. After that that’s all the mod needs and test it out. 9. If you don’t like the way they came out delete the bak file(if it exists), fev, and fsb and re-edit the sound file in audacity and redo step 8 till you’re happy with the way your character sounds. Items sounds (refer to the pictures above if your lost, yellow boxes = important sections, green boxes = points of interest): Note this section is meant for experienced modders as I briefly cover things that weren’t done in the character voice section. If you know how to put a voice for a character then this section is mainly the same and you’ll use the files like a tool box and use some of the lines you need and don’t use the ones you don’t need (like a restaurant menu, “omg there’s a lot of food!” waiter: “yeah just get the things you want, you don’t have to order it all”). If you want to start here just skim through steps 5 through 8 to get some idea of fmod designer otherwise I’ll briefly summarize. 1. Let’s go to sounds-structureprefab.fdp, this file can be molded into whatever you like (weapon sounds, food sounds, armor sounds etc.) but lets go through some small details. Go to events, expand the folder named structure (if it isn’t expanded already) and click event1, under the playback options (next to playlist) the repeating loop has been selected to repeat a single sound indefinitely. You can select oneshot for it to play only once, scrolling down to the very bottom allows you to play the playlist at random, sequential (one after the other) or shuffle, you can also click allow repetition if you desire. Next look at the far right where it has the property-value table and see the following: mode:3d, 3D Rolloff: linear, 3D max distance: 50, and fade out time: 0. The first 2 mention is just setup, the max distance is your main focus, at 50 is about the radius that sound can be heard which is about how far you can zoom out your camera in-game. You can change it to your desired range, the fade out time is the time your sound starts to fade out (again doesn’t sound good when your item goes dead silent in 0 seconds), but if you’re doing repeating loop it probably won’t be needed just pointing it out. The other events are set to oneshot, but if you need more than 3 events then go to the structure folder on your left hand side, right click the folder and click add simple event and give it a name (don’t worry about the template option) once that happens redo the property on that event (mode,3D rolloff, etc.) and set it up to the previously mentioned or your sound will be heard worldwide in the game. 2. Go to banks and select the folder structureprefab, there the property-value table will pop up again change the name as you wish. Notice in the center is where your filename (assuming you put it into the events playlist) with the directory of where it’s getting the sound file from, this should be noted if you comeback to re-edit it or make a mistake. The fmod designer will look at the same place to build the files and if you miss place it… well another headache will approach. So keep the folder somewhere it won’t bother you and you won’t mind it being there. 3. Now then if your not working on structures, then go back to events and click the structure folder and change the name under the value table to whatever you like (if you haven’t already done it). Same goes for the events click it go to the property and value table and rename it. Go to the banks and click the folder and rename it. After that’s done go to the menu bar click file-save project as and rename your fdp file to whatever you’re working with. Save and click control+B, the build project will pop up and your renamed bank should be there and click the check box. The click build and rebuild and your done with fmod designer. 4. Back to the file directory click on modmain, all you need is the assets on the bottom rename the structureprefab to your fsb and fev files (it should be the same as your fdp). And that’s all you need for your modmain, no remaping or extra code just cut it and put it to you modmain in your mod. 5. Now go to scripts-prefabs and open up the prefab you’re working with, is it a armor? A structure? Or a weapon? Well open the one you need and there is your restaurant menu with few default sounds used commonly in those files. Its recommended to read the weaponprefab for one of the notes, otherwise notes have been added to tell more or less what it is. And that’s it for the most part. Basics and Tips for audacity: 1. Your play back options and a record option if you have a microphone (it’s not needed for this guide just letting you know) 2. Your play back level or volume, all you need to know is that you want to avoid getting high levels of volume indicated by the color system (green for acceptable, yellow for warning, and red for high feedback). So it’s recommended to stay in the green instead of blowing out your ears or more importantly other people's ears out at red. 3. A quick menu for cut, copy, paste, trim audio, silence audio, undo and redo. For trim audio your pretty much cutting off the highlighted part (refer to 7) of the sound file out and keeping only that highlighted part. For silence audio is to well silence the highlighted audio, pretty self-explanatory. 4. Your zoom in, zoom out, fit selection, fit project in window, play at speed and playback speed. Fit selection zooms in to the highlighted section (7), and fit in project in window pretty much zoom out to fit the entire sound file. 5. Raise the gain or volume of the sound file, scrolling to the left lowers the volume of the entire sound file and right does the opposite (again don’t blow up your ears). The R and L just shifts the volume to the left speaker and right speaker just like in your car radio settings. 6. It’s a quick play section in which the name speaks for itself. 7. The highlighted section is done by clicking and holding down right click on the wavelength to edit it by using the commands at 3, 4 and referenced at 8. Since you’ll be trying to match the numbers mentioned near the top the start and end of selection but you can change it by pressing the drop down arrow and using start and length of selection to save you some math work. The audio position isn’t too important just where the marker will start to play not much to say. 8. The start time and end time of the highlighted (7) wavelength by default. You can edit by clicking the number place (ones, tens, hundredths, etc.) and typing it in. The drop down gives a variety of options but for the most part start and length of selection will be your go to option. 9. This is a bit advanced for basic needs just match around 44100 hertz (if it isn’t there) to avoid some problems down the road. (I haven’t tried lower or higher that much but using default isn’t a bad idea). · Tip editing (8) the start time will affect the end time making it annoying if you’re trying to move up the wavelength · Pressing file-new is a good way to paste wavelengths that were copyed/cut but beware after constantly using file it’ll crash later down the road. · The quick play (6) will play automatically, just a head up. · Effect on the menu bar has a variety of options in modifying your sound file, the fade out is a option that can be used multiple times to make sounds gradually go to silence vs dead silence right away. Otherwise the other options are bit too advance for me to speak of. · When saving a edit metadata tags window will pop up for the most part it’s not very important and doesn’t require any options to be edited. Just a fancy way of organizing in short, press ok is all you need. · Rebuilding creates a fev file so if you're wondering where it is, you forgot to rebuild. If there’s any mistakes or steps I missed comment below and I’ll make the necessary changes. Changes to the thread may/will be made especially that DST is still developing and chances are more character sounds will be implemented.