Files

> > CS2D > Lua Scripts > C4 script by Loooser
Files overviewCS2D overviewLua Scripts overview

English C4 script by Loooser >

59 comments2 kb, 832 Downloads

old C4 script by Loooser

Loooser
User Off Offline

This is a small example what you can do with images.You can plant c4 and then explode it when a enemy walks over it.

plant a c4 with F2
and explode every C4 with F3

Important every player can only plant up to 32 C4 ,so dont think its a bug

This script is actually pretty useless since the satchel charge has been added
edited 3×, last 25.10.12 05:00:22 pm
Approved by Sparty

Download Download

2 kb, 832 Downloads

Comments

59 comments
Page
To the start Previous 1 2 3 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

244453211332112
User Off Offline

Can you reupload this folder please, I can't open it...
I like it!

old

Loooser
User Off Offline

so it you think that i should have made everything new write this script with nothing the same to any script and you will fail
and bevore you rate scripts that bad you should learn lua better to see that not everything can be new!

old

HaRe
User Off Offline

loooser has written
nothing is stolen if you look more carefuly


oh yeah? explain this to me

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
function refreshgfx(id,type,mode)
	local rndrot
	if type=="gasmask" then
		if mode==1 then
			if maskimg[id]==nil then
				maskimg[id]=image(maskpath,0,0,0)
			end
			rndrot=math.random(0,359)
			imagepos(maskimg[id],maskitms[id].x*32+16,maskitms[id].y*32+16,rndrot)
			imagescale(maskimg[id],0.9,0.9)
		elseif mode==0 then
			if maskimg[id]~=nil then
				freeimage(maskimg[id])
				maskimg[id]=nil
			end
		else
		print("incorrect MODE setting!")
		end
	end
end
<-- Real one

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function imgupdate(id,img,mode)
if img==1 then
         if mode==1 then
                    if c4img[id]==nil then
                       c4img[id]=image("sys/lua/C4.bmp",0,0,0)
                    end
                    local rot=math.random(0,359)
                    imagepos(c4img[id],c4[id].x,c4[id].y,rot)
                    imagescale(c4img[id],1,1)
         elseif mode==0 then
                 if c4img[id]~=nil then
                    freeimage(c4img[id])
                    c4img[id]=nil
                 end
         end
end
end
<-- Your one (a few changes but still its the same shit)

old

J4x
User Off Offline

cool script, I love to make people explode
I like it!

old

Caelenn
User Off Offline

Very good idea!
Like Meekstone on diablo mod in cs 1.6.
I like it!

old

Loooser
User Off Offline

nothing is stolen if you look more carefuly

old

enzomaxtay
User Off Offline

Good script, more explosions xDDD
I like it!

old

HaRe
User Off Offline

most parts are stolen by the Gas Mask script, Really bad


Quote
Have fun.
Please dont copy or reclaim as yours.

old

Loooser
User Off Offline

pm me for this questions

old

byengul
User Off Offline

how can i make it for only admins can use? btw very cool script
I like it!

old

Loooser
User Off Offline

max damage of explosoin is 200 but you can edit this script

old

Krimhorn
User Off Offline

Cool script, now someone can destroy BREAKABLE wall with using this 5/5
P.S. How many Damage deal C4?
I like it!

old

Promaster
User Off Offline

But nice scrips anyway. 4-8 Mines is enough.
I like it!

old

jonathan indonesia
User Off Offline

owww, i know now how to explode 'em. by F3.......
ok ok :lol:
I like it!

old

Loooser
User Off Offline

yes ok but as i said its an example which scripter can use for own scripts

old

Promaster
User Off Offline

Okey. But what happen if i And my brother Come in and Make 64 Mines. And Explode them at same time. Or maybe we are 3 then we make 96 Mines. It will probably make it lagg.
I like it!

old

Loooser
User Off Offline

no read the description you can only make 32 it wont lagg and you can explode them with F3 just read descriptions bevore asking

old

Promaster
User Off Offline

What happen when i Spam With that bomb on the server. The Server will be Lagg of...
I like it!

old

jonathan indonesia
User Off Offline

ummm how to ecplode the c4? are some player goto c4 and boom!! or nothing?
I like it!
To the start Previous 1 2 3 Next To the start