Flaky Posted January 9, 2016 Share Posted January 9, 2016 Hello, i'm trying to make my own mod for DSI'm making a shop for players:I made .zip animation for shop without pig and added it in game as prefabAs for pigman - i used retextured campfirefire prefab - (it's just only for test, i will do my own fx component and fx prefab in future)I added burnable component for my shop and usedinst.components.burnable:AddBurnFX("pig_shop_pigman", Vector3(30, -100, -.1), "new_house")where "new_house" is one of the scene objects in spriter all works fine, but there is one problem:i have strange dupes of my pigmanFX every time i save and load the game! I also have the same result when i'm trying to use followsymbol with DS itemsfunction Burnable:AddBurnFX(prefab, offset, followsymbol)For example: inst.components.burnable:AddBurnFX("campfirefire", Vector3(0,.4,0), "stones_1" )in campfire prefabWhat's wrong? Could you give me some advance how to prevent self-clonning of my workers? Link to comment https://forums.kleientertainment.com/forums/topic/62189-animation-duplication-issue/ Share on other sites More sharing options...
Mobbstar Posted January 10, 2016 Share Posted January 10, 2016 I like the look of it! Do you remove the pigman at the end (e.g. by setting him not persistent)? If not, try it. You should be able to save all data in the actual shop (I guess). Link to comment https://forums.kleientertainment.com/forums/topic/62189-animation-duplication-issue/#findComment-707383 Share on other sites More sharing options...
Flaky Posted January 11, 2016 Author Share Posted January 11, 2016 I like the look of it! Do you remove the pigman at the end (e.g. by setting him not persistent)? If not, try it. You should be able to save all data in the actual shop (I guess).Thank you^^I have fixed this with your advice, now i'm working on the animations and there is another problem for me: there isn't animations like "idle_loop_side" or "idle_loop_down" for pigs - there is only "idle_loop".All others animation ("idle_creepy", "idle_happy", "idle_scared", "eat", "hungry") work fine, but with the "idle_loop" my pig is always turned in wrong direction now. How can i reverse him? Link to comment https://forums.kleientertainment.com/forums/topic/62189-animation-duplication-issue/#findComment-707721 Share on other sites More sharing options...
Flaky Posted January 11, 2016 Author Share Posted January 11, 2016 I have tried to use SetRotation and FacePoint on my pigman - but nothing happensI also experimented withinst:DoPeriodicTask(0.5, function() inst.Transform:SetRotation(180 + Math.sin(GetTime())*180)end)But there is no result too My mod is almost done, rotation of the pigman is the last thing to do Link to comment https://forums.kleientertainment.com/forums/topic/62189-animation-duplication-issue/#findComment-707850 Share on other sites More sharing options...
765784_1452794772 Posted March 6, 2016 Share Posted March 6, 2016 gdzie pobrać tego moda? Link to comment https://forums.kleientertainment.com/forums/topic/62189-animation-duplication-issue/#findComment-730564 Share on other sites More sharing options...
Arkathorn Posted March 7, 2016 Share Posted March 7, 2016 (edited) 17 hours ago, 765784_1452794772 said: gdzie pobrać tego moda? http://steamcommunity.com/sharedfiles/filedetails/?id=598351182 Edited March 7, 2016 by Arkathorn Link to comment https://forums.kleientertainment.com/forums/topic/62189-animation-duplication-issue/#findComment-730778 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now