CanadianCactus Posted April 12, 2016 Share Posted April 12, 2016 (edited) I was wondering if someone could please help. I am making a character mod and I want to give him night vision. Could someone give me a step by step process or a video. Thanks a lot in advance. Canadian_Cactus Edited April 12, 2016 by CanadianCactus Link to comment https://forums.kleientertainment.com/forums/topic/66304-can-someone-help/ Share on other sites More sharing options...
D4rkh0bb1T Posted April 13, 2016 Share Posted April 13, 2016 In you character prefab, under the master_postinit, try adding this : Spoiler --My Night Vision! inst.entity:AddLight() inst.Light:Enable(true) inst.Light:SetRadius(40) inst.Light:SetFalloff(.5) inst.Light:SetIntensity(0.9) inst.Light:SetColour(255/255,255/255,255/255) Link to comment https://forums.kleientertainment.com/forums/topic/66304-can-someone-help/#findComment-749421 Share on other sites More sharing options...
Mobbstar Posted April 13, 2016 Share Posted April 13, 2016 4 hours ago, D4rkh0bb1T said: In you character prefab, under the master_postinit, try adding this : Doesn't this mean that any character can use the light? How does Woodie do this? Link to comment https://forums.kleientertainment.com/forums/topic/66304-can-someone-help/#findComment-749513 Share on other sites More sharing options...
D4rkh0bb1T Posted April 13, 2016 Share Posted April 13, 2016 Right. It's a light more than a night vision! Link to comment https://forums.kleientertainment.com/forums/topic/66304-can-someone-help/#findComment-749520 Share on other sites More sharing options...
MF99K Posted April 13, 2016 Share Posted April 13, 2016 I'd advise looking at the Playable Pets mod. Most of those guys have night vision I think it's something like inst.nighvision = true or something like that but I'd advise checking cause I don't actually remember Link to comment https://forums.kleientertainment.com/forums/topic/66304-can-someone-help/#findComment-749525 Share on other sites More sharing options...
CanadianCactus Posted April 27, 2016 Author Share Posted April 27, 2016 On 4/13/2016 at 8:46 PM, D4rkh0bb1T said: In you character prefab, under the master_postinit, try adding this : Hide contents --My Night Vision! inst.entity:AddLight() inst.Light:Enable(true) inst.Light:SetRadius(40) inst.Light:SetFalloff(.5) inst.Light:SetIntensity(0.9) inst.Light:SetColour(255/255,255/255,255/255) Thank You Dark Hobbit! This helped me so much! I only wish I could return the favor! Link to comment https://forums.kleientertainment.com/forums/topic/66304-can-someone-help/#findComment-759465 Share on other sites More sharing options...
Maris Posted April 28, 2016 Share Posted April 28, 2016 What is done already? Do you have art completed? Link to comment https://forums.kleientertainment.com/forums/topic/66304-can-someone-help/#findComment-760479 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