Does anyone know how that could be done? I haven't managed with the strip command or the spawn or die hooks.
Forum
CS2D Scripts Defusion map without bomb!?Defusion map without bomb!?
10 replies 1
Does anyone know how that could be done? I haven't managed with the strip command or the spawn or die hooks.
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
addhook("bombplant","_plant") function _plant(id,x,y) 	return 1 end addhook("drop","_drop") function _drop(id,iid,type,ain,a,mode,x,y) 	if iid == 55 then 		return 1 	end end
Happy Camper has written
I don't want it [bomb] to show up on the ground when I die.
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
addhook("drop","_drop") function _drop(id,iid,type,ain,a,mode,x,y) 	if player(id,"health")==0 then 		if iid == 55 then 			return 1 		end 	end end
Here you go, sir. That should work.
But I'm sure VaiN (owner of rewards server) would be able to tell you how to do that.
Livia has written
I would strip the bomb and draw its image on a player.
Same here. In fact even the select solution would be fine, you would not be able to drop or use.
I don't see how they could have removed it from items yet still have the player holding it on his back. It must be an image or bug.
Yates has written
I don't see how they could have removed it from items yet still have the player holding it on his back. It must be an image or bug.
It might be my memory that deceives me. It has happened before.
Trying to strip it results in an error, so that's not possible, unfortunately.
1