QuickShot010 Posted October 8, 2014 Author Share Posted October 8, 2014 Hija! My turn! did you try to remove that "." after "1"? Dunno, it just bugs me. regarding the multiple art: yes ofc, by playing different animations it should be easily do-able. That means making more animations (builds should work too, but are probably more complicated)... I would stop right there, I don't like spriter at all.The coding part is very easy:make a table array with all animation names, like so:local names = { "rock1", "rock2",}and pick a random one:--local function fn()inst.animname = names[math.random(#names)]inst.AnimState:PlayAnimation(inst.animname)and if you want to keep them look the same in different sessions:local function onsave(inst, data) data.anim = inst.animnameendlocal function onload(inst, data) if data and data.anim then inst.animname = data.anim inst.AnimState:PlayAnimation(inst.animname) endend--local function fn() --------SaveLoad inst.OnSave = onsave inst.OnLoad = onload Just unpack some anims with krane, flowers are one example of that, there are some others to.That line for collisions is good.Art is nice.You can just put everything in one anim file and just change anims later depending on some conditions you want, 1 build but lot of anims in it. Okay guys,I want the cave paintings to be only craftable by Drok.I think this code will achieve that but i can still craft it as Wilson. inst:AddComponent("characterspecific") inst.components.characterspecific:SetOwner("drok")Any ideas guys? Thanks Link to comment Share on other sites More sharing options...
_Q_ Posted October 8, 2014 Share Posted October 8, 2014 Okay guys,I want the cave paintings to be only craftable by Drok.I think this code will achieve that but i can still craft it as Wilson. inst:AddComponent("characterspecific") inst.components.characterspecific:SetOwner("drok")Any ideas guys? Thanks I never did anything character specific:DTry to do something like in wickerbottom prefab file maybe. Link to comment Share on other sites More sharing options...
QuickShot010 Posted October 8, 2014 Author Share Posted October 8, 2014 I never did anything character specific:DTry to do something like in wickerbottom prefab file maybe. Yes, i borrowed the code from the books prefab. That is the only thing i can find about it being character specific, I looked a bit further and found out that the book recipes are inside the wickerbottom prefab file. So i tried to do it with Drok, move the recipes to the drok prefab file but i get an CTD.Here is my log file, maybe you can figure it out?Starting upDon't Starve: 110570 WIN32_STEAMBuild Date: 2014-09-11_10-12-49THREAD - started 'GAClient' (5148)HttpClient::ClientThread::Main()cGame::InitializeOnMainThreadWindowManager::InitializeWindowManager::SetFullscreen(0, 1920, 1080, 60)GLInfo~~~~~~GL_VENDOR: Google Inc.GL_RENDERER: ANGLE (NVIDIA GeForce GTX 660)GL_VERSION: OpenGL ES 2.0 (ANGLE 1.0.0.2249)GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL ES 1.00 (ANGLE 1.0.0.2249)OpenGL extensions (19, 19):GL_ANGLE_depth_textureGL_ANGLE_framebuffer_blitGL_ANGLE_framebuffer_multisampleGL_ANGLE_instanced_arraysGL_ANGLE_pack_reverse_row_orderGL_ANGLE_texture_compression_dxt3GL_ANGLE_texture_compression_dxt5GL_ANGLE_texture_usageGL_ANGLE_translated_shader_sourceGL_EXT_read_format_bgraGL_EXT_robustnessGL_EXT_texture_compression_dxt1GL_EXT_texture_format_BGRA8888GL_EXT_texture_storageGL_OES_get_program_binaryGL_OES_packed_depth_stencilGL_OES_rgb8_rgba8GL_OES_standard_derivativesGL_OES_texture_npotTHREAD - started 'WindowsInputManager' (6100)GL_MAX_TEXTURE_SIZE = 16384GL_MAX_TEXTURE_IMAGE_UNITS = 16GL_MAX_RENDERBUFFER_SIZE = 16384GL_MAX_VIEWPORT_DIMS = 16384, 16384GL_MAX_VARYING_VECTORS = 10GL_MAX_VERTEX_ATTRIBS = 16GL_MAX_VERTEX_UNIFORM_VECTORS = 254GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 4GL_MAX_FRAGMENT_UNIFORM_VECTORS = 2214 compressed texture formatstexture format 0x83f0texture format 0x83f1texture format 0x83f2texture format 0x83f3cDontStarveGame::DoGameSpecificInitialize()cGame::StartPlayingLOADING LUADoLuaFile scripts/main.luaDoLuaFile loading buffer scripts/main.luascripts/main.lua(161,1) running main.lua scripts/modindex.lua(311,1) loaded modindex scripts/modindex.lua(75,1) ModIndex: Beginning normal load sequence. scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_InfiniteClothes scripts/mods.lua(152,1) Loading mod: InfiniteClothes scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_n_tools scripts/mods.lua(152,1) Loading mod: n_tools (N Tools) (Old API! (mod: 4 game: 6) ) scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_Where's My Beefalo scripts/mods.lua(152,1) Loading mod: Where's My Beefalo (Where's My Beefalo?) (Old API! (mod: 5 game: 6) ) scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_workshop-174345915 scripts/mods.lua(152,1) Loading mod: workshop-174345915 (Craftable Gears) scripts/mods.lua(179,1) Mod: InfiniteClothes Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: InfiniteClothes Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: InfiniteClothes Loading modmain.lua scripts/mods.lua(179,1) Mod: Where's My Beefalo (Where's My Beefalo?) Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: Where's My Beefalo (Where's My Beefalo?) Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: Where's My Beefalo (Where's My Beefalo?) Loading modmain.lua scripts/mods.lua(179,1) Mod: n_tools (N Tools) Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: n_tools (N Tools) Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: n_tools (N Tools) Loading modmain.lua scripts/mods.lua(179,1) Mod: workshop-174345915 (Craftable Gears) Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: workshop-174345915 (Craftable Gears) Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: workshop-174345915 (Craftable Gears) Loading modmain.lua LOADING LUA SUCCESSscripts/playerdeaths.lua(79,1) PlayerDeaths loaded morgue 446 scripts/playerprofile.lua(477,1) loaded profile scripts/playerprofile.lua(541,1) bloom_enabled true scripts/saveindex.lua(99,1) loaded saveindex scripts/gamelogic.lua(1162,1) OnFilesLoaded() scripts/gamelogic.lua(1151,1) OnUpdatePurchaseStateComplete scripts/gamelogic.lua(118,1) Unload BE Could not unload undefined prefab 0x4374c56c (yellowstaff)Could not unload undefined prefab 0x303bfdce (axe)Could not unload undefined prefab 0x94cf6c04 (goldenpickaxe)Could not unload undefined prefab 0x8cc766ef (pumpkin_lantern)Could not unload undefined prefab 0xfdcabd86 (earmuffshat)Could not unload undefined prefab 0x9a6718eb (resurrectionstatue)Could not unload undefined prefab 0x6b0c64bf (resurrectionstatue_placer)Could not unload undefined prefab 0xdfb37276 (telestaff)Could not unload undefined prefab 0xaf34ecc0 (trunkvest_winter)Could not unload undefined prefab 0x875750ea (turf_road)Could not unload undefined prefab 0xcd7669e5 (nightsword)Could not unload undefined prefab 0x3f6c9ebb (diviningrod)Could not unload undefined prefab 0xefa57cea (bandage)Could not unload undefined prefab 0xde4bc7e7 (wall_hay_item)Could not unload undefined prefab 0xe51acd32 (lightning_rod)Could not unload undefined prefab 0x947bfcb8 (lightning_rod_placer)Could not unload undefined prefab 0xb1fa364d (pickaxe)Could not unload undefined prefab 0x34fb4f82 (pitchfork)Could not unload undefined prefab 0xdf809124 (gears)Could not unload undefined prefab 0x3f5176c5 (firepit)Could not unload undefined prefab 0x8a462465 (firepit_placer)Could not unload undefined prefab 0x62a5e7fe (nightlight)Could not unload undefined prefab 0x185806ec (nightlight_placer)Could not unload undefined prefab 0x3d4d1dc6 (bedroll_straw)Could not unload undefined prefab 0xadfdb7ae (armor_sanity)Could not unload undefined prefab 0xdf13a0c1 (ruins_bat)Could not unload undefined prefab 0x76d26529 (bugnet)Could not unload undefined prefab 0x5ce426c4 (blowdart_fire)Could not unload undefined prefab 0x1541c9cc (armorruins)Could not unload undefined prefab 0xe16c07d0 (ruinshat)Could not unload undefined prefab 0xe5936c6a (firestaff)Could not unload undefined prefab 0x1c48b877 (campfire)Could not unload undefined prefab 0xdfe3a33 (campfire_placer)Could not unload undefined prefab 0x89c20b1b (telebase)Could not unload undefined prefab 0x868a468f (telebase_placer)Could not unload undefined prefab 0x4740cff7 (tent)Could not unload undefined prefab 0xb4d742b3 (tent_placer)Could not unload undefined prefab 0x10473739 (spear)Could not unload undefined prefab 0x36768a92 (orangestaff)Could not unload undefined prefab 0x8d44bbad (cookpot)Could not unload undefined prefab 0x30d2f57d (cookpot_placer)Could not unload undefined prefab 0xa1e54a85 (goldenaxe)Could not unload undefined prefab 0x68ba7100 (researchlab2)Could not unload undefined prefab 0x3386a16a (researchlab2_placer)Could not unload undefined prefab 0xdac7fbf5 (birdcage)Could not unload undefined prefab 0xe1f9b335 (birdcage_placer)Could not unload undefined prefab 0xe6af29d2 (compass)Could not unload undefined prefab 0x2ca456a0 (orangeamulet)Could not unload undefined prefab 0xcf1626 (rabbithouse)Could not unload undefined prefab 0x1aa31ec4 (rabbithouse_placer)Could not unload undefined prefab 0xe474f23c (armormarble)Could not unload undefined prefab 0x3ccdbe75 (icestaff)Could not unload undefined prefab 0x68ba7101 (researchlab3)Could not unload undefined prefab 0xd6985329 (researchlab3_placer)Could not unload undefined prefab 0xe87e06c0 (icebox)Could not unload undefined prefab 0xf2bd1baa (icebox_placer)Could not unload undefined prefab 0x19c004b2 (pighouse)Could not unload undefined prefab 0x469fe538 (pighouse_placer)Could not unload undefined prefab 0xca16846d (boards)Could not unload undefined prefab 0xa8b25abc (wall_ruins_item)Could not unload undefined prefab 0x21bf03b1 (thulecite)Could not unload undefined prefab 0xfa14dec6 (birdtrap)Could not unload undefined prefab 0x68370bd6 (trap_teeth)Could not unload undefined prefab 0x7c11af2 (treasurechest)Could not unload undefined prefab 0xd411bef8 (treasurechest_placer)Could not unload undefined prefab 0xef21c9f2 (rope)Could not unload undefined prefab 0x539e9e8a (trunkvest_summer)Could not unload undefined prefab 0x2e54b535 (cane)Could not unload undefined prefab 0xb981ecda (fast_farmplot)Could not unload undefined prefab 0x2639673 (farmplot_placer)Could not unload undefined prefab 0xf4eb0943 (shovel)Could not unload undefined prefab 0xbcfca634 (strawhat)Could not unload undefined prefab 0xe2bfa46 (tophat)Could not unload undefined prefab 0xcda99af6 (winterhat)Could not unload undefined prefab 0x761a1799 (gunpowder)Could not unload undefined prefab 0x1cd9e60e (razor)Could not unload undefined prefab 0xbea16a01 (hambat)Could not unload undefined prefab 0x2e264dbc (blowdart_pipe)Could not unload undefined prefab 0xec43b9f4 (sewing_kit)Could not unload undefined prefab 0x46094f1b (beefalohat)Could not unload undefined prefab 0x9a99c7b7 (armorgrass)Could not unload undefined prefab 0x4d9a964d (trap)Could not unload undefined prefab 0xd8067599 (beehat)Could not unload undefined prefab 0xda17c8e8 (armorslurper)Could not unload undefined prefab 0x47611d71 (sweatervest)Could not unload undefined prefab 0x85181f7c (minerhat)Could not unload undefined prefab 0x15220700 (backpack)Could not unload undefined prefab 0x8bbc7f55 (beemine)Could not unload undefined prefab 0xe8f381a1 (turf_checkerfloor)Could not unload undefined prefab 0xd5201c09 (beebox)Could not unload undefined prefab 0x753b7621 (beebox_placer)Could not unload undefined prefab 0xb918c5fd (fishingrod)Could not unload undefined prefab 0x86860bc2 (boomerang)Could not unload undefined prefab 0x80cb1e18 (featherhat)Could not unload undefined prefab 0x5a59f5cc (goldenshovel)Could not unload undefined prefab 0xfb180669 (blowdart_sleep)Could not unload undefined prefab 0xc4101586 (hammer)Could not unload undefined prefab 0x4685284 (umbrella)Could not unload undefined prefab 0xda1f7edf (winterometer)Could not unload undefined prefab 0x955229cb (winterometer_placer)Could not unload undefined prefab 0x111db7ae (footballhat)Could not unload undefined prefab 0x9d92cce (purpleamulet)Could not unload undefined prefab 0x3949a42 (meatrack)Could not unload undefined prefab 0x56340ba8 (meatrack_placer)Could not unload undefined prefab 0xbc429ef3 (bushhat)Could not unload undefined prefab 0x22ec3802 (wall_stone_item)Could not unload undefined prefab 0xfbaefa0e (rainometer)Could not unload undefined prefab 0xeea990dc (rainometer_placer)Could not unload undefined prefab 0x41ba89b5 (nightmarefuel)Could not unload undefined prefab 0x3cb06493 (healingsalve)Could not unload undefined prefab 0x75370b6 (papyrus)Could not unload undefined prefab 0x37c31aa6 (lantern)Could not unload undefined prefab 0xcceee6c3 (cutstone)Could not unload undefined prefab 0x7fcb037d (greenstaff)Could not unload undefined prefab 0x3edae42e (multitool_axe_pickaxe)Could not unload undefined prefab 0x7f2d088c (armorwood)Could not unload undefined prefab 0xc3bf310c (blueamulet)Could not unload undefined prefab 0x739fbe3c (homesign)Could not unload undefined prefab 0x33fdbd2e (homesign_placer)Could not unload undefined prefab 0x7f46d7c0 (batbat)Could not unload undefined prefab 0x378bda50 (wall_wood_item)Could not unload undefined prefab 0x3c935451 (eyeturret_item)Could not unload undefined prefab 0xb6201ac9 (onemanband)Could not unload undefined prefab 0xf0330963 (panflute)Could not unload undefined prefab 0x6f21e747 (piggyback)Could not unload undefined prefab 0x1daa5ab7 (turf_carpetfloor)Could not unload undefined prefab 0xcba65752 (amulet)Could not unload undefined prefab 0x38967bb2 (researchlab)Could not unload undefined prefab 0x77e9ae38 (researchlab_placer)Could not unload undefined prefab 0xcad92460 (flowerhat)Could not unload undefined prefab 0xb1591875 (greenamulet)Could not unload undefined prefab 0x1153dbb9 (pottedfern)Could not unload undefined prefab 0xf2102a71 (pottedfern_placer)Could not unload undefined prefab 0x68ba7102 (researchlab4)Could not unload undefined prefab 0x79aa04e8 (researchlab4_placer)Could not unload undefined prefab 0x263bc4d5 (slow_farmplot)Could not unload undefined prefab 0x2639673 (farmplot_placer)Could not unload undefined prefab 0xe5071541 (nightmare_timepiece)Could not unload undefined prefab 0x2c158f7c (torch)Could not unload undefined prefab 0x2ae7e3b3 (purplegem)Could not unload undefined prefab 0x265d1455 (turf_woodfloor)Could not unload undefined prefab 0xf8e41fa9 (bedroll_furry)Could not unload undefined prefab 0xdb20fa95 (heatrock)Could not unload undefined prefab 0x9a0ed246 (yellowamulet)Could not unload undefined prefab 0x33ab6997 (hud)Could not unload undefined prefab 0x3364203d (forest)Could not unload undefined prefab 0x2e5cb72d (cave)Could not unload undefined prefab 0x40b82ff2 (maxwell)Could not unload undefined prefab 0xbddda476 (fire)Could not unload undefined prefab 0x1078732c (character_fire)Could not unload undefined prefab 0x427b5b39 (shatter)scripts/gamelogic.lua(123,1) Unload BE done HttpClientWriteCallback (0x05F65EC7, 1, 16, 0x0614FBB4)HttpClientWriteCallback READ 16 (16 total)scripts/mods.lua(269,1) Mod: InfiniteClothes Registering prefabs scripts/mods.lua(275,1) Mod: InfiniteClothes Registering prefab file: prefabs/hats scripts/mods.lua(279,1) Mod: InfiniteClothes strawhat scripts/mods.lua(279,1) Mod: InfiniteClothes tophat scripts/mods.lua(279,1) Mod: InfiniteClothes beefalohat scripts/mods.lua(279,1) Mod: InfiniteClothes featherhat scripts/mods.lua(279,1) Mod: InfiniteClothes beehat scripts/mods.lua(279,1) Mod: InfiniteClothes minerhat scripts/mods.lua(279,1) Mod: InfiniteClothes spiderhat scripts/mods.lua(279,1) Mod: InfiniteClothes footballhat scripts/mods.lua(279,1) Mod: InfiniteClothes earmuffshat scripts/mods.lua(279,1) Mod: InfiniteClothes winterhat scripts/mods.lua(279,1) Mod: InfiniteClothes bushhat scripts/mods.lua(279,1) Mod: InfiniteClothes flowerhat scripts/mods.lua(279,1) Mod: InfiniteClothes walrushat scripts/mods.lua(279,1) Mod: InfiniteClothes slurtlehat scripts/mods.lua(279,1) Mod: InfiniteClothes ruinshat scripts/mods.lua(275,1) Mod: InfiniteClothes Registering prefab file: prefabs/sweatervest scripts/mods.lua(279,1) Mod: InfiniteClothes sweatervest scripts/mods.lua(275,1) Mod: InfiniteClothes Registering prefab file: prefabs/trunkvest scripts/mods.lua(279,1) Mod: InfiniteClothes trunkvest_summer scripts/mods.lua(279,1) Mod: InfiniteClothes trunkvest_winter scripts/mods.lua(292,1) Mod: InfiniteClothes Registering default mod prefab scripts/mods.lua(269,1) Mod: Where's My Beefalo (Where's My Beefalo?) Registering prefabs scripts/mods.lua(292,1) Mod: Where's My Beefalo (Where's My Beefalo?) Registering default mod prefab scripts/mods.lua(269,1) Mod: n_tools (N Tools) Registering prefabs scripts/mods.lua(292,1) Mod: n_tools (N Tools) Registering default mod prefab scripts/mods.lua(269,1) Mod: workshop-174345915 (Craftable Gears) Registering prefabs scripts/mods.lua(292,1) Mod: workshop-174345915 (Craftable Gears) Registering default mod prefab scripts/gamelogic.lua(133,1) Load FE scripts/gamelogic.lua(135,1) Load FE: done scripts/screens/mainscreen.lua(575,1) platform_motd table: 0EBD3310 SimLuaProxy::QueryServer()scripts/modindex.lua(85,1) ModIndex: Load sequence finished successfully. Reset() returningQueryServerComplete no callbackHttpClientWriteCallback (0x05F65EC7, 1, 16, 0x0614FBB4)HttpClientWriteCallback READ 16 (16 total)QueryServerComplete no callbackHttpClientWriteCallback (0x05F65E24, 1, 999, 0x0614FBB4)HttpClientWriteCallback READ 999 (999 total)scripts/screens/mainscreen.lua(575,1) platform_motd table: 0EBD3A18 QueryStats: { "req":"modrank", "field":"Session.Loads.Mods.list", "fieldop":"unwind", "linkpref":"external", "limit": 20}GetCachedUGCCount 0EnumerateUserSubscribedFiles(0)OnEnumerateUserSubscribedFilesResult EResult 1, results 3/3Enum complete. Found 3 mods.DeleteUnsubscribedFiles [../mods]FindDirectoriesMatching [../mods/workshop-*]GetPublishedFileDetails(0)Getting mod details...HttpClientWriteCallback (0x05F65EC9, 1, 2383, 0x0614FBB4)HttpClientWriteCallback READ 2383 (2383 total)OnPublishedFileDetailsResult EResult 1, 174345915 245850, 219740, [Craftable Gears], [A simple mod that makes a big difference! Craftable Gears will enhance your Don't Starve experience, but is better suited to less experienced players.Non-Steam download (for Standalone users): 778307366501961690, 921272559330450588, 76561198078423852, 1377908704, 1401066279, 0, 0, [utility,tweak], 158, [mod_publish_data_file.zip], 5648, 60496, [], 0GetPublishedFileDetails(1)Getting mod details...OnPublishedFileDetailsResult EResult 1, 248047614 245850, 219740, [Porta-Grill], [Porta-Grill is compatible with RoG-The Porta-Grill is a portable grill.-The Porta-Grill is fueled with wood,charcoal etc.-The Porta-Grill has an on\off switch to help save fuel.-The Porta-Grill has a small amount of light when switched on.-The Porta-Grill must be switched on in order to cook!-The Porta-Grill only shows fuel level when in your inventory.-The Porta-Grill has a small amount of heat when switched on.-Craftable under the FOOD TAB-Recipe = 1 Heatrock,4 Charcoal and 1 Hammer.Have fun, comments and suggestions are welcome.], 486701738724992747, 486696207832842650, 76561197989646930, 1397241945, 1403404990, 0, 0, [item,environment,tweak,Scenario,Other,Reign of Giants Compatible], 158, [mod_publish_data_file.zip], 24394, 24231, [], 0GetPublishedFileDetails(2)Getting mod details...OnPublishedFileDetailsResult EResult 1, 249713554 245850, 219740, [BackPackPlus], [BackPackPlus is remake of BackPack Slot mod. Original mod have some troubles, so i decided to make this.Its adds backpack slot to inventory in bit different way then original mod.in cost of this you will have 1 slot less for other itemsworks in RoG], 3262042471837696793, 3278927438273575900, 76561198005761360, 1397633462, 1400900127, 0, 0, [Interface,tweak], 158, [mod_publish_data_file.zip], 33843, 20553, [], 0Mod listing complete.DownloadPublishedFile(0)Downloading mod file 778307366501961690 [mod_publish_data_file.zip] [Craftable Gears]...OnDownloadPublishedFileResult EResult 1, 778307366501961690 245850, 5648, [mod_publish_data_file.zip], 76561198078423852UnpackMod 778307366501961690 [mod_publish_data_file.zip] [Craftable Gears]RecursivelyDeleteDirectory [../mods/workshop-174345915]DelFile [../mods/workshop-174345915/Craftable Gears.tex] 0: ok.DelFile [../mods/workshop-174345915/Craftable Gears.xml] 0: ok.DelFile [../mods/workshop-174345915/modinfo.lua] 0: ok.DelFile [../mods/workshop-174345915/modmain.lua] 0: ok.DelDirectory [../mods/workshop-174345915] 0: ok.SteamWorkshop::UnzipMod ../mods/workshop-174345915WriteModFile [../mods/workshop-174345915/Craftable Gears.tex] 21960 bytesWriteModFile [../mods/workshop-174345915/Craftable Gears.xml] 154 bytesWriteModFile [../mods/workshop-174345915/modinfo.lua] 530 bytesWriteModFile [../mods/workshop-174345915/modmain.lua] 352 bytesDownloadPublishedFile(1)Downloading mod file 486701738724992747 [mod_publish_data_file.zip] [Porta-Grill]...OnDownloadPublishedFileResult EResult 1, 486701738724992747 245850, 24394, [mod_publish_data_file.zip], 76561197989646930UnpackMod 486701738724992747 [mod_publish_data_file.zip] [Porta-Grill]RecursivelyDeleteDirectory [../mods/workshop-248047614]RecursivelyDeleteDirectory [../mods/workshop-248047614/anim]DelFile [../mods/workshop-248047614/anim/grill.zip] 0: ok.DelDirectory [../mods/workshop-248047614/anim] 0: ok.RecursivelyDeleteDirectory [../mods/workshop-248047614/images]RecursivelyDeleteDirectory [../mods/workshop-248047614/images/inventoryimages]DelFile [../mods/workshop-248047614/images/inventoryimages/grill.tex] 0: ok.DelFile [../mods/workshop-248047614/images/inventoryimages/grill.xml] 0: ok.DelDirectory [../mods/workshop-248047614/images/inventoryimages] 0: ok.DelDirectory [../mods/workshop-248047614/images] 0: ok.RecursivelyDeleteDirectory [../mods/workshop-248047614/minimap]DelFile [../mods/workshop-248047614/minimap/grill.tex] 0: ok.DelFile [../mods/workshop-248047614/minimap/grill.xml] 0: ok.DelDirectory [../mods/workshop-248047614/minimap] 0: ok.RecursivelyDeleteDirectory [../mods/workshop-248047614/scripts]RecursivelyDeleteDirectory [../mods/workshop-248047614/scripts/prefabs]DelFile [../mods/workshop-248047614/scripts/prefabs/grill.lua] 0: ok.DelDirectory [../mods/workshop-248047614/scripts/prefabs] 0: ok.DelDirectory [../mods/workshop-248047614/scripts] 0: ok.DelFile [../mods/workshop-248047614/grill.tex] 0: ok.DelFile [../mods/workshop-248047614/grill.xml] 0: ok.DelFile [../mods/workshop-248047614/modinfo.lua] 0: ok.DelFile [../mods/workshop-248047614/modmain.lua] 0: ok.DelDirectory [../mods/workshop-248047614] 0: ok.SteamWorkshop::UnzipMod ../mods/workshop-248047614WriteModFile [../mods/workshop-248047614/grill.tex] 21960 bytesWriteModFile [../mods/workshop-248047614/grill.xml] 128 bytesWriteModFile [../mods/workshop-248047614/modinfo.lua] 288 bytesWriteModFile [../mods/workshop-248047614/modmain.lua] 768 bytesWriteModFile [../mods/workshop-248047614/anim/grill.zip] 10088 bytesWriteModFile [../mods/workshop-248047614/images/inventoryimages/grill.tex] 5566 bytesWriteModFile [../mods/workshop-248047614/images/inventoryimages/grill.xml] 128 bytesWriteModFile [../mods/workshop-248047614/minimap/grill.tex] 5566 bytesWriteModFile [../mods/workshop-248047614/minimap/grill.xml] 128 bytesWriteModFile [../mods/workshop-248047614/scripts/prefabs/grill.lua] 4052 bytesDownloadPublishedFile(2)Downloading mod file 3262042471837696793 [mod_publish_data_file.zip] [BackPackPlus]...OnDownloadPublishedFileResult EResult 1, 3262042471837696793 245850, 33843, [mod_publish_data_file.zip], 76561198005761360UnpackMod 3262042471837696793 [mod_publish_data_file.zip] [BackPackPlus]RecursivelyDeleteDirectory [../mods/workshop-249713554]RecursivelyDeleteDirectory [../mods/workshop-249713554/images]DelFile [../mods/workshop-249713554/images/backpack.tex] 0: ok.DelFile [../mods/workshop-249713554/images/backpack.xml] 0: ok.DelDirectory [../mods/workshop-249713554/images] 0: ok.RecursivelyDeleteDirectory [../mods/workshop-249713554/scripts]DelFile [../mods/workshop-249713554/scripts/phfix.lua] 0: ok.DelDirectory [../mods/workshop-249713554/scripts] 0: ok.DelFile [../mods/workshop-249713554/modinfo.lua] 0: ok.DelFile [../mods/workshop-249713554/modmain.lua] 0: ok.DelFile [../mods/workshop-249713554/preview.jpg] 0: ok.DelFile [../mods/workshop-249713554/preview.tex] 0: ok.DelFile [../mods/workshop-249713554/preview.xml] 0: ok.DelDirectory [../mods/workshop-249713554] 0: ok.SteamWorkshop::UnzipMod ../mods/workshop-249713554WriteModFile [../mods/workshop-249713554/modinfo.lua] 295 bytesWriteModFile [../mods/workshop-249713554/modmain.lua] 877 bytesWriteModFile [../mods/workshop-249713554/preview.jpg] 20553 bytesWriteModFile [../mods/workshop-249713554/preview.tex] 21960 bytesWriteModFile [../mods/workshop-249713554/preview.xml] 138 bytesWriteModFile [../mods/workshop-249713554/images/backpack.tex] 5566 bytesWriteModFile [../mods/workshop-249713554/images/backpack.xml] 140 bytesWriteModFile [../mods/workshop-249713554/scripts/phfix.lua] 448 bytesMod downloads complete.GetCachedUGCCount 0SteamWorkshop::CompleteCallback (success, Mods were updated.) setSimLuaProxy::OnUpdateWorkshopModsComplete(ok., Mods were updated.)scripts/screens/modsscreen.lua(888,1) Reloading Mod Info Prefabs scripts/screens/modsscreen.lua(868,1) WARNING: icon paths for mod workshop-174345915 (Craftable Gears) are not valid. Got icon_atlas="Craftable Uncraftables Logo.xml" and icon="Craftable Uncraftables Logo.tex".Please ensure that these point to valid files in your mod folder, or else comment out those lines from your modinfo.lua. scripts/screens/modsscreen.lua(875,1) Loading Mod Info Prefabs scripts/screens/modsscreen.lua(880,1) Unloading Mod Info Prefabs scripts/screens/modsscreen.lua(880,1) Unloading Mod Info Prefabs scripts/mods.lua(304,1) unloading prefabs for mod MOD_InfiniteClothes scripts/mods.lua(304,1) unloading prefabs for mod MOD_Where's My Beefalo scripts/mods.lua(304,1) unloading prefabs for mod MOD_n_tools scripts/mods.lua(304,1) unloading prefabs for mod MOD_workshop-174345915 Collecting garbage...lua_gc took 0.01 seconds~SimLuaProxy()lua_close took 0.01 secondsReleaseAllReleaseAll FinishedcGame::StartPlayingLOADING LUADoLuaFile scripts/main.luaDoLuaFile loading buffer scripts/main.luascripts/main.lua(161,1) running main.lua scripts/modindex.lua(311,1) loaded modindex scripts/modindex.lua(75,1) ModIndex: Beginning normal load sequence. scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_Drok scripts/mods.lua(152,1) Loading mod: Drok scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_InfiniteClothes scripts/mods.lua(152,1) Loading mod: InfiniteClothes scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_n_tools scripts/mods.lua(152,1) Loading mod: n_tools (N Tools) (Old API! (mod: 4 game: 6) ) scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_Where's My Beefalo scripts/mods.lua(152,1) Loading mod: Where's My Beefalo (Where's My Beefalo?) (Old API! (mod: 5 game: 6) ) scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_workshop-174345915 scripts/mods.lua(152,1) Loading mod: workshop-174345915 (Craftable Gears) scripts/mods.lua(179,1) Mod: Drok Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: Drok Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: Drok Loading modmain.lua scripts/mods.lua(179,1) Mod: Where's My Beefalo (Where's My Beefalo?) Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: Where's My Beefalo (Where's My Beefalo?) Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: Where's My Beefalo (Where's My Beefalo?) Loading modmain.lua scripts/mods.lua(179,1) Mod: n_tools (N Tools) Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: n_tools (N Tools) Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: n_tools (N Tools) Loading modmain.lua scripts/mods.lua(179,1) Mod: InfiniteClothes Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: InfiniteClothes Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: InfiniteClothes Loading modmain.lua scripts/mods.lua(179,1) Mod: workshop-174345915 (Craftable Gears) Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: workshop-174345915 (Craftable Gears) Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: workshop-174345915 (Craftable Gears) Loading modmain.lua LOADING LUA SUCCESSscripts/playerdeaths.lua(79,1) PlayerDeaths loaded morgue 446 scripts/playerprofile.lua(477,1) loaded profile scripts/playerprofile.lua(541,1) bloom_enabled true scripts/saveindex.lua(99,1) loaded saveindex scripts/gamelogic.lua(1162,1) OnFilesLoaded() scripts/gamelogic.lua(1151,1) OnUpdatePurchaseStateComplete scripts/gamelogic.lua(112,1) FE assets already loaded scripts/mods.lua(269,1) Mod: Drok Registering prefabs scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/drok scripts/mods.lua(279,1) Mod: Drok drok scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/wigstan scripts/mods.lua(279,1) Mod: Drok wigstan scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/wigstanfull scripts/mods.lua(279,1) Mod: Drok wigstanfull scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/wigstanstone scripts/mods.lua(279,1) Mod: Drok wigstanstone scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/beefalo_hide scripts/mods.lua(279,1) Mod: Drok beefalo_hide scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/paintedrock scripts/mods.lua(279,1) Mod: Drok paintedrock scripts/mods.lua(279,1) Mod: Drok paintedrock_placer scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/redpaint scripts/mods.lua(279,1) Mod: Drok redpaint scripts/mods.lua(292,1) Mod: Drok Registering default mod prefab scripts/mods.lua(269,1) Mod: Where's My Beefalo (Where's My Beefalo?) Registering prefabs scripts/mods.lua(292,1) Mod: Where's My Beefalo (Where's My Beefalo?) Registering default mod prefab scripts/mods.lua(269,1) Mod: n_tools (N Tools) Registering prefabs scripts/mods.lua(292,1) Mod: n_tools (N Tools) Registering default mod prefab scripts/mods.lua(269,1) Mod: InfiniteClothes Registering prefabs scripts/mods.lua(275,1) Mod: InfiniteClothes Registering prefab file: prefabs/hats scripts/mods.lua(279,1) Mod: InfiniteClothes strawhat scripts/mods.lua(279,1) Mod: InfiniteClothes tophat scripts/mods.lua(279,1) Mod: InfiniteClothes beefalohat scripts/mods.lua(279,1) Mod: InfiniteClothes featherhat scripts/mods.lua(279,1) Mod: InfiniteClothes beehat scripts/mods.lua(279,1) Mod: InfiniteClothes minerhat scripts/mods.lua(279,1) Mod: InfiniteClothes spiderhat scripts/mods.lua(279,1) Mod: InfiniteClothes footballhat scripts/mods.lua(279,1) Mod: InfiniteClothes earmuffshat scripts/mods.lua(279,1) Mod: InfiniteClothes winterhat scripts/mods.lua(279,1) Mod: InfiniteClothes bushhat scripts/mods.lua(279,1) Mod: InfiniteClothes flowerhat scripts/mods.lua(279,1) Mod: InfiniteClothes walrushat scripts/mods.lua(279,1) Mod: InfiniteClothes slurtlehat scripts/mods.lua(279,1) Mod: InfiniteClothes ruinshat scripts/mods.lua(275,1) Mod: InfiniteClothes Registering prefab file: prefabs/sweatervest scripts/mods.lua(279,1) Mod: InfiniteClothes sweatervest scripts/mods.lua(275,1) Mod: InfiniteClothes Registering prefab file: prefabs/trunkvest scripts/mods.lua(279,1) Mod: InfiniteClothes trunkvest_summer scripts/mods.lua(279,1) Mod: InfiniteClothes trunkvest_winter scripts/mods.lua(292,1) Mod: InfiniteClothes Registering default mod prefab scripts/mods.lua(269,1) Mod: workshop-174345915 (Craftable Gears) Registering prefabs scripts/mods.lua(292,1) Mod: workshop-174345915 (Craftable Gears) Registering default mod prefab scripts/screens/mainscreen.lua(575,1) platform_motd table: 14734870 SimLuaProxy::QueryServer()scripts/modindex.lua(85,1) ModIndex: Load sequence finished successfully. Reset() returning../mods/Drok/images/saveslot_portraits/drok.tex is 120x104 but compressed textures must have power of 2 dimensions.../mods/Drok/images/selectscreen_portraits/drok.tex is 188x284 but compressed textures must have power of 2 dimensions.../mods/Drok/images/selectscreen_portraits/drok_silho.tex is 188x284 but compressed textures must have power of 2 dimensions.HttpClientWriteCallback (0x05F65EC7, 1, 16, 0x0614FBB4)HttpClientWriteCallback READ 16 (16 total)QueryServerComplete no callbackHttpClientWriteCallback (0x05F65E24, 1, 999, 0x0614FBB4)HttpClientWriteCallback READ 999 (999 total)scripts/screens/mainscreen.lua(575,1) platform_motd table: 0B42E930 scripts/mods.lua(304,1) unloading prefabs for mod MOD_Drok scripts/mods.lua(304,1) unloading prefabs for mod MOD_Where's My Beefalo scripts/mods.lua(304,1) unloading prefabs for mod MOD_n_tools scripts/mods.lua(304,1) unloading prefabs for mod MOD_InfiniteClothes scripts/mods.lua(304,1) unloading prefabs for mod MOD_workshop-174345915 Collecting garbage...lua_gc took 0.01 seconds~SimLuaProxy()lua_close took 0.01 secondsReleaseAllReleaseAll FinishedcGame::StartPlayingLOADING LUADoLuaFile scripts/main.luaDoLuaFile loading buffer scripts/main.luascripts/main.lua(161,1) running main.lua scripts/modindex.lua(311,1) loaded modindex scripts/modindex.lua(75,1) ModIndex: Beginning normal load sequence. scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_Drok scripts/mods.lua(152,1) Loading mod: Drok scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_InfiniteClothes scripts/mods.lua(152,1) Loading mod: InfiniteClothes scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_n_tools scripts/mods.lua(152,1) Loading mod: n_tools (N Tools) (Old API! (mod: 4 game: 6) ) scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_Where's My Beefalo scripts/mods.lua(152,1) Loading mod: Where's My Beefalo (Where's My Beefalo?) (Old API! (mod: 5 game: 6) ) scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_workshop-174345915 scripts/mods.lua(152,1) Loading mod: workshop-174345915 (Craftable Gears) scripts/mods.lua(179,1) Mod: Drok Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: Drok Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: Drok Loading modmain.lua scripts/mods.lua(179,1) Mod: Where's My Beefalo (Where's My Beefalo?) Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: Where's My Beefalo (Where's My Beefalo?) Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: Where's My Beefalo (Where's My Beefalo?) Loading modmain.lua scripts/mods.lua(179,1) Mod: n_tools (N Tools) Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: n_tools (N Tools) Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: n_tools (N Tools) Loading modmain.lua scripts/mods.lua(179,1) Mod: InfiniteClothes Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: InfiniteClothes Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: InfiniteClothes Loading modmain.lua scripts/mods.lua(179,1) Mod: workshop-174345915 (Craftable Gears) Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: workshop-174345915 (Craftable Gears) Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: workshop-174345915 (Craftable Gears) Loading modmain.lua LOADING LUA SUCCESSscripts/playerdeaths.lua(79,1) PlayerDeaths loaded morgue 446 scripts/playerprofile.lua(477,1) loaded profile scripts/playerprofile.lua(541,1) bloom_enabled true scripts/saveindex.lua(99,1) loaded saveindex scripts/gamelogic.lua(1162,1) OnFilesLoaded() scripts/gamelogic.lua(1151,1) OnUpdatePurchaseStateComplete scripts/gamelogic.lua(148,1) Unload FE scripts/gamelogic.lua(150,1) Unload FE done scripts/mods.lua(269,1) Mod: Drok Registering prefabs scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/drok scripts/mods.lua(279,1) Mod: Drok drok scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/wigstan scripts/mods.lua(279,1) Mod: Drok wigstan scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/wigstanfull scripts/mods.lua(279,1) Mod: Drok wigstanfull scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/wigstanstone scripts/mods.lua(279,1) Mod: Drok wigstanstone scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/beefalo_hide scripts/mods.lua(279,1) Mod: Drok beefalo_hide scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/paintedrock scripts/mods.lua(279,1) Mod: Drok paintedrock scripts/mods.lua(279,1) Mod: Drok paintedrock_placer scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/redpaint scripts/mods.lua(279,1) Mod: Drok redpaint scripts/mods.lua(292,1) Mod: Drok Registering default mod prefab scripts/mods.lua(269,1) Mod: Where's My Beefalo (Where's My Beefalo?) Registering prefabs scripts/mods.lua(292,1) Mod: Where's My Beefalo (Where's My Beefalo?) Registering default mod prefab scripts/mods.lua(269,1) Mod: n_tools (N Tools) Registering prefabs scripts/mods.lua(292,1) Mod: n_tools (N Tools) Registering default mod prefab scripts/mods.lua(269,1) Mod: InfiniteClothes Registering prefabs scripts/mods.lua(275,1) Mod: InfiniteClothes Registering prefab file: prefabs/hats scripts/mods.lua(279,1) Mod: InfiniteClothes strawhat scripts/mods.lua(279,1) Mod: InfiniteClothes tophat scripts/mods.lua(279,1) Mod: InfiniteClothes beefalohat scripts/mods.lua(279,1) Mod: InfiniteClothes featherhat scripts/mods.lua(279,1) Mod: InfiniteClothes beehat scripts/mods.lua(279,1) Mod: InfiniteClothes minerhat scripts/mods.lua(279,1) Mod: InfiniteClothes spiderhat scripts/mods.lua(279,1) Mod: InfiniteClothes footballhat scripts/mods.lua(279,1) Mod: InfiniteClothes earmuffshat scripts/mods.lua(279,1) Mod: InfiniteClothes winterhat scripts/mods.lua(279,1) Mod: InfiniteClothes bushhat scripts/mods.lua(279,1) Mod: InfiniteClothes flowerhat scripts/mods.lua(279,1) Mod: InfiniteClothes walrushat scripts/mods.lua(279,1) Mod: InfiniteClothes slurtlehat scripts/mods.lua(279,1) Mod: InfiniteClothes ruinshat scripts/mods.lua(275,1) Mod: InfiniteClothes Registering prefab file: prefabs/sweatervest scripts/mods.lua(279,1) Mod: InfiniteClothes sweatervest scripts/mods.lua(275,1) Mod: InfiniteClothes Registering prefab file: prefabs/trunkvest scripts/mods.lua(279,1) Mod: InfiniteClothes trunkvest_summer scripts/mods.lua(279,1) Mod: InfiniteClothes trunkvest_winter scripts/mods.lua(292,1) Mod: InfiniteClothes Registering default mod prefab scripts/mods.lua(269,1) Mod: workshop-174345915 (Craftable Gears) Registering prefabs scripts/mods.lua(292,1) Mod: workshop-174345915 (Craftable Gears) Registering default mod prefab scripts/gamelogic.lua(164,1) LOAD BE Could not preload undefined prefab 0x350a87f2 (note)Could not preload undefined prefab 0x350a87f2 (note)Could not preload undefined prefab 0x350a87f2 (note)scripts/gamelogic.lua(172,1) LOAD BE: done MiniMapComponent::AddAtlas( minimap/minimap_data.xml )MiniMapComponent::AddAtlas( ../mods/Drok/minimap/drok.xml )MiniMapComponent::AddAtlas( ../mods/Drok/minimap/wigstan.xml )MiniMapComponent::AddAtlas( ../mods/Drok/minimap/wigstanstone.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/mandrake.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/babybeefalo.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/beefalo.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/carrot_planted.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/chester_eyebone.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/flint.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/rabbithole.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/rocky.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/red_mushroom.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/green_mushroom.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/blue_mushroom.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/lightninggoat.xml )...nt_starve/data/../mods/Drok/scripts/prefabs/drok.lua:53: variable 'GLOBAL' is not declaredLUA ERROR stack traceback: =[C] in function 'error' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/strict.lua(23,1) C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/../mods/Drok/scripts/prefabs/drok.lua(53,1) in function 'customfn' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/prefabs/player_common.lua(309,1) in function 'fn' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/mainfunctions.lua(126,1) =[C] in function 'SpawnPrefab' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/mainfunctions.lua(160,1) in function 'SpawnPrefab' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(466,1) in function 'PopulateWorld' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(832,1) in function 'DoInitGame' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1008,1) in function 'cb' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/saveindex.lua(512,1) ... =[C] in function 'GetPersistentString' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/saveindex.lua(91,1) in function 'Load' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1179,1) in function 'callback' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/playerprofile.lua(571,1) in function 'Set' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/playerprofile.lua(455,1) =[C] in function 'GetPersistentString' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/playerprofile.lua(453,1) in function 'Load' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1178,1) in main chunk =[C] in function 'require' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/mainfunctions.lua(651,1)scripts/frontend.lua(723,1) SCRIPT ERROR! Showing error screen ...amapps/common/dont_starve/data/scripts/gamelogic.lua:467: could not spawn player characterLUA ERROR stack traceback: =[C] in function 'assert' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(467,1) in function 'PopulateWorld' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(832,1) in function 'DoInitGame' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1008,1) in function 'cb' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/saveindex.lua(512,1) =[C] in function 'GetPersistentString' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/saveindex.lua(489,1) in function 'GetSaveData' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1010,1) in function 'DoLoadWorld' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1057,1) in function 'LoadSlot' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1123,1) in function 'DoResetAction' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1158,1) in function 'complete_callback' ... =[C] in function 'GetPersistentString' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/saveindex.lua(91,1) in function 'Load' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1179,1) in function 'callback' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/playerprofile.lua(571,1) in function 'Set' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/playerprofile.lua(455,1) =[C] in function 'GetPersistentString' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/playerprofile.lua(453,1) in function 'Load' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1178,1) in main chunk =[C] in function 'require' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/mainfunctions.lua(651,1)scripts/modindex.lua(85,1) ModIndex: Load sequence finished successfully. Link to comment Share on other sites More sharing options...
_Q_ Posted October 8, 2014 Share Posted October 8, 2014 Upload the mod again. It would be good idea to look for other character mods that have some custom character specific items, and while you are making mods its good idea to remove other mods from the mod folder to keep log file clean:P Link to comment Share on other sites More sharing options...
QuickShot010 Posted October 8, 2014 Author Share Posted October 8, 2014 Upload the mod again. It would be good idea to look for other character mods that have some custom character specific items, and while you are making mods its good idea to remove other mods from the mod folder to keep log file clean:P Here you go:Drok 1.6 WIP.zip Link to comment Share on other sites More sharing options...
_Q_ Posted October 8, 2014 Share Posted October 8, 2014 Here you go:Drok 1.6 WIP.zip It has to be in a modmain after all. Added with SimPostInit, look at Link character mod for that. Link to comment Share on other sites More sharing options...
QuickShot010 Posted October 8, 2014 Author Share Posted October 8, 2014 It has to be in a modmain after all. Added with SimPostInit, look at Link character mod for that. I got it working with this code: local Ingredient = GLOBAL.Ingredientlocal RECIPETABS = GLOBAL.RECIPETABSlocal TECH = GLOBAL.TECHfunction DrokCrafting(drok)local redpaint = GLOBAL.Recipe("redpaint", {Ingredient("ash", 2), Ingredient("rocks", 1), Ingredient("berries_cooked", 3)}, RECIPETABS.REFINE, TECH.SCIENCE_ONE, nil, nil, nil, 1)redpaint.atlas = "images/inventoryimages/redpaint.xml"local wigstan = GLOBAL.Recipe("wigstan", {Ingredient("wigstanstone", 1, "images/inventoryimages/wigstanstone.xml"), Ingredient("redpaint", 5, "images/inventoryimages/redpaint.xml")}, RECIPETABS.REFINE, TECH.SCIENCE_ONE, nil, nil, nil, 1)wigstan.atlas = "images/inventoryimages/wigstan.xml"local wigstanfull = GLOBAL.Recipe("wigstanfull", {Ingredient("wigstan", 1, "images/inventoryimages/wigstan.xml"), Ingredient("twigs", 8), Ingredient("rope", 3)}, RECIPETABS.REFINE, TECH.SCIENCE_TWO, nil, nil, nil, 1)wigstanfull.atlas = "images/inventoryimages/wigstanfull.xml"local paintedrock = GLOBAL.Recipe("paintedrock", {Ingredient("rocks", 3), Ingredient("redpaint", 3, "images/inventoryimages/redpaint.xml")}, RECIPETABS.TOWN, TECH.SCIENCE_TWO, "paintedrock_placer", nil, nil, nil, 1)paintedrock.atlas = "images/inventoryimages/paintedrock.xml"endAddSimPostInit(function(inst) if inst.prefab == "drok" then DrokCrafting(inst) endend) There is one this that is strange...The cavepaintings image is not correct in the structures tab.I linked up everything correctly so i dont know why it is not working.Maybe you could find something i did wrong? EDIT: Never mind, fixed it.I was missing this in my modmain Asset("ATLAS", "images/inventoryimages/paintedrock.xml"),Thanks to everybody! Link to comment Share on other sites More sharing options...
QuickShot010 Posted October 9, 2014 Author Share Posted October 9, 2014 Hija! My turn! did you try to remove that "." after "1"? Dunno, it just bugs me. regarding the multiple art: yes ofc, by playing different animations it should be easily do-able. That means making more animations (builds should work too, but are probably more complicated)... I would stop right there, I don't like spriter at all.The coding part is very easy:make a table array with all animation names, like so:local names = { "rock1", "rock2",}and pick a random one:--local function fn()inst.animname = names[math.random(#names)]inst.AnimState:PlayAnimation(inst.animname)and if you want to keep them look the same in different sessions:local function onsave(inst, data) data.anim = inst.animnameendlocal function onload(inst, data) if data and data.anim then inst.animname = data.anim inst.AnimState:PlayAnimation(inst.animname) endend--local function fn() --------SaveLoad inst.OnSave = onsave inst.OnLoad = onload I got everything working so i decided to try the randomization.But whenever i try to build the cave paintings i get a crash. This is my paintedrock prefab file:local Assets ={ Asset("ANIM", "anim/paintedrock.zip"), Asset("ATLAS", "images/inventoryimages/paintedrock.xml"),}local names = { "prock1", "prock2",}local function fn(Sim) local inst = CreateEntity() inst.entity:AddTransform() inst.entity:AddAnimState() MakeObstaclePhysics(inst, .5) inst:AddTag("structure") inst.AnimState:SetBank("paintedrock") inst.AnimState:SetBuild("paintedrock") inst:AddComponent("inspectable") inst:AddComponent("characterspecific") inst.components.characterspecific:SetOwner("drok") return instend-- keep them looking the same in different sessionslocal function onsave(inst, data) data.anim = inst.animnameendlocal function onload(inst, data) if data and data.anim then inst.animname = data.anim inst.AnimState:PlayAnimation(inst.animname) endendlocal function fn() local inst = CreateEntity() inst.animname = names[math.random(#names)] inst.AnimState:PlayAnimation(inst.animname) inst.OnSave = onsave inst.OnLoad = onload endSTRINGS.NAMES.PAINTEDROCK = "Rock Paintings"STRINGS.CHARACTERS.DROK.DESCRIBE.PAINTEDROCK = "Drok show dominance!"STRINGS.CHARACTERS.GENERIC.DESCRIBE.PAINTEDROCK = "Those paintings are from an ancient time..."return Prefab( "common/objects/paintedrock", fn, assets), MakePlacer( "common/paintedrock_placer", "paintedrock", "paintedrock", "prock1" ) And this is my crash log:Starting upDon't Starve: 110570 WIN32_STEAMBuild Date: 2014-09-11_10-12-49THREAD - started 'GAClient' (5896)HttpClient::ClientThread::Main()cGame::InitializeOnMainThreadWindowManager::InitializeWindowManager::SetFullscreen(0, 1920, 1080, 60)GLInfo~~~~~~GL_VENDOR: Google Inc.GL_RENDERER: ANGLE (NVIDIA GeForce GTX 660)GL_VERSION: OpenGL ES 2.0 (ANGLE 1.0.0.2249)GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL ES 1.00 (ANGLE 1.0.0.2249)OpenGL extensions (19, 19):GL_ANGLE_depth_textureGL_ANGLE_framebuffer_blitGL_ANGLE_framebuffer_multisampleGL_ANGLE_instanced_arraysGL_ANGLE_pack_reverse_row_orderGL_ANGLE_texture_compression_dxt3GL_ANGLE_texture_compression_dxt5GL_ANGLE_texture_usageGL_ANGLE_translated_shader_sourceGL_EXT_read_format_bgraGL_EXT_robustnessGL_EXT_texture_compression_dxt1GL_EXT_texture_format_BGRA8888GL_EXT_texture_storageGL_OES_get_program_binaryGL_OES_packed_depth_stencilGL_OES_rgb8_rgba8GL_OES_standard_derivativesGL_OES_texture_npotTHREAD - started 'WindowsInputManager' (5180)GL_MAX_TEXTURE_SIZE = 16384GL_MAX_TEXTURE_IMAGE_UNITS = 16GL_MAX_RENDERBUFFER_SIZE = 16384GL_MAX_VIEWPORT_DIMS = 16384, 16384GL_MAX_VARYING_VECTORS = 10GL_MAX_VERTEX_ATTRIBS = 16GL_MAX_VERTEX_UNIFORM_VECTORS = 254GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 4GL_MAX_FRAGMENT_UNIFORM_VECTORS = 2214 compressed texture formatstexture format 0x83f0texture format 0x83f1texture format 0x83f2texture format 0x83f3cDontStarveGame::DoGameSpecificInitialize()cGame::StartPlayingLOADING LUADoLuaFile scripts/main.luaDoLuaFile loading buffer scripts/main.luascripts/main.lua(161,1) running main.lua scripts/modindex.lua(311,1) loaded modindex scripts/modindex.lua(75,1) ModIndex: Beginning normal load sequence. scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_Drok scripts/mods.lua(152,1) Loading mod: Drok scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_InfiniteClothes scripts/mods.lua(152,1) Loading mod: InfiniteClothes scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_n_tools scripts/mods.lua(152,1) Loading mod: n_tools (N Tools) (Old API! (mod: 4 game: 6) ) scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_Where's My Beefalo scripts/mods.lua(152,1) Loading mod: Where's My Beefalo (Where's My Beefalo?) (Old API! (mod: 5 game: 6) ) scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_workshop-174345915 scripts/mods.lua(152,1) Loading mod: workshop-174345915 (Craftable Gears) scripts/mods.lua(179,1) Mod: Drok Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: Drok Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: Drok Loading modmain.lua scripts/mods.lua(179,1) Mod: Where's My Beefalo (Where's My Beefalo?) Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: Where's My Beefalo (Where's My Beefalo?) Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: Where's My Beefalo (Where's My Beefalo?) Loading modmain.lua scripts/mods.lua(179,1) Mod: n_tools (N Tools) Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: n_tools (N Tools) Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: n_tools (N Tools) Loading modmain.lua scripts/mods.lua(179,1) Mod: InfiniteClothes Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: InfiniteClothes Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: InfiniteClothes Loading modmain.lua scripts/mods.lua(179,1) Mod: workshop-174345915 (Craftable Gears) Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: workshop-174345915 (Craftable Gears) Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: workshop-174345915 (Craftable Gears) Loading modmain.lua LOADING LUA SUCCESSscripts/playerdeaths.lua(79,1) PlayerDeaths loaded morgue 446 scripts/playerprofile.lua(477,1) loaded profile scripts/playerprofile.lua(541,1) bloom_enabled true scripts/saveindex.lua(99,1) loaded saveindex scripts/gamelogic.lua(1162,1) OnFilesLoaded() scripts/gamelogic.lua(1151,1) OnUpdatePurchaseStateComplete scripts/gamelogic.lua(118,1) Unload BE Could not unload undefined prefab 0x4374c56c (yellowstaff)Could not unload undefined prefab 0x303bfdce (axe)Could not unload undefined prefab 0x94cf6c04 (goldenpickaxe)Could not unload undefined prefab 0x8cc766ef (pumpkin_lantern)Could not unload undefined prefab 0xfdcabd86 (earmuffshat)Could not unload undefined prefab 0x9a6718eb (resurrectionstatue)Could not unload undefined prefab 0x6b0c64bf (resurrectionstatue_placer)Could not unload undefined prefab 0xdfb37276 (telestaff)Could not unload undefined prefab 0xaf34ecc0 (trunkvest_winter)Could not unload undefined prefab 0x875750ea (turf_road)Could not unload undefined prefab 0xcd7669e5 (nightsword)Could not unload undefined prefab 0x3f6c9ebb (diviningrod)Could not unload undefined prefab 0xefa57cea (bandage)Could not unload undefined prefab 0xde4bc7e7 (wall_hay_item)Could not unload undefined prefab 0xe51acd32 (lightning_rod)Could not unload undefined prefab 0x947bfcb8 (lightning_rod_placer)Could not unload undefined prefab 0xb1fa364d (pickaxe)Could not unload undefined prefab 0x34fb4f82 (pitchfork)Could not unload undefined prefab 0xdf809124 (gears)Could not unload undefined prefab 0x3f5176c5 (firepit)Could not unload undefined prefab 0x8a462465 (firepit_placer)Could not unload undefined prefab 0x62a5e7fe (nightlight)Could not unload undefined prefab 0x185806ec (nightlight_placer)Could not unload undefined prefab 0x3d4d1dc6 (bedroll_straw)Could not unload undefined prefab 0xadfdb7ae (armor_sanity)Could not unload undefined prefab 0xdf13a0c1 (ruins_bat)Could not unload undefined prefab 0x76d26529 (bugnet)Could not unload undefined prefab 0x5ce426c4 (blowdart_fire)Could not unload undefined prefab 0x1541c9cc (armorruins)Could not unload undefined prefab 0xe16c07d0 (ruinshat)Could not unload undefined prefab 0xe5936c6a (firestaff)Could not unload undefined prefab 0x1c48b877 (campfire)Could not unload undefined prefab 0xdfe3a33 (campfire_placer)Could not unload undefined prefab 0x89c20b1b (telebase)Could not unload undefined prefab 0x868a468f (telebase_placer)Could not unload undefined prefab 0x4740cff7 (tent)Could not unload undefined prefab 0xb4d742b3 (tent_placer)Could not unload undefined prefab 0x10473739 (spear)Could not unload undefined prefab 0x36768a92 (orangestaff)Could not unload undefined prefab 0x8d44bbad (cookpot)Could not unload undefined prefab 0x30d2f57d (cookpot_placer)Could not unload undefined prefab 0xa1e54a85 (goldenaxe)Could not unload undefined prefab 0x68ba7100 (researchlab2)Could not unload undefined prefab 0x3386a16a (researchlab2_placer)Could not unload undefined prefab 0xdac7fbf5 (birdcage)Could not unload undefined prefab 0xe1f9b335 (birdcage_placer)Could not unload undefined prefab 0xe6af29d2 (compass)Could not unload undefined prefab 0x2ca456a0 (orangeamulet)Could not unload undefined prefab 0xcf1626 (rabbithouse)Could not unload undefined prefab 0x1aa31ec4 (rabbithouse_placer)Could not unload undefined prefab 0xe474f23c (armormarble)Could not unload undefined prefab 0x3ccdbe75 (icestaff)Could not unload undefined prefab 0x68ba7101 (researchlab3)Could not unload undefined prefab 0xd6985329 (researchlab3_placer)Could not unload undefined prefab 0xe87e06c0 (icebox)Could not unload undefined prefab 0xf2bd1baa (icebox_placer)Could not unload undefined prefab 0x19c004b2 (pighouse)Could not unload undefined prefab 0x469fe538 (pighouse_placer)Could not unload undefined prefab 0xca16846d (boards)Could not unload undefined prefab 0xa8b25abc (wall_ruins_item)Could not unload undefined prefab 0x21bf03b1 (thulecite)Could not unload undefined prefab 0xfa14dec6 (birdtrap)Could not unload undefined prefab 0x68370bd6 (trap_teeth)Could not unload undefined prefab 0x7c11af2 (treasurechest)Could not unload undefined prefab 0xd411bef8 (treasurechest_placer)Could not unload undefined prefab 0xef21c9f2 (rope)Could not unload undefined prefab 0x539e9e8a (trunkvest_summer)Could not unload undefined prefab 0x2e54b535 (cane)Could not unload undefined prefab 0xb981ecda (fast_farmplot)Could not unload undefined prefab 0x2639673 (farmplot_placer)Could not unload undefined prefab 0xf4eb0943 (shovel)Could not unload undefined prefab 0xbcfca634 (strawhat)Could not unload undefined prefab 0xe2bfa46 (tophat)Could not unload undefined prefab 0xcda99af6 (winterhat)Could not unload undefined prefab 0x761a1799 (gunpowder)Could not unload undefined prefab 0x1cd9e60e (razor)Could not unload undefined prefab 0xbea16a01 (hambat)Could not unload undefined prefab 0x2e264dbc (blowdart_pipe)Could not unload undefined prefab 0xec43b9f4 (sewing_kit)Could not unload undefined prefab 0x46094f1b (beefalohat)Could not unload undefined prefab 0x9a99c7b7 (armorgrass)Could not unload undefined prefab 0x4d9a964d (trap)Could not unload undefined prefab 0xd8067599 (beehat)Could not unload undefined prefab 0xda17c8e8 (armorslurper)Could not unload undefined prefab 0x47611d71 (sweatervest)Could not unload undefined prefab 0x85181f7c (minerhat)Could not unload undefined prefab 0x15220700 (backpack)Could not unload undefined prefab 0x8bbc7f55 (beemine)Could not unload undefined prefab 0xe8f381a1 (turf_checkerfloor)Could not unload undefined prefab 0xd5201c09 (beebox)Could not unload undefined prefab 0x753b7621 (beebox_placer)Could not unload undefined prefab 0xb918c5fd (fishingrod)Could not unload undefined prefab 0x86860bc2 (boomerang)Could not unload undefined prefab 0x80cb1e18 (featherhat)Could not unload undefined prefab 0x5a59f5cc (goldenshovel)Could not unload undefined prefab 0xfb180669 (blowdart_sleep)Could not unload undefined prefab 0xc4101586 (hammer)Could not unload undefined prefab 0x4685284 (umbrella)Could not unload undefined prefab 0xda1f7edf (winterometer)Could not unload undefined prefab 0x955229cb (winterometer_placer)Could not unload undefined prefab 0x111db7ae (footballhat)Could not unload undefined prefab 0x9d92cce (purpleamulet)Could not unload undefined prefab 0x3949a42 (meatrack)Could not unload undefined prefab 0x56340ba8 (meatrack_placer)Could not unload undefined prefab 0xbc429ef3 (bushhat)Could not unload undefined prefab 0x22ec3802 (wall_stone_item)Could not unload undefined prefab 0xfbaefa0e (rainometer)Could not unload undefined prefab 0xeea990dc (rainometer_placer)Could not unload undefined prefab 0x41ba89b5 (nightmarefuel)Could not unload undefined prefab 0x3cb06493 (healingsalve)Could not unload undefined prefab 0x75370b6 (papyrus)Could not unload undefined prefab 0x37c31aa6 (lantern)Could not unload undefined prefab 0xcceee6c3 (cutstone)Could not unload undefined prefab 0x7fcb037d (greenstaff)Could not unload undefined prefab 0x3edae42e (multitool_axe_pickaxe)Could not unload undefined prefab 0x7f2d088c (armorwood)Could not unload undefined prefab 0xc3bf310c (blueamulet)Could not unload undefined prefab 0x739fbe3c (homesign)Could not unload undefined prefab 0x33fdbd2e (homesign_placer)Could not unload undefined prefab 0x7f46d7c0 (batbat)Could not unload undefined prefab 0x378bda50 (wall_wood_item)Could not unload undefined prefab 0x3c935451 (eyeturret_item)Could not unload undefined prefab 0xb6201ac9 (onemanband)Could not unload undefined prefab 0xf0330963 (panflute)Could not unload undefined prefab 0x6f21e747 (piggyback)Could not unload undefined prefab 0x1daa5ab7 (turf_carpetfloor)Could not unload undefined prefab 0xcba65752 (amulet)Could not unload undefined prefab 0x38967bb2 (researchlab)Could not unload undefined prefab 0x77e9ae38 (researchlab_placer)Could not unload undefined prefab 0xcad92460 (flowerhat)Could not unload undefined prefab 0xb1591875 (greenamulet)Could not unload undefined prefab 0x1153dbb9 (pottedfern)Could not unload undefined prefab 0xf2102a71 (pottedfern_placer)Could not unload undefined prefab 0x68ba7102 (researchlab4)Could not unload undefined prefab 0x79aa04e8 (researchlab4_placer)Could not unload undefined prefab 0x263bc4d5 (slow_farmplot)Could not unload undefined prefab 0x2639673 (farmplot_placer)Could not unload undefined prefab 0xe5071541 (nightmare_timepiece)Could not unload undefined prefab 0x2c158f7c (torch)Could not unload undefined prefab 0x2ae7e3b3 (purplegem)Could not unload undefined prefab 0x265d1455 (turf_woodfloor)Could not unload undefined prefab 0xf8e41fa9 (bedroll_furry)Could not unload undefined prefab 0xdb20fa95 (heatrock)Could not unload undefined prefab 0x9a0ed246 (yellowamulet)Could not unload undefined prefab 0x33ab6997 (hud)Could not unload undefined prefab 0x3364203d (forest)Could not unload undefined prefab 0x2e5cb72d (cave)Could not unload undefined prefab 0x40b82ff2 (maxwell)Could not unload undefined prefab 0xbddda476 (fire)Could not unload undefined prefab 0x1078732c (character_fire)Could not unload undefined prefab 0x427b5b39 (shatter)scripts/gamelogic.lua(123,1) Unload BE done HttpClientWriteCallback (0x06255EC7, 1, 16, 0x0643F848)HttpClientWriteCallback READ 16 (16 total)scripts/mods.lua(269,1) Mod: Drok Registering prefabs scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/drok scripts/mods.lua(279,1) Mod: Drok drok scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/wigstan scripts/mods.lua(279,1) Mod: Drok wigstan scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/wigstanfull scripts/mods.lua(279,1) Mod: Drok wigstanfull scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/wigstanstone scripts/mods.lua(279,1) Mod: Drok wigstanstone scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/beefalo_hide scripts/mods.lua(279,1) Mod: Drok beefalo_hide scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/paintedrock scripts/mods.lua(279,1) Mod: Drok paintedrock scripts/mods.lua(279,1) Mod: Drok paintedrock_placer scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/redpaint scripts/mods.lua(279,1) Mod: Drok redpaint scripts/mods.lua(292,1) Mod: Drok Registering default mod prefab ../mods/Drok/images/saveslot_portraits/drok.tex is 120x104 but compressed textures must have power of 2 dimensions.../mods/Drok/images/selectscreen_portraits/drok.tex is 188x284 but compressed textures must have power of 2 dimensions.../mods/Drok/images/selectscreen_portraits/drok_silho.tex is 188x284 but compressed textures must have power of 2 dimensions.scripts/mods.lua(269,1) Mod: Where's My Beefalo (Where's My Beefalo?) Registering prefabs scripts/mods.lua(292,1) Mod: Where's My Beefalo (Where's My Beefalo?) Registering default mod prefab scripts/mods.lua(269,1) Mod: n_tools (N Tools) Registering prefabs scripts/mods.lua(292,1) Mod: n_tools (N Tools) Registering default mod prefab scripts/mods.lua(269,1) Mod: InfiniteClothes Registering prefabs scripts/mods.lua(275,1) Mod: InfiniteClothes Registering prefab file: prefabs/hats scripts/mods.lua(279,1) Mod: InfiniteClothes strawhat scripts/mods.lua(279,1) Mod: InfiniteClothes tophat scripts/mods.lua(279,1) Mod: InfiniteClothes beefalohat scripts/mods.lua(279,1) Mod: InfiniteClothes featherhat scripts/mods.lua(279,1) Mod: InfiniteClothes beehat scripts/mods.lua(279,1) Mod: InfiniteClothes minerhat scripts/mods.lua(279,1) Mod: InfiniteClothes spiderhat scripts/mods.lua(279,1) Mod: InfiniteClothes footballhat scripts/mods.lua(279,1) Mod: InfiniteClothes earmuffshat scripts/mods.lua(279,1) Mod: InfiniteClothes winterhat scripts/mods.lua(279,1) Mod: InfiniteClothes bushhat scripts/mods.lua(279,1) Mod: InfiniteClothes flowerhat scripts/mods.lua(279,1) Mod: InfiniteClothes walrushat scripts/mods.lua(279,1) Mod: InfiniteClothes slurtlehat scripts/mods.lua(279,1) Mod: InfiniteClothes ruinshat scripts/mods.lua(275,1) Mod: InfiniteClothes Registering prefab file: prefabs/sweatervest scripts/mods.lua(279,1) Mod: InfiniteClothes sweatervest scripts/mods.lua(275,1) Mod: InfiniteClothes Registering prefab file: prefabs/trunkvest scripts/mods.lua(279,1) Mod: InfiniteClothes trunkvest_summer scripts/mods.lua(279,1) Mod: InfiniteClothes trunkvest_winter scripts/mods.lua(292,1) Mod: InfiniteClothes Registering default mod prefab scripts/mods.lua(269,1) Mod: workshop-174345915 (Craftable Gears) Registering prefabs scripts/mods.lua(292,1) Mod: workshop-174345915 (Craftable Gears) Registering default mod prefab scripts/gamelogic.lua(133,1) Load FE scripts/gamelogic.lua(135,1) Load FE: done scripts/screens/mainscreen.lua(575,1) platform_motd table: 0EAAA960 SimLuaProxy::QueryServer()scripts/modindex.lua(85,1) ModIndex: Load sequence finished successfully. Reset() returningQueryServerComplete no callbackHttpClientWriteCallback (0x06255EC7, 1, 16, 0x0643F848)HttpClientWriteCallback READ 16 (16 total)QueryServerComplete no callbackHttpClientWriteCallback (0x06255E24, 1, 999, 0x0643F848)HttpClientWriteCallback READ 999 (999 total)scripts/screens/mainscreen.lua(575,1) platform_motd table: 0BF1D168 scripts/mods.lua(304,1) unloading prefabs for mod MOD_Drok scripts/mods.lua(304,1) unloading prefabs for mod MOD_Where's My Beefalo scripts/mods.lua(304,1) unloading prefabs for mod MOD_n_tools scripts/mods.lua(304,1) unloading prefabs for mod MOD_InfiniteClothes scripts/mods.lua(304,1) unloading prefabs for mod MOD_workshop-174345915 Collecting garbage...lua_gc took 0.01 seconds~SimLuaProxy()lua_close took 0.01 secondsReleaseAllReleaseAll FinishedcGame::StartPlayingLOADING LUADoLuaFile scripts/main.luaDoLuaFile loading buffer scripts/main.luascripts/main.lua(161,1) running main.lua scripts/modindex.lua(311,1) loaded modindex scripts/modindex.lua(75,1) ModIndex: Beginning normal load sequence. scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_Drok scripts/mods.lua(152,1) Loading mod: Drok scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_InfiniteClothes scripts/mods.lua(152,1) Loading mod: InfiniteClothes scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_n_tools scripts/mods.lua(152,1) Loading mod: n_tools (N Tools) (Old API! (mod: 4 game: 6) ) scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_Where's My Beefalo scripts/mods.lua(152,1) Loading mod: Where's My Beefalo (Where's My Beefalo?) (Old API! (mod: 5 game: 6) ) scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_workshop-174345915 scripts/mods.lua(152,1) Loading mod: workshop-174345915 (Craftable Gears) scripts/mods.lua(179,1) Mod: Drok Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: Drok Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: Drok Loading modmain.lua scripts/mods.lua(179,1) Mod: Where's My Beefalo (Where's My Beefalo?) Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: Where's My Beefalo (Where's My Beefalo?) Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: Where's My Beefalo (Where's My Beefalo?) Loading modmain.lua scripts/mods.lua(179,1) Mod: n_tools (N Tools) Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: n_tools (N Tools) Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: n_tools (N Tools) Loading modmain.lua scripts/mods.lua(179,1) Mod: InfiniteClothes Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: InfiniteClothes Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: InfiniteClothes Loading modmain.lua scripts/mods.lua(179,1) Mod: workshop-174345915 (Craftable Gears) Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: workshop-174345915 (Craftable Gears) Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: workshop-174345915 (Craftable Gears) Loading modmain.lua LOADING LUA SUCCESSscripts/playerdeaths.lua(79,1) PlayerDeaths loaded morgue 446 scripts/playerprofile.lua(477,1) loaded profile scripts/playerprofile.lua(541,1) bloom_enabled true scripts/saveindex.lua(99,1) loaded saveindex scripts/gamelogic.lua(1162,1) OnFilesLoaded() scripts/gamelogic.lua(1151,1) OnUpdatePurchaseStateComplete scripts/gamelogic.lua(148,1) Unload FE scripts/gamelogic.lua(150,1) Unload FE done scripts/mods.lua(269,1) Mod: Drok Registering prefabs scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/drok scripts/mods.lua(279,1) Mod: Drok drok scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/wigstan scripts/mods.lua(279,1) Mod: Drok wigstan scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/wigstanfull scripts/mods.lua(279,1) Mod: Drok wigstanfull scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/wigstanstone scripts/mods.lua(279,1) Mod: Drok wigstanstone scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/beefalo_hide scripts/mods.lua(279,1) Mod: Drok beefalo_hide scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/paintedrock scripts/mods.lua(279,1) Mod: Drok paintedrock scripts/mods.lua(279,1) Mod: Drok paintedrock_placer scripts/mods.lua(275,1) Mod: Drok Registering prefab file: prefabs/redpaint scripts/mods.lua(279,1) Mod: Drok redpaint scripts/mods.lua(292,1) Mod: Drok Registering default mod prefab scripts/mods.lua(269,1) Mod: Where's My Beefalo (Where's My Beefalo?) Registering prefabs scripts/mods.lua(292,1) Mod: Where's My Beefalo (Where's My Beefalo?) Registering default mod prefab scripts/mods.lua(269,1) Mod: n_tools (N Tools) Registering prefabs scripts/mods.lua(292,1) Mod: n_tools (N Tools) Registering default mod prefab scripts/mods.lua(269,1) Mod: InfiniteClothes Registering prefabs scripts/mods.lua(275,1) Mod: InfiniteClothes Registering prefab file: prefabs/hats scripts/mods.lua(279,1) Mod: InfiniteClothes strawhat scripts/mods.lua(279,1) Mod: InfiniteClothes tophat scripts/mods.lua(279,1) Mod: InfiniteClothes beefalohat scripts/mods.lua(279,1) Mod: InfiniteClothes featherhat scripts/mods.lua(279,1) Mod: InfiniteClothes beehat scripts/mods.lua(279,1) Mod: InfiniteClothes minerhat scripts/mods.lua(279,1) Mod: InfiniteClothes spiderhat scripts/mods.lua(279,1) Mod: InfiniteClothes footballhat scripts/mods.lua(279,1) Mod: InfiniteClothes earmuffshat scripts/mods.lua(279,1) Mod: InfiniteClothes winterhat scripts/mods.lua(279,1) Mod: InfiniteClothes bushhat scripts/mods.lua(279,1) Mod: InfiniteClothes flowerhat scripts/mods.lua(279,1) Mod: InfiniteClothes walrushat scripts/mods.lua(279,1) Mod: InfiniteClothes slurtlehat scripts/mods.lua(279,1) Mod: InfiniteClothes ruinshat scripts/mods.lua(275,1) Mod: InfiniteClothes Registering prefab file: prefabs/sweatervest scripts/mods.lua(279,1) Mod: InfiniteClothes sweatervest scripts/mods.lua(275,1) Mod: InfiniteClothes Registering prefab file: prefabs/trunkvest scripts/mods.lua(279,1) Mod: InfiniteClothes trunkvest_summer scripts/mods.lua(279,1) Mod: InfiniteClothes trunkvest_winter scripts/mods.lua(292,1) Mod: InfiniteClothes Registering default mod prefab scripts/mods.lua(269,1) Mod: workshop-174345915 (Craftable Gears) Registering prefabs scripts/mods.lua(292,1) Mod: workshop-174345915 (Craftable Gears) Registering default mod prefab scripts/gamelogic.lua(164,1) LOAD BE Could not preload undefined prefab 0x350a87f2 (note)Could not preload undefined prefab 0x350a87f2 (note)Could not preload undefined prefab 0x350a87f2 (note)scripts/gamelogic.lua(172,1) LOAD BE: done MiniMapComponent::AddAtlas( minimap/minimap_data.xml )MiniMapComponent::AddAtlas( ../mods/Drok/minimap/drok.xml )MiniMapComponent::AddAtlas( ../mods/Drok/minimap/wigstan.xml )MiniMapComponent::AddAtlas( ../mods/Drok/minimap/wigstanstone.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/mandrake.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/babybeefalo.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/beefalo.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/carrot_planted.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/chester_eyebone.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/flint.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/rabbithole.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/rocky.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/red_mushroom.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/green_mushroom.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/blue_mushroom.xml )MiniMapComponent::AddAtlas( ../mods/Where's My Beefalo/minimap/lightninggoat.xml )scripts/gamelogic.lua(493,1) Loading Nav Grid scripts/modindex.lua(85,1) ModIndex: Load sequence finished successfully. Reset() returning../mods/Drok/images/saveslot_portraits/drok.tex is 120x104 but compressed textures must have power of 2 dimensions.../mods/Drok/images/selectscreen_portraits/drok.tex is 188x284 but compressed textures must have power of 2 dimensions.../mods/Drok/images/selectscreen_portraits/drok_silho.tex is 188x284 but compressed textures must have power of 2 dimensions.HttpClientWriteCallback (0x06255EDA, 1, 74, 0x0643F848)HttpClientWriteCallback READ 74 (74 total)QueryServerComplete no callback...ve/data/../mods/Drok/scripts/prefabs/paintedrock.lua:50: attempt to index field 'AnimState' (a nil value)LUA ERROR stack traceback: C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/../mods/Drok/scripts/prefabs/paintedrock.lua(50,1) in function 'fn' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/mainfunctions.lua(126,1) =[C] in function 'SpawnPrefab' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/mainfunctions.lua(160,1) in function 'SpawnPrefab' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/components/builder.lua(258,1) in function 'DoBuild' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/actions.lua(559,1) in function 'fn' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/bufferedaction.lua(19,1) in function 'Do' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/entityscript.lua(880,1) in function 'PerformBufferedAction' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/stategraphs/SGwilson.lua(1485,1) in function 'ontimeout' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/stategraph.lua(458,1) in function 'UpdateState' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/stategraph.lua(515,1) in function 'Update' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/stategraph.lua(111,1) in function 'Update' C:/Users/Lorenzo/Games/Steam/steamapps/common/dont_starve/data/scripts/update.lua(127,1)scripts/frontend.lua(723,1) SCRIPT ERROR! Showing error screen Force aborting... Any idea what i am doing wrong?Thanks! Link to comment Share on other sites More sharing options...
Mobbstar Posted October 9, 2014 Share Posted October 9, 2014 I got everything working so i decided to try the randomization.But whenever i try to build the cave paintings i get a crash.Thanks! You have two functions "fn"... Try moving the second one (the randomisation) into the first:local function fn(Sim) local inst = CreateEntity() inst.entity:AddTransform() inst.entity:AddAnimState() MakeObstaclePhysics(inst, .5) inst:AddTag("structure") inst.AnimState:SetBank("paintedrock") inst.AnimState:SetBuild("paintedrock") inst:AddComponent("inspectable") inst:AddComponent("characterspecific") inst.components.characterspecific:SetOwner("drok") inst.animname = names[math.random(#names)] inst.AnimState:PlayAnimation(inst.animname) inst.OnSave = onsave inst.OnLoad = onload return instend -- keep them looking the same in different sessionslocal function onsave(inst, data) data.anim = inst.animnameend local function onload(inst, data) if data and data.anim then inst.animname = data.anim inst.AnimState:PlayAnimation(inst.animname) endend Link to comment Share on other sites More sharing options...
QuickShot010 Posted October 9, 2014 Author Share Posted October 9, 2014 You have two functions "fn"... Try moving the second one (the randomisation) into the first:local function fn(Sim) local inst = CreateEntity() inst.entity:AddTransform() inst.entity:AddAnimState() MakeObstaclePhysics(inst, .5) inst:AddTag("structure") inst.AnimState:SetBank("paintedrock") inst.AnimState:SetBuild("paintedrock") inst:AddComponent("inspectable") inst:AddComponent("characterspecific") inst.components.characterspecific:SetOwner("drok") inst.animname = names[math.random(#names)] inst.AnimState:PlayAnimation(inst.animname) inst.OnSave = onsave inst.OnLoad = onload return instend -- keep them looking the same in different sessionslocal function onsave(inst, data) data.anim = inst.animnameend local function onload(inst, data) if data and data.anim then inst.animname = data.anim inst.AnimState:PlayAnimation(inst.animname) endend I get an error saying onsave is not declared. Link to comment Share on other sites More sharing options...
Mobbstar Posted October 9, 2014 Share Posted October 9, 2014 I get an error saying onsave is not declared. Move the functions "onsave" and "onload" above "fn". I should have realised that error myself... Link to comment Share on other sites More sharing options...
QuickShot010 Posted October 9, 2014 Author Share Posted October 9, 2014 Move the functions "onsave" and "onload" above "fn". I should have realised that error myself... Hooray! It worked! Thanks! Now the only thing left to do is create 3 more variants (i have 2 now).And make the item hammerable. Or should i make it mineable? they are rocks after all. But then i need to create 2 more artwork for every stage Ayways, thanks for your help! Also, the cave paintings are now of real animals, do you think it would be cooler if i change them to in-game animals? Does that add immersion? Link to comment Share on other sites More sharing options...
QuickShot010 Posted October 9, 2014 Author Share Posted October 9, 2014 Move the functions "onsave" and "onload" above "fn". I should have realised that error myself... I am making the animations for the rock paintings when i stumbled upon a problem.When the rock gets hit i want it to play an animation. local function onhit(inst, worker) inst.AnimState:PlayAnimation("hit") inst.AnimState:PushAnimation("idle")endThe problem is, i have multiple idle animations (prock1, prock2)How can i set it up so it plays the correct animation for prock1 and prock2?I also have different hit animations: prock1hit and prock2hit Do you have any idea? Link to comment Share on other sites More sharing options...
Mobbstar Posted October 9, 2014 Share Posted October 9, 2014 I am making the animations for the rock paintings when i stumbled upon a problem.When the rock gets hit i want it to play an animation. local function onhit(inst, worker) inst.AnimState:PlayAnimation("hit") inst.AnimState:PushAnimation("idle")endThe problem is, i have multiple idle animations (prock1, prock2)How can i set it up so it plays the correct animation for prock1 and prock2?I also have different hit animations: prock1hit and prock2hit Do you have any idea? Just use PushAnimation(inst.animname). The only problem with that is that the hit animation will look the same for every rock.The solution of brute force: make an indiviual hit animation for every kind of rock.The solution of smothering: have red dust cloud cloak the hit animation.The solution of lazy: don't use a hit animation. normal rocks don't have one either, after all... Link to comment Share on other sites More sharing options...
QuickShot010 Posted October 9, 2014 Author Share Posted October 9, 2014 Just use PushAnimation(inst.animname). The only problem with that is that the hit animation will look the same for every rock.The solution of brute force: make an indiviual hit animation for every kind of rock.The solution of smothering: have red dust cloud cloak the hit animation.The solution of lazy: don't use a hit animation. normal rocks don't have one either, after all... I'll make animations for each rock, it's no big deal.The problem is how do i link them correctly since they are in the same prefab file. EDIT: Never mind i need to read better EDIT 2: But when i use different hit animations i cant go with one name? Its hard to explain but do you know what i mean? Link to comment Share on other sites More sharing options...
_Q_ Posted October 9, 2014 Share Posted October 9, 2014 So what we have here ?rock_1 idlerock_1 hitrock_2 idlerock_2 hitthen you could pick random rock on build and save the numberand cuse the number to push, play anims inst.AnimState:PlayAnimation("hit_"..num) inst.AnimState:PushAnimation("idle_..num)something like that Link to comment Share on other sites More sharing options...
QuickShot010 Posted October 9, 2014 Author Share Posted October 9, 2014 So what we have here ?rock_1 idlerock_1 hitrock_2 idlerock_2 hitthen you could pick random rock on build and save the numberand cuse the number to push, play anims inst.AnimState:PlayAnimation("hit_"..num) inst.AnimState:PushAnimation("idle_..num)something like that This are the animation names: prock1prock1hitprock2prock2hit I can change the prefab names if that is easier.What do you suggest? Link to comment Share on other sites More sharing options...
_Q_ Posted October 9, 2014 Share Posted October 9, 2014 This are the animation names: prock1prock1hitprock2prock2hit I can change the prefab names if that is easier.What do you suggest? something like flower prefab but with save function for build number, so you can load itto use thishttp://www.lua.org/pil/3.4.html Link to comment Share on other sites More sharing options...
QuickShot010 Posted October 9, 2014 Author Share Posted October 9, 2014 something like flower prefab but with save function for build number, so you can load itto use thishttp://www.lua.org/pil/3.4.html So it would work if i use the names: prock1hitprock1prock2hitprock2 But how do i let the game recognize which hit animation it needs to play? Link to comment Share on other sites More sharing options...
QuickShot010 Posted October 9, 2014 Author Share Posted October 9, 2014 maybe with something like "hit" .. instanimnameis that possible? Link to comment Share on other sites More sharing options...
QuickShot010 Posted October 9, 2014 Author Share Posted October 9, 2014 HOORAY IT WORKED WITH THIS:local function onhit(inst, worker) inst.AnimState:PlayAnimation("hit" .. inst.animname) inst.AnimState:PushAnimation(inst.animname)end Link to comment Share on other sites More sharing options...
_Q_ Posted October 9, 2014 Share Posted October 9, 2014 So it would work if i use the names: prock1hitprock1prock2hitprock2 But how do i let the game recognize which hit animation it needs to play?Nevermind then:P Link to comment Share on other sites More sharing options...
QuickShot010 Posted October 9, 2014 Author Share Posted October 9, 2014 Nevermind then:P Thank you so much for your help, without the link to the lua programming site i would not have figured out how to link the correct hit animation to the correct idle animation.THANKS! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.