Mlkyduby Posted June 10, 2014 Share Posted June 10, 2014 Ok so everything up til now is working, sanity regen, player speed increased, hunger lowers a bit faster when worn. I just need to find a way to add a lighting effect (when worn) as of now the lighting effect only happens when it is on the ground...Anyone know how to get the hat to add lighting when worn? Link to comment https://forums.kleientertainment.com/forums/topic/37337-hat-mod/ Share on other sites More sharing options...
Dryicefox Posted June 11, 2014 Share Posted June 11, 2014 Ok so everything up til now is working, sanity regen, player speed increased, hunger lowers a bit faster when worn. I just need to find a way to add a lighting effect (when worn) as of now the lighting effect only happens when it is on the ground...Anyone know how to get the hat to add lighting when worn?Before anyone helps this man: PSSSSSST LOOK IN THE HATS SCRIPT Link to comment https://forums.kleientertainment.com/forums/topic/37337-hat-mod/#findComment-498058 Share on other sites More sharing options...
Mlkyduby Posted June 11, 2014 Author Share Posted June 11, 2014 (edited) Before anyone helps this man: PSSSSSST LOOK IN THE HATS SCRIPTSadly I cant find it lol.. I figured out how to add it to the character when worn though..now i jsut need to stop it from lighting when on the ground.. u.u edit: so i stopped the lighting during the day and when the hat is dropped..only problem now is when worn, the light will not turn on automatically, the player has to unequip and requip it. Problem with changing it from doing onequip instead of checking for GetClock():IsDusk() is if the hat is dropped..then it will light up..but it doesnt do this for changing to night..ugh just need to figure this last part before i release the mod for testing.. Edited June 11, 2014 by Mlkyduby Link to comment https://forums.kleientertainment.com/forums/topic/37337-hat-mod/#findComment-498122 Share on other sites More sharing options...
Dryicefox Posted June 11, 2014 Share Posted June 11, 2014 (edited) Sadly I cant find it lol.. I figured out how to add it to the character when worn though..now i jsut need to stop it from lighting when on the ground.. u.u edit: so i stopped the lighting during the day and when the hat is dropped..only problem now is when worn, the light will not turn on automatically, the player has to unequip and requip it. Problem with changing it from doing onequip instead of checking for GetClock():IsDusk() is if the hat is dropped..then it will light up..but it doesnt do this for changing to night..ugh just need to figure this last part before i release the mod for testing..look in the swap_lantern's files, it has an on and off switch. Edited June 11, 2014 by Dryicefox Link to comment https://forums.kleientertainment.com/forums/topic/37337-hat-mod/#findComment-498440 Share on other sites More sharing options...
Mlkyduby Posted June 11, 2014 Author Share Posted June 11, 2014 I managed to get everything working and added a few new featureshttp://forums.kleientertainment.com/files/file/787-sane-hat/ Plan to eventually add its own talk function like lucy has Link to comment https://forums.kleientertainment.com/forums/topic/37337-hat-mod/#findComment-498559 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