Meepenator Posted October 4, 2025 Share Posted October 4, 2025 So a friend asked me to use the bathat nightvision from hamlet on a character, and it took me a while but I finally got it to work properly and only work at night but the actual "nightvision" part doesn't (You can see everything, but the character is counted as in the dark, so they get hit by charlie still). I was wondering if I could get a second set of eyes on this to see where I went wrong. friend mod template.rar Link to comment https://forums.kleientertainment.com/forums/topic/168297-need-help-with-batnightvision/ Share on other sites More sharing options...
Bumber64 Posted October 4, 2025 Share Posted October 4, 2025 (edited) Don't see anything obvious. IIRC, the playervision component should handle nightvision darkness protection as long as the server is executing that part of the code. It may be worthwhile to use commands to verify that AllPlayers[1].components.playervision.forcenightvision is true from the perspective of the server. Edited October 4, 2025 by Bumber64 Link to comment https://forums.kleientertainment.com/forums/topic/168297-need-help-with-batnightvision/#findComment-1838554 Share on other sites More sharing options...
Meepenator Posted October 4, 2025 Author Share Posted October 4, 2025 39 minutes ago, Bumber64 said: Don't see anything obvious. IIRC, the playervision component should handle nightvision darkness protection as long as the server is executing that part of the code. It may be worthwhile to use commands to verify that AllPlayers[1].components.playervision.forcenightvision is true from the perspective of the server. Thank you, I'll check it out and get back to you! Link to comment https://forums.kleientertainment.com/forums/topic/168297-need-help-with-batnightvision/#findComment-1838559 Share on other sites More sharing options...
Meepenator Posted October 4, 2025 Author Share Posted October 4, 2025 SO I managed to get it working with another mod's code which really wasn't too different from my own so we're good now ig Link to comment https://forums.kleientertainment.com/forums/topic/168297-need-help-with-batnightvision/#findComment-1838614 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