Dateien

> > CS2D > Lua Scripts > Yates - Hitmarker Lua [Update]
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Yates - Hitmarker Lua [Update] >

33 Kommentare2 kb, 725 Downloads

alt 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
5× editiert, zuletzt 29.05.12 13:25:04
Zugelassen von Infinite Rain

Download Download

2 kb, 725 Downloads

Kommentare

33 Kommentare
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

EP
User Off Offline

ahh.. another useless and easy script

alt

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.

alt

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
Ich mag es!

alt

krabob
User Off Offline

Nice indeed.
Ich mag es!

alt

oxytamine
User Off Offline

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

alt

4Vendetta
User Off Offline

Nice
Ich mag es!

alt

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
Ich mag es!

alt

dENd
User Off Offline

Stupid as hell.
This is useless.
Ich mag es!

alt

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.
Ich mag es!

alt

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".
Ich mag es!

alt

Yates
Reviewer Off Offline

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

alt

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.
Ich mag es!

alt

Time
User Off Offline

Suxx.
Ich mag es!
Zum Anfang Vorherige 1 2 Nächste Zum Anfang