Gabrieloup
Level: Roachling
Rank Points: 3
Registered: 10-16-2014
IP: Logged
|
Guard behavior according to player location in the dark, stealth-game-like (0)
If the player stands in the dark, guards will not react to you as if you had a invisible potion but you don't. As you gradually go to the light, guards will slowly move closer to you. For example, if you stand on a light tile that makes you appear slightly, but not obvious, guards will move once every 5 turns. However DO NOT MAKE THIS BEHAVIOR STANDARD because it will break many holds. Instead, make it an option that can be switched in the Room Settings. Can only be applied to tiles that were placed by the player; if the room itself is set as dark and the player holds a lantern, this behavior option will not work.
Optionally, there could also be extra sound behaviors as well. If you wade in water (not hiding in water, just simple wading), guards will hear you and will start chasing after you. Once you are in this "chase mode" you cannot reset it (unlike other stealth games like MGS and so on) because first if all it would be too hard to script all of this already and making a way to reset the guard behavior back to stealth mode would already be too hard, and second to reset their behavior just leave the room and go back to it. Guards will simply give up their search nice and easy.
There shouldn't be any "cone vision" or stuff like that, even though a guard is facing his back at you, if you move to the light he will sense you anyway. So no MGS action here either.
If your sword is drawn or not could also be taken into account, but that's optional.
____________________________
Unshattered like Iron.
Untamable like Water.
Unbeatable like Fire.
Unseen like Wind.
Unheard like Earth.
|