DarkKingBoo

Registered Users
  • Content count

    186
  • Joined

  • Last visited

Everything posted by DarkKingBoo

  1. ~= means "not equal"
  2. Nightvision has to be run inside of common_postinit. local NIGHTVISION_COLOURCUBES = { day = "images/colour_cubes/ruins_light_cc.tex", dusk = "images/colour_cubes/ruins_dim_cc.tex", night = "images/colour_cubes/purple_moon_cc.tex", full_moon = "images/colour_cubes/purple_moon_cc.tex", } local function SetNightVision(inst, enable) --This should be obvious if TheWorld.state.isnight or TheWorld:HasTag("cave") then inst.components.playervision:ForceNightVision(true) inst.components.playervision:SetCustomCCTable(NIGHTVISION_COLOURCUBES) else inst.components.playervision:ForceNightVision(false) inst.components.playervision:SetCustomCCTable(nil) end end --In common_postinit inst:WatchWorldState( "isday", function() SetNightVision(inst) end) inst:WatchWorldState( "isdusk", function() SetNightVision(inst) end) inst:WatchWorldState( "isnight", function() SetNightVision(inst) end) inst:WatchWorldState( "iscaveday", function() SetNightVision(inst) end) inst:WatchWorldState( "iscavedusk", function() SetNightVision(inst) end) inst:WatchWorldState( "iscavenight", function() SetNightVision(inst) end) SetNightVision(inst) --This is here to make sure the NightVision is enabled when a player rejoins. This is the code I use in my mod. I'm sure theres a better way to WatchWorldState bit, but it'll work.
  3. Which is why hes the villain in DS.
  4. Change Voice

    Use ThePlayer instead of GetPlayer()
  5. For all we know, it could be a bug of the API. I'd say its worth contacting Fidooop about, and just because hes busy doesn't mean you shouldn't try to report a problem that you found/have with his mod, imo.
  6. Playable Pets has been on the workshop for awhile now but I figure why not make a thread about it here. Looking for Help Playable Pets is a mod that makes most mobs in the game into playable characters, it is basically a successor to the playable mobs mod made by Indie (I don't know his forum name...) sometime ago. The mod is configurable and has a couple of neat features as well. You can view/download all the mods here. You will also need this mod if you want to access the skins for the mobs. Features Configuration Options General Info: -to be worked on later- Notes: Major Bugs: ToDo: Special Thanks: -Lily, Amir, RocketSM, Capt. Kickass, and Kwitchler for playtesting the mod in the prereleased builds of the mod and convinced me to make it public. - @Fidooop for making modded skins API, making it possible. -Logzombie for making 95% of the skins in the mod. -Cheshire Crow for making a lot of the portraits in the mod. (His are the really good looking ones, mine are the bad ones). -The forums for bits of information that helped out when developing the mod (this is my first mod ever). -The many users of Playable Pets whose feedback helped improve the mod in many ways that I could not have done alone. -A certain crow for teaching me how to code and giving support. Other stuff that might be worth noting I GUESS: Steam Group (if you want announcement of major updates to the mod I guess?) Discord Group I have a server that runs the mods daily, information can be found on the steam group page. (Also it will be in the beta branch). The initial goal was to make all mobs fun/interesting for coop/pvp, which is still being worked on. So if you got any feedback/suggestions let me know.
  7. Playable Pets

    I don't know why I wasn't notified, but no. Right now its Steam only, it will be released outside of steam when the mod is finished.
  8. Contact the creator of the Modded Skins API, he is the one that will help you the most.
  9. TMI is broken, find the fixed version on the workshop or don't use it.
  10. Unfortunately, this was a dedicated server crash and I wasn't online when it happened, so I'm not sure on what exactly happened. A terrorbeak seemed to have crashed the server when using GetDistanceSqToInst on a wes player. Multiple people were wearing bone helmets. Log attached.
  11. need bigportrait help!

    Check your settings for the TexCreator tool (I assume you're using this). recommended is: Pixel Format - DXT5 Texture Type- 2D Mipmap Resize Filter- Default Also what version of Textools are you using? I actually had to use an older version of textools since the latest version wasn't converting the images with the settings I actually set for it.
  12. Tried cleaning our browser caches, no success. Hopefully its a bug that Klei will fix soon.
  13. Nope, although it stayed 1 second longer. I don't see how it can be a connection issue since we're doing this LAN tho.
  14. Something seems to be off, my sister and I put our codes in (she put in my black code, I put in her yellow code) and for a split second the 2nd side lights up and then dissappears again.
  15. Charlie's Sister [Spoilers]

    Then here you go. speech_winona.lua
  16. Charlie's Sister [Spoilers]

    Are we allowed to share her speech file? Because I've got a copy of it before it got removed. I'll share it here if its allowed.
  17. Oh wow thats actually pretty awesome! I can't wait to get it legitly. (I've should've dug into the files myself before posting the post above, my bad)
  18. The new armor gives you the shadow sheild effect when hit once(blocks 100% of the damage, but it still hurts durability), after the effect there will be a cooldown before it will block another attack. Whether or not its worth beating the Weaver for, dunno. It might be great for Maxwell users though. Heres a pic of what it looks like:
  19. Modded Skins Showcase

    If not, it should be a thing.
  20. Ban Destros09 for hatred against the majestic mandrakes
  21. Modded Skins (API)

    Not sure, I don't mess around with speech files, but if you know a line that sets your speechfile then sure it should work. Otherwise Idk.
  22. I do love the sound of new mobs/bosses. Seems like a fun stuff. also I do a bit of mob-related stuff so hopefully I can help at some point maybe...
  23. Modded Skins (API)

    Yes, use inst.CurrentModdedSkin to do this, just be noted its set to "none" on initilization (I think?) so you might have to do DoTaskInTime stuff calling a new function in masterpostinit. so like this: if inst.CurrentModdedSkin == "formal" then --stuff end
  24. "Full moon phases now start and stop properly in Lights Out mode." Hooray! This annoyed me and my friend for awhile now. I'm gonna enjoy this new mob...