MF99K Posted February 17, 2016 Share Posted February 17, 2016 I'm working on a custom creature mod right now, and this creature is basically supposed to absorb heat. I looked at the heater component, but I couldn't figure out how to make this thing radiate an endothermic aura, especially since most of the functions related to coldness were local functions and I was hesitant to just copy them over in case I was doing things wrong. I'm also using the base code for hounds because of the ice hounds ice explosion, but there are certain things in the code I think need to be removed but I'm not completely sure. One last question, how do I set up 4-faced animations correctly in spriter? Link to comment Share on other sites More sharing options...
Muche Posted February 17, 2016 Share Posted February 17, 2016 (edited) Chilled amulet, Endothermic fire, Ice hat, Minifan and Thermal stone use inst.components.heater:SetThermics(false, true). Edited February 17, 2016 by Muche Link to comment Share on other sites More sharing options...
MF99K Posted February 17, 2016 Author Share Posted February 17, 2016 3 hours ago, Muche said: Chilled amulet, Endothermic fire, Ice hat, Minifan and Thermal stone use inst.components.heater:SetThermics(false, true). don't all of those need to be equipped though? (besides the fire) Link to comment Share on other sites More sharing options...
Muche Posted February 17, 2016 Share Posted February 17, 2016 Sure; amulet, ice hat and minifan need to be equipped and set heater.equippedheat, thermal stone needs to be in the inventory and sets heater.carriedheatfn, camp/endo-fires set heater.heatfn. They all are checked in the Temperature:OnUpdate. For a constant temperature heat source heater.heat seems to be sufficient. Link to comment Share on other sites More sharing options...
MF99K Posted February 17, 2016 Author Share Posted February 17, 2016 9 hours ago, Muche said: Sure; amulet, ice hat and minifan need to be equipped and set heater.equippedheat, thermal stone needs to be in the inventory and sets heater.carriedheatfn, camp/endo-fires set heater.heatfn. They all are checked in the Temperature:OnUpdate. For a constant temperature heat source heater.heat seems to be sufficient. alright, I think I've got that code down now. but what about getting 4-face animations to work? How do I set that up in the stategraph? 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