Stealth

Stealth
The sight portion of the stealth system will be made using Ray Casting. With this imaginary rays will be cast from a focal point on the creature or characters head. The character will “see” anything these rays interact with. Doing this we can set an event where If the ray interacts with the character it will perform a check to see the players stealth level. If the level is above the creatures threshold they will remain hidden. •Stealth level will be effected by:


 * Shadows


 * Line of Sight


 * Camouflage


 * Sound
 * •Running vs. Walking vs Crouching


 * •Armor type


 * •Environment (crunching leaves, etc)


 * Triggering these sounds will lower the characters stealth level for a short amount of time. If a character stealth level gets lowered below the threshold while within a creatures hearing radius when these are triggered they will be detected.


 * Scent


 * Different scents will effect how a creature reacts to you when you enter their detection radius. A predators scent will make a prey run, but it might attract mates of the predator. A neutral scent will just put the creature in alert mode while you are in their radius.


 * <--Game Mechanics