Team win (Counter-Strike, Hammer) Created 17 years ago2006-07-19 11:22:14 UTC by vbCrLf vbCrLf

Created 17 years ago2006-07-19 11:22:14 UTC by vbCrLf vbCrLf

Posted 17 years ago2006-07-19 11:22:14 UTC Post #190809
How can I do that when a player clicking a button, the CT for example will win? Maybe killing all the other team?

Thanks.
Posted 17 years ago2006-07-19 13:03:52 UTC Post #190827
What do you mean? like when they press a button, they automatically win?
Posted 17 years ago2006-07-19 15:19:53 UTC Post #190848
Yeah. I have a button ("button_target" enity) in my map. How can I do that if someone will click on this button CT will automatically win?
Posted 17 years ago2006-07-20 02:51:04 UTC Post #190896
impossible. and really bad for gameplay in cs.
Penguinboy PenguinboyHaha, I died again!
Posted 17 years ago2006-07-20 03:16:41 UTC Post #190899
Must be possible.
In my map the CT and the T are at diffrent places. So how can I kill anyone in a specific area?
Posted 17 years ago2006-07-20 03:25:15 UTC Post #190900
You could send a command to the console that kills the opposing team. I can't remember the name of the entity though. However, why would you want to do that? It'd be a pretty shitty CS map.
AJ AJGlorious Overlord
Posted 17 years ago2006-07-20 03:41:23 UTC Post #190901
Because you don't know what is that map... Its like a race. Its a building guarded by monsters (yeah, monsters in CS...), etc, and the first team that will kill the monters and press the button at the end of the building will win.

I'm using 1.6 and I think this entity is for source, but I'm not sure.
Posted 17 years ago2006-07-20 03:47:50 UTC Post #190902
How the hell do you have monsters in CS?!
Posted 17 years ago2006-07-20 03:51:56 UTC Post #190903
Because the server is mine, I can change him a little :P
But how can I kill anyone in a specific area?
Posted 17 years ago2006-07-20 04:13:22 UTC Post #190905
trigger_hurt... connected to a func_button maybe... you could place it outside the "button" area
Posted 17 years ago2006-07-20 04:18:51 UTC Post #190906
I tried it. But when the trigger hurt is a small area, its working. When its a little big, the game crashing.
Posted 17 years ago2006-07-20 04:27:41 UTC Post #190909
just put the trigger_hurt as a very thin laver on the bottom of the room. and on anything they could jump on to not touch the floor
Penguinboy PenguinboyHaha, I died again!
Posted 17 years ago2006-07-20 04:29:00 UTC Post #190910
I will try it... Thanks!
Posted 17 years ago2006-07-20 04:41:00 UTC Post #190913
I tried it and the game crushing at the loading :zonked:
Posted 17 years ago2006-07-20 04:44:43 UTC Post #190914
well make your map smaller or be evil and make the ceiling lower down to crush the players
Penguinboy PenguinboyHaha, I died again!
Posted 17 years ago2006-07-20 04:47:05 UTC Post #190915
I don't want to make my map smaller ;)
And I will know how to be evil, I will do it :P
Posted 17 years ago2006-07-20 04:52:18 UTC Post #190916
I set the target to to "env_explosive"s (that crushed the game before) but set the Magnitude to 100 (lower than before) and now that game is crushing but with error:
ED_Allock: no free edicts

EDIT: I think I found the point. I need to explode them one by one. I think he can't explode them in one time. How can I do it?
Posted 17 years ago2006-07-20 05:13:25 UTC Post #190917
Maybe make many trigger_hurt so it looks like a big one and then tie the button to all of them :biggrin:
Posted 17 years ago2006-07-20 05:15:31 UTC Post #190918
set the target not to the entity name, but to the name of the entity (i.e. if the env_explosive's name is "exploderer", than set button target to "exploderer".)
if you name a few entities the same name, they will all be triggered at the same time.
Penguinboy PenguinboyHaha, I died again!
Posted 17 years ago2006-07-20 05:19:14 UTC Post #190919
I know, that what I did before.
But I want to bomb them more than one time.
Posted 17 years ago2006-08-01 15:25:43 UTC Post #192220
ok i just installed hammer and you have to have func_button target an env_explosion in the env_explosion click repeatable and make the delay on the func_button like 1 second then keep spamming to button to kill the other spawn
Posted 17 years ago2006-08-02 06:31:06 UTC Post #192259
Read up on this tutorial. http://twhl.co.za/tutorial.php?id=37
You can then make things explode one by one.
And, that saves you the time of putting a trigger_hurt. :biggrin:
You must be logged in to post a response.