-
Content Count
123 -
Joined
-
Last visited
Community Reputation
22 ExcellentAbout TheBigDeal
-
Rank
Member
Recent Profile Visitors
-
Hello! It has been a while since I have worked on modding, so i'm pretty rusty. (Not that i was good to begin with) I'm looking to replicate something similar to Wortox's teleport ability but without the use of souls/blinkstaff without an item, i have gotten it to work with the use of souls but it seems to me the only other bit I need to change is the blink action itself. ACTIONS.BLINK.strfn = function(act) return act.invobject == nil and act.doer ~= nil and act.doer:HasTag("soulstealer") and "SOUL" or nil end ACTIONS.BLINK.fn = function(act) local act_pos = act:GetActionPoint() if act.invobject ~= nil then if act.invobject.components.blinkstaff ~= nil then return act.invobject.components.blinkstaff:Blink(act_pos, act.doer) end elseif act.doer ~= nil and act.doer.sg ~= nil and act.doer.sg.currentstate.name == "portal_jumpin_pre" and act_pos ~= nil and act.doer.components.inventory ~= nil and act.doer.components.inventory:Has("wortox_soul", 1) then act.doer.components.inventory:ConsumeByName("wortox_soul", 1) act.doer.sg:GoToState("portal_jumpin", act_pos) return true end end I'm going to need a new tag and remove the "and "SOUL" or nil" bit, but then if someone plays wortox that will mess them up i assume. Basically the question is, how can I make a new one of these actions without hindering other characters, i assume I shouldnt touch the actions.lua file at all, and if that is the case how would I do that in my character file? Bonus questions: How can i make custom localization so it does not say Soul hop, and make it say something else? Is it possible to change the key bind wrong right clicking to another key? I currently have it possible to use a keyhandler, but i'm not sure how to pass in anything other than right click local function GetPointSpecialActions(inst, pos, useitem, right) if right and useitem == nil then local rider = inst.replica.rider if rider == nil or not rider:IsRiding() then return { ACTIONS.BLINK } end end return {} end the "right" is there, but trying to change it to a key value like 122 will not read correctly like I have for other things. Thanks in advance!
-
Text in different fonts?
TheBigDeal replied to TheBigDeal's topic in [Don't Starve Together] Mods and Tools
So there is no way to add wingdings? -
Hey, I was wondering if it is at all possible to get the words that characters speak in, to be different fonts? The font I am exactly talking about is Wingdings: I understand if this is completely impossible, expecting that, but I just wanted to check if it is at all possible. Thanks!
-
Upgrade like system.
TheBigDeal replied to TheBigDeal's topic in [Don't Starve Together] Mods and Tools
Yeah! that worked fine actually, now to fix every single item, I think that covers pretty much everything but dropping a prefab for determination. -
Upgrade like system.
TheBigDeal replied to TheBigDeal's topic in [Don't Starve Together] Mods and Tools
Ok, and yeah the pitchfork is only there because that's where i started the trident, and then i made everything else from the trident, so it sorta expanded to all the other items also. So i took, for an example the spears anim.bin ANIM idle97G ðA åÐ@¾?€Â°²ÏBF†‹C º6]Ž ¢©o €? €?Ñ"#À33†B ÀåÐ@¾?€Â°²ÏBF†‹C º6]Ž ¢©o €? €?Ñ"#À33†B ÀåÐ@¾?€Â°²ÏBF†‹C º6]Ž ¢©o €? €?Ñ"#À33†B ÀåÐ@¾?€Â°²ÏBF†‹C º6]Ž ¢©o €? €?Ñ"#À33†B ÀåÐ@¾?€Â°²ÏBF†‹C º6]Ž ¢©o €? €?Ñ"#À33†B ÀåÐ@¾?€Â°²ÏBF†‹C º6]Ž ¢©o €? €?Ñ"#À33†B À 97G spearº6]Ž spear01¢©o Layer 1 Literally just copied and pasted, at the end it has spear, which is what i was trying to say, this is just a normal spear. I looked into a couple others and they also have the same thing. I'll replace the anim.bin's and see but idk, still says spear in it. Tried it, same thing -
Upgrade like system.
TheBigDeal replied to TheBigDeal's topic in [Don't Starve Together] Mods and Tools
in the anim, at the end it has pitchfork in it. -
Upgrade like system.
TheBigDeal replied to TheBigDeal's topic in [Don't Starve Together] Mods and Tools
Oh yeah, well then all the others have anim files... maybe because they aren't named or something. Yeah just checked, they all say pitchfork lol, so same question stands I guess. -
Upgrade like system.
TheBigDeal replied to TheBigDeal's topic in [Don't Starve Together] Mods and Tools
Alright, yeah for some reason my swap files didn't have them, but i see that they have the swap_itemname, do i need a special tool like the build renamer for that, or just rename it manually? -
Upgrade like system.
TheBigDeal replied to TheBigDeal's topic in [Don't Starve Together] Mods and Tools
Oh, and idk if you saw before, but for some reason none of the items appear while on the ground which is a problem.... Also whenever i use a custom item i made in a crafting recipe the icon will not show up. -
Upgrade like system.
TheBigDeal replied to TheBigDeal's topic in [Don't Starve Together] Mods and Tools
Yeah the firefly idea seems good, as well as emitting light is also a good idea. I'll also look into spriter later then, it'd only be like 2 frames, just rotating, it'll resemble this: I'll start to make it now. Shouldn't take long Also here is Asgore.lua, should have also said, it seems to happen when I attack a non-hostile mob, for example a beefalo. So that works fine now, but now Determination isn't working. client_log.txt -
Upgrade like system.
TheBigDeal replied to TheBigDeal's topic in [Don't Starve Together] Mods and Tools
Yeah the firefly idea seems good, as well as emitting light is also a good idea. I'll also look into spriter later then, it'd only be like 2 frames, just rotating, it'll resemble this: I'll start to make it now. Shouldn't take long Also here is Asgore.lua, should have also said, it seems to happen when I attack a non-hostile mob, for example a beefalo. asgore.lua -
Upgrade like system.
TheBigDeal replied to TheBigDeal's topic in [Don't Starve Together] Mods and Tools
Alright, I'm getting an error with Justice actually after testing. [00:07:16]: [string "../mods/Asgore/scripts/prefabs/asgore.lua"]:58: variable 'OnAttack' is not declared LUA ERROR stack traceback: =[C]:-1 in (global) error (C) <-1--1> scripts/strict.lua:23 in () ? (Lua) <21-26> t = table: 1F4A6820 n = OnAttack ../mods/Asgore/scripts/prefabs/asgore.lua:58 in (local) fn (Lua) <48-76> client_log.txt Also, I was about to start making the marker but I was just thinking and thought of some potential problems. Firstly, would it be possible for it to show on the map? Secondly, What resolution should it be, since i wouldn't be replacing a weapon or anything. Thirdly, How would i add an animation to this object Lastly, How would I get it to deploy when eaten and remove the last marker if it is being overridden. -
Upgrade like system.
TheBigDeal replied to TheBigDeal's topic in [Don't Starve Together] Mods and Tools
It gave that that variable 'target' is not declared, in onHit. Justice works fine though -
Upgrade like system.
TheBigDeal replied to TheBigDeal's topic in [Don't Starve Together] Mods and Tools
Yeah, I agree but i'm not sure because the revenge soul is supposed to be the rarest and most powerful, and it's all about killing things alot so I'm not sure, the reflected idea isnt bad, but i'm not sure what else there can be. If anything the reflected damage isn't a bad idea at all so maybe just use that for now, and once i release the mod maybe some ideas will come up then, but I still need to make 2 more items after these and finish the sprite, and with the 2 item's one is fire magic and i have no idea where to go with that really since it isn't exactly an object the character is holding but just... fire. -
Upgrade like system.
TheBigDeal replied to TheBigDeal's topic in [Don't Starve Together] Mods and Tools
In revenge i mean a projectile, and when you eat a second one it would probably deal more damage. up to a stack of maybe 4 souls. After 4 souls it can just replenish Health maybe.