After some weeks with lack of motivation, I finally made the long annouced gameplay video which you can watch below.
Here is a list of changes/things i've made :
Hearbeat Sensor :
As you can see, I've made a fully working heartbeat sensor including a map (which is similary to the HUD one) and a raw detector which indicades if there is a enemie inside of a raduis of 30m (the new maximal viewrange of the enemies).
Technically is mostly done in C++. I cast up 60 rays (Raycast command) per frame to determine if there is a enemy. Also I created a second HUD Radar instace to bring up the Radar on the HBSensor Screen which was possible trought changes at the radar code (HUDRadar.cpp)
Lightlevel :
You might noticed a small rectangle on the lower right side. This is a indicator for the Player visibility/brightness. I wrote a custom Flowgraph node as a handler for Lightsources. Every Node belongs to one Lightsource and triggers Light/True or Dark/False (a single raycast is used for the vis check; all nodes get linked in Flowgraph to a central node which handles the AI Viewrange and the Lightlevel indicator.
The system requires a additonal area trigger + shape for light spots (it was mathematically to hard for me to demitter if the player is inside the lightcone due the internal unit chaos of the cryengine) but is able to work stantalone with pointlights.
Nothings else to say actually, I'm trying my best to finish Storm before the release of Crysis 2.
Feel free for questions and suggestions! ![]()