Damage Indicator mod
Just curious if anyone has looked into this. I can't imagine it would be very difficult. Being a new member to the community I haven't had time to even open the spark editor yet to mess around in there.
So back in the CS days I remember mods that would indicate when you shot an enemey a number would appear indicating how much damage that shot did. Also quite common in other games like WoW with mods like scrolling combat text, and numerous other examples.
Being this a beta and that I am a new player, I often struggle with when I actually hit a marine/alien and if I did damage to them, I think this would help me a little, and give me a better understanding of how much damage certain weapons/attacks do.
Thoughts?
<i><!--sizeo:1--><span style="font-size:8pt;line-height:100%"><!--/sizeo-->
edit: corrected title --Zaggy<!--sizec--></span><!--/sizec--></i>
So back in the CS days I remember mods that would indicate when you shot an enemey a number would appear indicating how much damage that shot did. Also quite common in other games like WoW with mods like scrolling combat text, and numerous other examples.
Being this a beta and that I am a new player, I often struggle with when I actually hit a marine/alien and if I did damage to them, I think this would help me a little, and give me a better understanding of how much damage certain weapons/attacks do.
Thoughts?
<i><!--sizeo:1--><span style="font-size:8pt;line-height:100%"><!--/sizeo-->
edit: corrected title --Zaggy<!--sizec--></span><!--/sizec--></i>
Comments
<center><object width="450" height="356"><param name="movie" value="http://www.youtube.com/v/FzdD8flv5_g"></param><embed src="http://www.youtube.com/v/FzdD8flv5_g" type="application/x-shockwave-flash" width="450" height="356"></embed></object></center>
Naturally, the player should be able to change the text color/size to suit his needs. On-hit sounds compliment the damage indicators as well. Sadly, I lack the programming skills to write this mod, and hopefully a modder or even UWE could try to implement it.
I think the sound effect ruins the immersion of NS2 though. The sound effect is cool in a more casual/cartoonish (not sure if that is the right word) of a game like TF2. But I think the text only would be suitable for NS2.
The code for displaying the text is already there, like when you kill an enemeny you get the little +5 in yellow text in the middle of your screen. I think something like that but maybe in a different color either blue/red/green etc. would be perfect.
Anyone of the developers and/or modders have an idea of what the scale of a project like this would be? from the lack of responses I have seen in this thread, I assume no one has attempted this yet. It may be something I try to look at myself.
If you want to that mod you could only change the client.
But you can use the "WorldTextMessage" function like the resources getting displayed above the rt.
It's no hard thing to do such a Mod, you just need to hook the DamageMixin:DoDamage function (with the Hooking system from fsfod)
to get the Damage and then call
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->(target and damage can you get from DoDamage)
local player = target:GetControllingPlayer()
local worldmessage = BuildWorldTextMessage(ToString(damage), target:GetOrigin() + Vector(0, 1.5, 0))
Server.SendNetworkMessage(self, "WorldText", worldmessage, true)<!--QuoteEnd--></div><!--QuoteEEnd-->
and a little Message will apear above the player with the amount of damage.