Forum

> > CS2D > Scripts > Unlimited explosive weapons/nades
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Unlimited explosive weapons/nades

5 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Unlimited explosive weapons/nades

EpicCrisis
User Off Offline

Zitieren
Does anyone know how to make an infinite mine/lasermine script? I gotta use it for my script and I don't know how to do it. Can anyone give me a sample? Any help will be appreciated.

alt Re: Unlimited explosive weapons/nades

Aura
User Off Offline

Zitieren
If you can figure out how some modes or whatever make it so PRG-7 rounds are unlimited, you could just change it to the lazer mines. I don't know how do do this since my computer is too crappy to run CS2D for long longer then a few minuts.

alt Re: Unlimited explosive weapons/nades

Starkkz
Moderator Off Offline

Zitieren
1
2
3
4
5
6
7
8
addhook("build","onBuild")
function onBuild(id,type,x,y,mode,oid)
	if type == 20 then -- Mine
		parse("equip "..id.." 77")
	elseif type == 21 then -- Laser Mine
		parse("equip "..id.." 87")
	end
end

This may work...

alt Re: Unlimited explosive weapons/nades

Yasday
User Off Offline

Zitieren
1
2
3
4
addhook([[projectile]], [[projectile_hook]])
projectile_hook = function(id, wpn, x, y)
	parse([[equip ]] .. id .. [[ ]] .. wpn)
end
will do the rest.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht