Forum

> > CS2D > Scripts > Machete Explosions
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Machete Explosions

2 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Machete Explosions

iCe4147
User Off Offline

Zitieren
In most RP servers I have seen many with those machete slashes that causes explosions and made me interested in it. I would like to ask for a script that does this EXCEPT the explosions form the shape of a "SLASH" instead of a simple explosion, IF it is possible could the explosions occur where the cursor points?

Please and thank you

alt Re: Machete Explosions

Yasday
User Off Offline

Zitieren
1
2
3
4
5
6
7
8
9
10
addhook([[attack]],[[attacker]])
function attacker(id)
	local wpn = player(id,"weapontype")
	if wpn == 69 then
		local x,y,rot = player(id,"x"),player(id,"y"),player(id,"rot)
		x = x + math.sin(math.rad(rot)) * 100
		y = y - math.cos(math.rad(rot)) * 100
		parse([[explosion ]]..x..[[ ]]..y..[[ 10 100000 ]]..id)
	end
end

This is a normal explosion when you attack with machete.
You can't check where the cursor is, so you can't make an explosion there.
From a shape?
1× editiert, zuletzt 04.01.11 03:25:02
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht