Jump to content

reduced accuracy in the dark


TheBlob2

Recommended Posts

a mod that reduces ranged weapon accuracy in the dark for npcs and the player. Like all characters have their energy weapon and guns skills reduced in dark environments, causing their weapon to wobble more, so less skilled characters will shoot blindly in the dark while more skilled characters can still shoot straight

Link to comment
Share on other sites

a mod that reduces ranged weapon accuracy in the dark for npcs and the player. Like all characters have their energy weapon and guns skills reduced in dark environments, causing their weapon to wobble more, so less skilled characters will shoot blindly in the dark while more skilled characters can still shoot straight

I'm not sure we have any functions to detect if an environment is dark. About the best I'm aware of, is a few conditions like the time (getCurrentTime) to see if it's night, and whether your outside (IsInInterior == 0).

Link to comment
Share on other sites

what about a script that checks if there are light sources nearby?

like it checks the specific light source static object?

 

That would be a task, there are so many light objects from ambient, to light sources, light beams, etc etc. But if your going to do some reference walking and test them against some form lists (or form type?), make sure to look at Lutana NVSE Plugin, by luthienanarion. It will make something like that significantly easier.

Link to comment
Share on other sites

 

what about a script that checks if there are light sources nearby?

like it checks the specific light source static object?

 

That would be a task, there are so many light objects from ambient, to light sources, light beams, etc etc. But if your going to do some reference walking and test them against some form lists (or form type?), make sure to look at Lutana NVSE Plugin, by luthienanarion. It will make something like that significantly easier.

 

 

does that mean you will make my request a reality?

Link to comment
Share on other sites

does that mean you will make my request a reality?

 

I would be a poor choice for something like this, there are people that can do this in a fraction of the time and frustration it would take me. I understand basic syntax and how some functions can be applied for hte results I want to achieve, but I am not a scripter per se and I just dabble a bit, nor do I have the time to devote to it :sad:

 

You might try Irswat, he's often looking for a scripting challenge. If he thinks it is a good idea, I bet he could put together something for you.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...