Jump to content

Recommended Posts

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

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

Before anyone helps this man: PSSSSSST LOOK IN THE HATS SCRIPT

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..

Edited by Mlkyduby

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 by Dryicefox

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...