Search the Community

Showing results for tags 'stategraph'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Oxygen Not Included
    • [Oxygen Not Included] - Developer log
    • [Oxygen Not Included] - General Discussion
    • [Oxygen Not Included] - Suggestions and Feedback
    • [Oxygen Not Included] - Bug Tracker
    • [Oxygen Not Included] Art, Music & Lore
  • Hot Lava
    • [Hot Lava] - General Discussion
  • Don't Starve Together
    • [Don't Starve Together] Developer log
    • [Don't Starve Together] General Discussion
    • [Don't Starve Together] PS4
    • [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
    • [Don't Starve Together] Suggestions and Feedback
    • [Archived Bugs]
  • Don't Starve
    • Don't Starve FAQ
    • [Don't Starve: Pocket Edition] Android
    • [Don't Starve] General Discussion
    • [Don't Starve] Mods and tools
    • [Don't Starve] Art, Music & Lore
    • [Don't Starve] Suggestions and Feedback
    • [Don't Starve] Videos
    • [Don't Starve] Bug Tracker
    • [Don't Starve] Trading
    • [Don't Starve] Testing Discussion (archive)
  • Klei Entertainment Games
    • Eets Munchies
    • [Invisible, Inc.] General Discussion and Strategies
    • Mark of the Ninja
    • Shank
  • Other Stuff
    • The Off-Topic Area
    • Forum Upgrade

Categories

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

Categories

  • Oxygen Not Included - [Alpha]
  • Don't Starve Together
  • [Don't Starve Together] PS4
  • Don't Starve: Shipwrecked
  • Don't Starve: Shipwrecked [archive]
  • [Don't Starve Together] PS4 (archive)
  • [iOS] Don't Starve: Shipwrecked

Categories

  • Oxygen Not Included - [Alpha]
  • Don't Starve Together
  • [PS4] Don't Starve Together
  • Don't Starve: Shipwrecked

Categories

There are no results to display.


Found 1 result

  1. I'm trying to create a character that uses a build that doesn't share its prefab name. Normally, a character called "example" would default to using the anim file called "example.zip", unless instructed otherwise. I can't seem to convince it to use any build other than its own, however. I've read that the proper way to do this is to assign a new build using: inst.AnimState:SetBuild("differentbuild") however, it doesn't seem to work. The character defaults to the anim file with the same name, or simply becomes invisible if the anim with the same name is not provided. Here's the full prefab: local MakePlayerCharacter = require "prefabs/player_common" local assets = { Asset("ANIM", "anim/domo.zip"), Asset("ANIM", "anim/chanti.zip"), } local common_postinit = function(inst) end local master_postinit = function(inst) inst.AnimState:SetBuild("chanti") end return MakePlayerCharacter("domo", prefabs, assets, common_postinit, master_postinit) Both build files are standard character builds, compatible with the standard player stategraph. Can anyone fill me in on what I'm doing wrong, or anything I'm missing? Thank you so much!