Search the Community

Showing results for tags 'codding'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Hot Lava
    • [Hot Lava] - General Discussion
    • [Hot Lava] - Suggestions and Feedback
    • [Hot Lava] - Bug Tracker
    • [Hot Lava] - Strats and Records
    • [Hot Lava] - Developer Log
    • Hot Lava Latest Update
  • Griftlands
    • [Griftlands] - General Discussion
    • [Griftlands] - Suggestions and Feedback
    • [Griftlands] - Mods and Tools
    • [Griftlands] - Localization
    • [Griftlands] - Bug Tracker
    • [Griftlands] - Developer log
  • Oxygen Not Included
    • Oxygen Not Included FAQ
    • [Oxygen Not Included] - Developer log
    • [Oxygen Not Included] - General Discussion
    • [Oxygen Not Included] - Bug Tracker
    • [Oxygen Not Included: Spaced Out!] - Bug Tracker
    • [Oxygen Not Included] - Mods and Tools
    • [Oxygen Not Included] - Suggestions and Feedback
    • [Oxygen Not Included] Art, Music & Lore
    • Community Challenges
    • [Oxygen Not Included] - Latest Content Update
    • [Oxygen Not Included] - Latest Animated Short
    • Oxygen Not Included DLC Alpha
  • Don't Starve Together
    • Don't Starve Together FAQ
    • [Don't Starve Together] Developer log
    • [Don't Starve Together] General Discussion
    • [Don't Starve Together] Beta Branch
    • [Don't Starve Together] PS4
    • [Don't Starve Together] Xbox One
    • [Don't Starve Together] Bug Tracker
    • [Don't Starve Together] Trading
    • [Don't Starve Together] Server Bulletin
    • [Don't Starve Together] Dedicated Server Discussion
    • [Don't Starve Together] Mods and Tools
    • [Don't Starve Together] Tales of Life and Death
    • [DS + DST] Art, Music and Lore
    • [Don't Starve Together] Suggestions and Feedback
    • [Don't Starve Together] The Forge
    • [Don't Starve Together] The Gorge
    • [Archived Bugs]
  • Don't Starve
  • Klei Entertainment Games
  • Other Stuff

Categories

  • Don't Starve
    • Custom Character and Skins
    • Game Modifications
    • Language Packs
    • Modding Tools, Tutorials & Examples
    • Custom Maps

Categories

  • Oxygen Not Included
  • Oxygen Not Included: Spaced Out! (Early Access)
  • Griftlands
  • Don't Starve: Hamlet
  • Don't Starve: Hamlet Early Access
  • Don't Starve Together
  • Don't Starve Together: Beta Branch
  • Don't Starve Together: Return of Them
  • Don't Starve Together: The Gorge
  • Don't Starve Together: The Forge
  • Don't Starve Together: The Forge (Archive)
  • [Don't Starve Together] PS4
  • [Don't Starve Together] Xbox One
  • Don't Starve: Shipwrecked
  • Don't Starve: Shipwrecked [archive]
  • [Don't Starve Together] PS4 (archive)
  • [iOS] Don't Starve: Shipwrecked
  • Don't Starve: Hamlet Closed Beta (ARCHIVE)

Categories

  • Oxygen Not Included
  • Oxygen Not Included: Spaced Out! (Early Access)
  • Griftlands
  • Hot Lava
  • Don't Starve Together
  • [PS4] Don't Starve Together
  • [Xbox One] Don't Starve Together
  • Don't Starve: Hamlet
  • Don't Starve: Shipwrecked

Categories

  • Hot Lava - Bug Reports

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End



Biography


Location


Interests


Occupation


Favorite Game


Modder


Chester Kickstarter


Chester Kickstarter


Chester Kickstarter


Chester Kickstarter


Chester Kickstarter


Klei Featured Artist


Early Supporter


Early Supporter


Don't Starve


Don't Starve Together

Found 2 results

  1. hello, i would like some help with coding a character for a friend i need help coding in sanity gain around other players and custom players/characters without crashing the game as well as giving people sanity a little wen they are near them as well, i have attempted this before but it just crashed the game wen another player walks near. any coding help is appreciated and i would really like help with this. also here's an image of what made it crash.
  2. I've been working on this for a while. I'm giving up now. I think it will be better for me to get help. I'm making a weapon mod. I cannot add the sound file. This is my prefab. local assets= { Asset("ANIM", "anim/excalibur.zip"), Asset("ANIM", "anim/swap_excalibur.zip"), Asset("ATLAS", "images/inventoryimages/excalibur.xml"), Asset("IMAGE", "images/inventoryimages/excalibur.tex"), Asset("SOUNDPACKAGE", "sound/excalibur_sound.fev"), Asset("SOUND", "sound/excalibur_sound.fsb"), } local function IsValidVictim(victim) return victim ~= nil and not (victim:HasTag("sword") or victim:HasTag("kill") or victim:HasTag("king")) and victim.components.health ~= nil and victim.components.combat ~= nil end local function OnAttack(inst) inst.SoundEmitter:PlaySound("excalibur_sounds/sound/excalibur_attack") end local function OnTool(inst) inst.SoundEmitter:PlaySound("excalibur_sounds/sound/excalibur_tool") end local function onattack(attacker, target) if not target:IsValid() then return end if target.components.combat ~= nil then target.components.combat:SuggestTarget(attacker) end if target.components.sleeper ~= nil and target.components.sleeper:IsAsleep() then target.components.sleeper:WakeUp() end end local function fn() local function OnEquip(inst, owner) owner.AnimState:OverrideSymbol("swap_object", "swap_excalibur", "excalibur") owner.AnimState:Show("ARM_carry") owner.AnimState:Hide("ARM_normal") inst.SoundEmitter:PlaySound("excalibur_sounds/sound/excalibur_equip") end local function OnUnequip(inst, owner) owner.AnimState:Hide("ARM_carry") owner.AnimState:Show("ARM_normal") inst.SoundEmitter:PlaySound("excalibur_sounds/sound/excalibur_unequip") end local inst = CreateEntity() local trans = inst.entity:AddTransform() local anim = inst.entity:AddAnimState() local sound = inst.entity:AddSoundEmitter() inst.entity:AddTransform() inst.entity:AddAnimState() inst.entity:AddNetwork() inst.entity:SetPristine() MakeInventoryPhysics(inst) MakeHauntableLaunch(inst) anim:SetBank("excalibur") anim:SetBuild("excalibur") anim:PlayAnimation("idle") if not TheWorld.ismastersim then return inst end inst:AddComponent("weapon") inst.components.weapon:SetOnAttack(onattack) inst.components.weapon:SetDamage(50) inst.components.weapon.onattack = OnAttack inst:AddComponent("tool") inst.components.tool:SetAction(ACTIONS.CHOP) inst:AddComponent("finiteuses") inst.components.finiteuses:SetMaxUses(250) inst.components.finiteuses:SetUses(250) inst.components.finiteuses:SetOnFinished(inst.Remove) inst:AddComponent("inspectable") inst:AddComponent("lootdropper") inst:AddComponent("tradable") inst:AddComponent("equippable") inst.components.equippable:SetOnEquip( OnEquip ) inst.components.equippable:SetOnUnequip( OnUnequip ) inst:AddComponent("inventoryitem") inst.components.inventoryitem.imagename = "excalibur" inst.components.inventoryitem.atlasname = "images/inventoryimages/excalibur.xml" inst:ListenForEvent("equip", function(inst, data) onequip(inst, data) end) inst:ListenForEvent("unequip", function(inst, data) onunequip(inst, data) end) return inst end return Prefab("common/inventory/excalibur", fn, assets, prefabs) What am I doing wrong?