TheGreatCthulhu
Member
Posts: 213
Threads: 10
Joined: Oct 2010
Reputation:
32
|
RE: Player doesn't drain sanity from darkness
From what I've seen, it works (darkens doesn't drain) when there are no monsters around, or when the monsters are initially unaware of your presence; it wont, however, stop sanity drain caused by looking at a monster.
If there are monsters behind obstacles, at unreachable places, then you can put a plane with a completely transparent texture in front of them (just make sure it's facing the right way) which will stop the engine from detecting that the Player is looking at an enemy, and then you can use collide callbacks and timers to simulate sanity drain when the player is in a specific area.
|
|
01-21-2013, 05:38 PM |
|