Dateien

> > CS2D > Lua Scripts > Laser Pointer (Update 2)
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Laser Pointer (Update 2) >

39 Kommentare12 kb, 1.446 Downloads

alt Laser Pointer (Update 2)

archmage
User Off Offline

This will create a laser pointer. It has wall detection (so the laser stops at walls) and an option for player detection (lags if several players). To enable it set ALLOW_TO_CHECK_PLAYER_POINTER_COLLISION to true.

Changes:
• use F4 to activate/deactivate the pointer
• "laser end" suggested by KingRhody90
• slightly faster
• Fixed the lag (it will only lag with man players using a laser)
• the pointers no longer stop at obstacles
• now it can optionally stop at players

important
read the readme for installation instructions.
7× editiert, zuletzt 07.11.11 02:12:10
Zugelassen von DC

Download Download

12 kb, 1.446 Downloads

Kommentare

39 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

LUCI
User Off Offline

Crash when press F4

alt

FaZe_Fabian_MLG
BANNED Off Offline

its time to quickscope some players!
Ich mag es!

alt

Isaac42
User Off Offline

Good update!
Ich mag es!

alt

Vestas
User Off Offline

what do I do with the flare_fb and the plot file?

alt

dragon13
User Off Offline

Nice its good
Ich mag es!

alt

BATTLEKOT
User Off Offline

ou yeah!
Ich mag es!

alt

Jeferes
User Off Offline

Nice Laser Update!
Ich mag es!

alt

MikuAuahDark
User Off Offline

i test at blank map and what happend? LAG + Not responding
Ich mag es!

alt

Sniper_x
User Off Offline

COOL . The game , now like a real cs . But make lag and CS2D is Not Responding!!
Ich mag es!
1× editiert, zuletzt 19.01.12 15:02:55

alt

tom282f3
User Off Offline

This makes my server lags. LOL. BAD.
Ich mag es!

alt

Alistaire
User Off Offline

Lemme make you one which you can put on/off with comments --

----

change

1
addhook("serveraction", "action")

with

1
addhook("say", "saycommands")

and change

1
2
3
4
5
function action(id, a)
	if ( a == 3 ) then
		lsr_pntr_on[id] = not lsr_pntr_on[id]
	end
end

with

1
2
3
4
5
6
7
8
9
10
function saycommands(id,message)
	if message:sub(1,6)=="!laser" then
		if message:sub(8,9)=="on" then
			lsr_pntr_on[id] = true
		elseif message:sub(8,10)=="off" then
			lsr_pntr_on[id] = false
		end
	return 1;
	end
end

to make it turn on/off with saycommands
Ich mag es!
3× editiert, zuletzt 02.01.12 10:55:52

alt Idiot

ERROR_LT
User Off Offline

@user Omega Zero ,, I am not noob, you then. ,, <- Awesome combat you little Dork + if you dont know how to make it on/off by saying some kind of a command then stop saying that other people scripts are bad ! At least they make scripts than just say : This Script is bad BOO! So like I said Get a Life kid...
Ich mag es!

alt

tom282f3
User Off Offline

OMG: The best laser i can find!!!
@Omega Zero: Change it is achievable through lua editing.
Ich mag es!

alt

Omega Zero
User Off Offline

@user ERROR_LT: I am not noob, you then.
@user archmage: can make it to activate the laser and de-activate the laser by using commands, please?

alt

Mirash
User Off Offline

Wow. Good execution of code! I'm impressed.
Ich mag es!

alt Good job

ERROR_LT
User Off Offline

good job with the update to turn it on by pressing f4 + dont listen to Omega Zero hes some kind of a noob (just saying ;D) that wants to make everything worse. because what happens if your in a middle in a fire fight? you would get killed faster then you would write : !pointer on . So other words awesome job
Ich mag es!
Zum Anfang Vorherige 1 2 Nächste Zum Anfang