Forum

> > CS2D > General > Backstabbing in CS2D?
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Backstabbing in CS2D?

9 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

Umfrage Umfrage

Do you want backstabbing system in CS2D?

Nur registrierte Benutzer können abstimmen
Yes.
45,83% (11)
I don't care...
25,00% (6)
No.
29,17% (7)
24 Stimmen abgegeben

alt Umfrage Backstabbing in CS2D?

Enchanted
User Off Offline

Zitieren
Is it possible to add backstab into CS2D? Something like in Team Fortress 2, if you stand behind your enemy back, player spins his knife so it's facing ground with his blade. In this moment, you can instantly kill your enemy. I know that DC is trying to make CS2D look exactly like original CS, and if this thing will not be accepted by admin, is it possible to make Lua script for server?

alt Re: Backstabbing in CS2D?

DC
Admin Off Offline

Zitieren
HELL FUCKING NO!

yes it is possible with Lua and there are already scripts for that.

alt Re: Backstabbing in CS2D?

BetaM
User Off Offline

Zitieren
Yes, I was able to simulate such thing in Lua.

1
2
3
4
5
6
7
addhook("hit","backstab")
function backstab(id,s,w)
if  w==50 and player(id,"rot")>=player(s,"rot")-90 and player(id,"rot")<=player(s,"rot")+90 and player(id,"team")~=player(s,"team") then
		parse("customkill "..s.." BACKSTAB "..id)
		return 1
	end
end

EDIT: ninjas without lua =/

EDIT 2: Oh, and you get to weaponless state if you don't write "return 1"

alt Re: Backstabbing in CS2D?

Flacko
User Off Offline

Zitieren
You can't really back-stab someone in a top-down 2D game since there isn't any "behind" unless you're playing with FOW.

alt Re: Backstabbing in CS2D?

Ruirize
User Off Offline

Zitieren
mat5b hat geschrieben
Yes, I was able to simulate such thing in Lua.

1
2
3
4
5
6
7
addhook("hit","backstab")
function backstab(id,s,w)
if  w==50 and player(id,"rot")>=player(s,"rot")-90 and player(id,"rot")<=player(s,"rot")+90 and player(id,"team")~=player(s,"team") then
		parse("customkill "..s.." BACKSTAB "..id)
		return 1
	end
end

EDIT: ninjas without lua =/

EDIT 2: Oh, and you get to weaponless state if you don't write "return 1"


Eww that code is awful.

1
2
3
4
5
6
7
8
9
10
11
12
function hit(plr,splr,weapon,health,armour)
	if weapon == 50 then
		local plDir = player(plr,"rot")
		local splDir = player(splr,"rot")
		if math.abs(plDir-splDir) < 90 or math.abs(plDir-splDir) > 290 then
			parse("customkill "..splr.." Backstabbed "..plr)
			parse("killplayer "..plr)
			--return 0
		end
	end
end
addhook("hit","hit")

Never forget to tab, kids!

alt Re: Backstabbing in CS2D?

Vip3r
User Off Offline

Zitieren
Flacko hat geschrieben
You can't really back-stab someone in a top-down 2D game since there isn't any "behind" unless you're playing with FOW.


Agreed. Also, not many people prefer to play with Fog of War so theres not much point on the whole 'backstabbing' idea.

alt Re: Backstabbing in CS2D?

Leiche
Moderator Off Offline

Zitieren
Shanghaimi -Chet- Chen hat geschrieben
Perhaps the Reason for a Backstab Script was That the OP wanted to Face-chain-stab Everybody

Oh look a TF2 spy pro.
Naw seriously, Backstabbing in Cs2d isn't a good idea, because there are rarely any servers with FOW online.
Which is actually pretty sad.

alt Re: Backstabbing in CS2D?

Sync
User Off Offline

Zitieren
Leiche hat geschrieben
Shanghaimi -Chet- Chen hat geschrieben
Perhaps the Reason for a Backstab Script was That the OP wanted to Face-chain-stab Everybody

Oh look a TF2 spy pro.
Naw seriously, Backstabbing in Cs2d isn't a good idea, because there are rarely any servers with FOW online.
Which is actually pretty sad.
All competetive matches such as mixteams, clanwars, league matches, are played with FoW, most skilled players play with FoW. you are only seeing public servers, with $16000, designed for normal play..

even tough, backstabbing is a bad idea. would just please the the TF2 fanboys. besides, with FoW on, there's alot more other options of tactical gameplay, you don't need things such as a "backstab".
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht