[request] hitmark script?

S_hift

Veteran XX
some of the mods already give you sounds whenever you mid air or hit someone.

I'm wondering if there is an easy to edit script that I could play with to show a image in the center like a hitmark I'll rip the cod sound myself and upload and supply an appropriate hit marker image. I just need someone to do the scripting.

Code:
function remoteLegendz::Hit(%hit, %dist)
{
   //%hit = guys name
   //%dist = dist
   Client::centerPrint("<jc><f1>You landed a hit on <f3>"@%hit@"<f1> from <f3>"@%dist@"<f1> meters away!",8);
   
   //Here you could also attach and detach a hud with your hit marker
}

function Legendz::HitMarkC()
{
   remoteEval( 2048, Legendz::Hitmarker, 2048);
}

Event::Attach(eventConnected, Legendz::HitMarkC);

edit: here are the images and the sound file.
xeqruu.jpg

2d8nkop.jpg

http://download1218.mediafire.com/mxre69th9cvg/mqssmae374l20ob/Hitmarker+sound+shit.wav
 
Last edited:
this guy name opsayo once told me that this guy name emjay say this thing must b serverside

i believe these guy
 
it would be as simple as drawing the image when the button3 sound is activated (which is the hit confirm sound in annihilation.) and allowing it to appear for an 8th of a second

edit: it does have to be serverside but annihilation already has it built in with button3.wav
 
just because it can be done doesn't mean it should be done

if mav approves it i can put it, idc

i just think hit notifications will lead to people chaining more
 
Last edited:
Back
Top