skelemom Posted September 3, 2016 Share Posted September 3, 2016 Notice: So, i'm no where near an expert coder and sometimes i really don't understand coding all together I have a character, Gamer, whom can transform into another form, Greed, that can hit harder and is monster..? Really, the transformation doesn't have a trigger- like health or nighttime? I was thinking having a button or something that could transform her into Greed. On top of this, i really wanted Gamer to, specifically during winter, create her own heat, similar to the heat stone and in the summer she overheats easier? But, i have no idea how to code this. So any help would be greatly appreciated. Link to comment Share on other sites More sharing options...
. . . Posted September 4, 2016 Share Posted September 4, 2016 (edited) 7 hours ago, skelemom said: create her own heat In master_postinit inst:AddTag("HASHEATER") inst:AddComponent("heater") inst.components.heater.heat = ? Edited September 4, 2016 by SuperDavid Link to comment Share on other sites More sharing options...
skelemom Posted September 4, 2016 Author Share Posted September 4, 2016 15 hours ago, SuperDavid said: In master_postinit inst:AddTag("HASHEATER") inst:AddComponent("heater") inst.components.heater.heat = ? Thank you! Would you happen to know how to code transformations too? Link to comment Share on other sites More sharing options...
. . . Posted September 4, 2016 Share Posted September 4, 2016 1 hour ago, skelemom said: Thank you! Would you happen to know how to code transformations too? Read this topic & you should learn how to add different forms. Link to comment Share on other sites More sharing options...
skelemom Posted September 5, 2016 Author Share Posted September 5, 2016 On 9/4/2016 at 1:25 PM, SuperDavid said: Read this topic & you should learn how to add different forms. i read that, but i've having issues with my Gamer.lua in prefabs? i'm very confused. I got a screenshot of the error before it crashed on me, if that helps? Link to comment Share on other sites More sharing options...
. . . Posted September 5, 2016 Share Posted September 5, 2016 That picture's super small I can't even read what it says xD... If you want I can really quickly add a keyhandler to your character then you can do stuff when you press a certain key, just give me a crash free version of your character mod (I hope you made backups before it started crashing) Link to comment 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