Yates - Hitmarker Lua [Update] 
33 comments

Code:
1
2
3
4
5
2
3
4
5
--[[
Example:
WeaponsTable = {32,51,74}
The weapons with the ID 32, 51 & 74 (M4A1, HE & Wrench) will display the hitmarker on hit.
]]--
Example:
WeaponsTable = {32,51,74}
The weapons with the ID 32, 51 & 74 (M4A1, HE & Wrench) will display the hitmarker on hit.
]]--
_____________________________________________________________________________________________________


It seems no one has done such a simple script before. And because I hate it when I have no idea if I'm hitting someone or not from a far distance I decided to make it.









1) Place hit_marker.png in the gfx/yates/lua folder. Create one if not already made.
2) Place the lua file in sys/lua and add in the server.lua file;
Code:
1
dofile("sys/lua/hit_marker.lua")
3) Add in sys/servertransfer.lst;
Code:
1
gfx/yates/lua/hit_marker.png
edited 5×, last 29.05.12 01:25:04 pm

Comments
33 commentsLog in!
You need to log in to be able to write comments!Log in
@
Black Wolf: If you mean multi-player, of course. Why not?


This reminds me of a time sniping across the courtyard on de_dust2. Oh, the screams of hacker when I knew exactly where they would be standing right next to their dispensers trrying to spawncamp.
/offtopic
I suppose arxi is right .. but unless a map is really bad, spamming into long sightlines isn't usually a good idea because on good maps they're easy to get out of before you take more than one hit(assuming m4a1/ak).
/offtopic
I suppose arxi is right .. but unless a map is really bad, spamming into long sightlines isn't usually a good idea because on good maps they're easy to get out of before you take more than one hit(assuming m4a1/ak).



You got the idea from battlefield/call of duty right? Because there is a thing like that.
@
EP: Easy, yes. Useless, no. No script is useless, it has a function. Mine is to make images appear when you hit someone.



The first hit is barely visible. [...]
That makes it better, you still can be hit and keep unnoticed by distracted randomly shooting people.