Yo,
Im building a vampire kit. And it will turn stuff into custom vampires as well.
The main character with relevant kit and race vampire will die by a custom spell if exsposed to sunlight, if he is not wielding a nerfing ring called Daywalker Ring. And the vampire he turns will be the same.
But how do i determine if they are exsposed to sunlight?
I know hide in shadow dont work in sunlight. But it does not work if spotted by enemy as well.
I know there are many weather conditions.... Dusk to dawn, dawn to dusk, city, rainy forest, dungeon, etc? How do it see difference if the creature is in a tavern/house contra outside in the city during daylight?
Maby there is something in the scripts for vampire NPC's already in the game?
There are drow items who turn to dust if exsposed to sunlight? How is this set up? Just by leaving underdark? Or does it has actual sunlight code?
Is there sunlight factors? Such as Sunlight Sensitivity, sunlight exsposure in the game already?
How do i uncompile a script? Cause i cant read scripts already compiled^^
Any pointers?