Game Development Community

Red color on scrreen upon death

by Jesse P · in Torque Game Engine · 08/07/2008 (11:29 pm) · 3 replies

Hey does anyone know where the code or script is located that handles the color on the screen when the player dies? The default red color that quickly displays when the player dies? Thanks

#1
08/08/2008 (2:54 am)
That would be in "server/scripts/player.cs" in the "function Armor::onDisabled(%this,%obj,%state)" function. There is also a flash defined in "function Armor::onDamage(%this, %obj, %delta)" function for when the player takes damage.
#2
08/08/2008 (11:27 am)
Thanks
#3
08/08/2008 (7:34 pm)
Anytime. :-)