Files

> > CS2D > Lua Scripts > Yates - Hitmarker Lua [Update]
Files overviewCS2D overviewLua Scripts overview

English Yates - Hitmarker Lua [Update] >

33 comments2 kb, 752 Downloads

old Yates - Hitmarker Lua [Update]

Yates
Reviewer Off Offline

> Little update, < you can put the ID's in a table which you want to show the hitmarker.

1
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.
]]--
_____________________________________________________________________________________________________

• Hitmarker •

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.

• The lower the enemy's health, the redder the marker gets.
• Random rotation.
• Nice little spot above your head.

> Credits:
user Majatek For the awesome sprite,

> You can use this and edit it for whatever you like. But please ask permission if you're going to upload it, thank you.

• How to install: •

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;
1
dofile("sys/lua/hit_marker.lua")
3) Add in sys/servertransfer.lst;
1
gfx/yates/lua/hit_marker.png
edited 5×, last 29.05.12 01:25:04 pm
Approved by Infinite Rain

Download Download

2 kb, 752 Downloads

Comments

33 comments
Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

EP
User Off Offline

ahh.. another useless and easy script

old

Yates
Reviewer Off Offline

The first hit is barely visible. I must agree that this wouldn't be the perfect thing to put on a standard server. But it is good for a Zombie server and random fun servers that people seem to like.

old

Navy Seal
User Off Offline

@arxi yea that is true, if you will make one hit, then you can just senselessly random at that direction
I like it!

old

krabob
User Off Offline

Nice indeed.
I like it!

old

oxytamine
User Off Offline

Script it nice, has no use due to unfair gameplay conditions.

old

4Vendetta
User Off Offline

Nice
I like it!

old

Majatek
User Off Offline

Awesome, now I know when I hit someone off in the far edges of the maps instead of not knowing who I hit due to the restricted view space! n__n
I like it!

old

dENd
User Off Offline

Stupid as hell.
This is useless.
I like it!

old

Navy Seal
User Off Offline

nice script =D

@chex there is already a hit sound in cs2d, but it is hard to hear because majority of weapons have louder audio than hitsound. Try to use silenced weapons and make a hit, you will hear a sound of a weapon and hitsound.
I like it!

old

Chex
User Off Offline

I wasn't asking for a hit sound, I know how to script. I was just saying I would personally use a hitsound over a hit marker. It's sometimes called "Feedback".
I like it!

old

Yates
Reviewer Off Offline

@user Chex: Then remove all the image shit and put a sound there. Simple.

old

Chex
User Off Offline

That's handy. I think that hitsounds are a bit more natural though, as it would be more subconcious than "HERES A MARK TO TELL IF YOU HIT".

But yeah that's just my opinion, and I guess anyone could make a hitsound script for themselves.
I like it!

old

Time
User Off Offline

Suxx.
I like it!
To the start Previous 1 2 Next To the start