thomas4846

  • Content Count

    583
  • Joined

  • Last visited

Community Reputation

771 Excellent

1 Follower

About thomas4846

  • Rank
    Senior Member
...

Recent Profile Visitors

1186 profile views
  1. A assortment of terrain assigned in a formation in a diamond shape but with equal distance between them. It has no purpose i believe but to look cute.
  2. local function NoUse (inst) inst:RemoveComponent("equippable") end inst.components.finiteuses:SetOnFinished(NoUse) maybe this then or if something goes wrong use local function onequip(inst, owner) if inst:HasTag("no_uses") then inst.components.equippable:Unequip(owner) end end inst.components.finiteuses:SetOnFinished(inst:AddTag("no_uses")) This is very basic sorry
  3. "Am i doing it right" what do you mean by this
  4. inst:ListenForEvent("onputininventory", function(inst, owner) inst:DoTaskInTime(0, function(inst, owner) if owner.components.inventory ~= nil and not owner:HasTag("The_Tag") then owner.components.inventory:DropItem(inst, true, true) if owner.components.talker then owner.components.talker:Say(GetActionFailString(owner, "PICKUP"))--I'm not sure about them not saying it ---inst.component.talker:Say("i can't pick that up") end end end, owner) end) -----And for the finite uses inst:AddComponent("finiteuses") inst.components.finiteuses:SetOnFinished(inst.Remove)
  5. well that poste was made in 2015 so there must be some code that would've been changed, i can only recommend looking at woodie code
  6. tbh that error is probably the most common thing you can hope to happen
  7. maybe alter the fn for the component and action for mining and change it so that you can do it if your unarmed also look into the beaver code another option is to create a new component to use the mine option
  8. I recommend going to either: https://discord.gg/XzRTzqu or https://discord.gg/eFqKspf ik i shouldn't promote but i think both are really good to learn from these. I would argue my coding skills doubled since joining
  9. Honestly i think you should put this on the modding thing as well since a lot of mods follow Mary sue and Gary Stu.
  10. inst:ListenForEvent("onputininventory", function(inst, owner) inst:DoTaskInTime(0, function(inst, owner) if owner.components.inventory ~= nil and not owner:HasTag("The_Tag") then owner.components.inventory:DropItem(inst, true, true) end end, owner) if owner.components.talker then owner.components.talker:Say(GetActionFailString(owner, "PICKUP")) end end) Go crazy, also this code is from zarklard. Also if this crashed message me
  11. you need to give more insight on the type of transformation what it's for and generally more information. For Transformations like Wolfgang it is simply the act of attaching new abilities and changing the build and e.c, If you are new to modding i recommend just not doing it as it's a lot of effort early on. especially if you want something like woodie