Rosten Posted September 22, 2013 Share Posted September 22, 2013 So, you know that thermometer mod i requested earlier? well im going to try my hand at it granted i have no coding knowledge but hey, i can learn So, i'd like to know if you could make a HUD element appear only when your holding a item, kinda like how the log meter only appears when woody is in beaver form, but with a item and how could you do that? Link to comment https://forums.kleientertainment.com/forums/topic/28055-mod-question/ Share on other sites More sharing options...
TheDanaAddams Posted September 22, 2013 Share Posted September 22, 2013 My guess would be to use the OnEquip and OnUnEquip functions to show or hide it. But I've never done anything with HUD elements like that, so, take it as a suggestion, not a guarantee. Link to comment https://forums.kleientertainment.com/forums/topic/28055-mod-question/#findComment-327768 Share on other sites More sharing options...
Rosten Posted September 22, 2013 Author Share Posted September 22, 2013 (edited) Wow, quick answer, thankswell, atm i believe i have the code that shows the temperature value can't test it tho because everytime i go to click mods in dont starve it crashes Edit- Well i guess while i wait for a fix for this im gonna read some lua tutorials and things Edit2- Why is every LUA tutorial for roblox? -.- Edited September 22, 2013 by Blazingice26 Link to comment https://forums.kleientertainment.com/forums/topic/28055-mod-question/#findComment-327771 Share on other sites More sharing options...
Heavenfall Posted September 22, 2013 Share Posted September 22, 2013 (edited) If you need help fixing something that crashes the game you need to give us much, much more information. Usually showing your code and uploading your log.txt found at C:\Users\yourusername\Documents\Klei\DoNotStarve/ is a good start. Edited September 22, 2013 by Heavenfall Link to comment https://forums.kleientertainment.com/forums/topic/28055-mod-question/#findComment-327776 Share on other sites More sharing options...
Rosten Posted September 22, 2013 Author Share Posted September 22, 2013 If you need help fixing something that crashes the game you need to give us much, much more information. Usually showing your code and uploading your log.txt found at C:\Users\yourusername\Documents\Klei\DoNotStarve/ is a good start.It's actually nothing with the mod, its just whenever i click the mods button on the don't starve menu screen the game simply crashes, i've looked it up and i know other people have been having this problem and i haven't been able to find a fix. Link to comment https://forums.kleientertainment.com/forums/topic/28055-mod-question/#findComment-327777 Share on other sites More sharing options...
Rosten Posted September 22, 2013 Author Share Posted September 22, 2013 Not sure if i should give this mod its own thread, mostly because its being made for the sake of my learning Link to comment https://forums.kleientertainment.com/forums/topic/28055-mod-question/#findComment-327785 Share on other sites More sharing options...
Kappa Posted September 22, 2013 Share Posted September 22, 2013 It's actually nothing with the mod, its just whenever i click the mods button on the don't starve menu screen the game simply crashes, i've looked it up and i know other people have been having this problem and i haven't been able to find a fix.I hope, it's the same issue: http://forums.kleientertainment.com/index.php?/topic/28008-mod-help/ Link to comment https://forums.kleientertainment.com/forums/topic/28055-mod-question/#findComment-327812 Share on other sites More sharing options...
Rosten Posted September 22, 2013 Author Share Posted September 22, 2013 I hope, it's the same issue: http://forums.kleientertainment.com/index.php?/topic/28008-mod-help/Yea, thanks a ton this should hopefully let me test my mod, and run other peoples mods Link to comment https://forums.kleientertainment.com/forums/topic/28055-mod-question/#findComment-327826 Share on other sites More sharing options...
Rosten Posted September 22, 2013 Author Share Posted September 22, 2013 Now that i've got most of it sorted, 'cept a small little bit... onto actually creating the item and making it work.. Link to comment https://forums.kleientertainment.com/forums/topic/28055-mod-question/#findComment-327841 Share on other sites More sharing options...
Rosten Posted September 22, 2013 Author Share Posted September 22, 2013 Well im reading the artists guide to making new characters/items im no artist but it will suffice It said that all items have to be based off of something, does that mean just like from a animation and looks perspective, or from a effects and damage and that sort of thing?if the former then ill be basing my item off of the spear and whenever you have it equipped it will show your current temperatureand while you have it equipped it'll degrade like a torch, i could possibly make it where everytime you right click you get a measure of your temperature and it would drain like 5% from it Link to comment https://forums.kleientertainment.com/forums/topic/28055-mod-question/#findComment-327847 Share on other sites More sharing options...
Craig_Perry Posted September 22, 2013 Share Posted September 22, 2013 Well im reading the artists guide to making new characters/items im no artist but it will suffice It said that all items have to be based off of something, does that mean just like from a animation and looks perspective, or from a effects and damage and that sort of thing?if the former then ill be basing my item off of the spear and whenever you have it equipped it will show your current temperatureand while you have it equipped it'll degrade like a torch, i could possibly make it where everytime you right click you get a measure of your temperature and it would drain like 5% from itunless you want to get into complex stuff (all the new mod tools for animations textures etc), it means having the texture and animations being based off another one. in terms of item abilities many things are possible with the right knowledge of coding Link to comment https://forums.kleientertainment.com/forums/topic/28055-mod-question/#findComment-327857 Share on other sites More sharing options...
Rosten Posted September 22, 2013 Author Share Posted September 22, 2013 Oh, by the way if anyone here knows a thing or two about art, i'd love for someone to help with the art, i made textures, but their really... really.. bad. Link to comment https://forums.kleientertainment.com/forums/topic/28055-mod-question/#findComment-327868 Share on other sites More sharing options...
Rosten Posted September 22, 2013 Author Share Posted September 22, 2013 Signing off for a bit, cya Link to comment https://forums.kleientertainment.com/forums/topic/28055-mod-question/#findComment-327904 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