Jump to content
Sign in to follow this  
moleman657

Body Temperature script

Recommended Posts

Just wondering if its possible to make a script that forces the player to seek out heat sources during a mission. I think it was done in one of the 'Conspiracies' series, Conspiracies: Substance I believe.

Basically my mission is set on an Arctic research base and whenever the player is outside for too long they start to die, to prevent this they must seek out heat from fire or building interiors.

Share this post


Link to post
Share on other sites

First, this would belong to mission editing & scripting, not addons.

Second, not a single script but a scriptsuite. Main script would be a counter that counts down from, say 100 to zero slowly. When it goes below...uhm, let's take 20, damage is added to the player and when the counter reaches zero, the player dies.

This script should be influenced by factors that simulates heatsources. When a player is near a fire (should be possible to detect, there was/is a mod that handles player damage through heat from burning vehicles) or in a house. I guess to determine if a player is in a house, checking if player is within the buildings boundingbox should do the trick.

All in all, to make it work right it probably will require some complex scripting but it is solvable.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×