Forum

> > CS2D > Scripts > Lasermine Mod/script
Forums overviewCS2D overview Scripts overviewLog in to reply

English Lasermine Mod/script

5 replies
To the start Previous 1 Next To the start

old Lasermine Mod/script

Sniper_x
User Off Offline

Quote
Hi all!
I need a lasermine script like in Zombie Plague mode from Counter-strike 1.6
I want to use for a Zombie Plague mode (in cs2d).
If I use Laser mine (from cs2d, weapon original) it only explodes not does a kill (for human/zombie)
Please !

P.S: I don't know to make "GOOD" scripts...
P.S2: Lasermine to be like a teamgate (when zombie put a lasermine, human will be killed, when a human put a lasermine, zombie will be killed).

old Re: Lasermine Mod/script

Avo
User Off Offline

Quote
1
2
3
4
5
6
7
8
9
10
11
addhook("hit","_hit")
function _hit(id,source,weapon)
	if weapon==87 then
		if player(id,"team")==player(source,"team") then 
			return 1
		else
			parse('customkill '..source..'  "Laser Mine Team Gate" '..id..'')
		end			
	end
	
end
It explodes always, but kill only if teams are diffrent.
It kills even when enemy get little hit (to set normal damage remove line parse...)

old Re: Lasermine Mod/script

Apache uwu
User Off Offline

Quote
Ah, so if I place a lasermine, I can walk through it without triggering it, while if my enemies walk through it, it explodes and they take damage.

Brill idea, if user Infinite Rain doesn't finish within a day or so I might make it √

old Commands/binds

Sniper_x
User Off Offline

Quote
Thx all guys!
But... if you can to make this script with binds like in cs 1.6
with: bind "button" +setlaser, bind "button" +dellaser.
And without to EXPLODE (like teamgate = a simple kill when you go in LASER)
Only if you can!

Anyway, thx very much!
edited 1×, last 21.05.12 07:43:10 pm
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview