Game Development Community

Changing crosshair

by Supernova · in General Discussion · 04/20/2009 (5:03 pm) · 2 replies

Hi,

I've been messing around with the Torque demo alot lately and i was just wondering if there is anyway with out compiling the engine (as i obvisouly don't have the source) to get the crosshair to change color when you mouse over an enemy or a friendly?

Got any code?

#1
04/21/2009 (12:43 pm)
bump
#2
04/21/2009 (1:33 pm)
The easy way would require a source change. But I can almost see a script method by using a ray cast to determine enemy/friendly status in combination with server and/or client commands to change the crosshair accordingly -- would be hacky though in my though experiment and it was just a thought only, I didn't do any testing to see if it would work.