Texture and Spotlight Created 18 years ago2005-12-23 13:25:17 UTC by Parker89 Parker89

Created 18 years ago2005-12-23 13:25:17 UTC by Parker89 Parker89

Posted 18 years ago2005-12-23 13:25:17 UTC Post #154139
I have 2 problems at the moment. The first is and main problem is;
How do you create a wall so you cant run trough the wall, its invisible but you can shoot trough it, like throwing grenades through it?

I have a spotlight, with 2 lamps. I want to do so if u push a button the lamp works, and if u shoot the lamp so it break. the spotlight turns off.

That's wut i want to know for the moment.
Posted 18 years ago2005-12-23 13:29:19 UTC Post #154142
For the first issue, use a clip brush. Clip brushes are impassible to the player, but weapons can be dropped through them, and shots fired through them. (Add ZHLT.wad to your textures to have "CLIP" available)

The second problem: have a func breakable (your lamp) and set its "kill target" (or maybe its called "entity activated on trigger" I dont remember) to your light entity. This means when the func_breakable is targetted, the light entity is removed.
Posted 18 years ago2005-12-23 13:33:42 UTC Post #154143
you need a clip brush. search for 'clip' in texture browse.

have the button target the light, and name it. for the breakable light, have an invisible block around the light, and have it func_breakable. When its shot, have it trigger the light, and have it killtarget the switch.
Posted 18 years ago2005-12-23 13:34:45 UTC Post #154144
I got it, use the func_breakable with its "Target on break" set to your light entity.
Posted 18 years ago2005-12-23 13:38:19 UTC Post #154145
damn... you beat me to it!!
Posted 18 years ago2005-12-23 13:40:09 UTC Post #154146
I'm workin my way to getting the "forum award." I don't have anything shiny in my profile :(
Posted 18 years ago2005-12-23 13:42:27 UTC Post #154147
:biggrin: bribe seventh!!!

EDIT: sorry, getting / going off topic!!
Posted 18 years ago2005-12-23 14:51:29 UTC Post #154171
well, i got another problem now.. :/ im building cs maps... I tried to use the "clip" brush... I just made a box with the clip texture and used it and tryed to save the map but failed because of it... Doing it right or..? >.<
Posted 18 years ago2005-12-23 15:00:30 UTC Post #154172
Is clip being exposed to the void? if so, you will get an error. In case you dont know, the void is the black area surrounding the map. The void, in no way can be accessable or visible to the player.
Posted 18 years ago2005-12-23 15:08:39 UTC Post #154173
Dunno wut i did but it works...

But the spotlight thingy, Cant find the "kill target"... Wut to do??
Posted 18 years ago2005-12-23 15:37:20 UTC Post #154177
That property is pretty much only available on the trigger_relay entity. Use that to remove the switch for the light, not to remove the light itself. Just trigger the light to turn it off... killing it might do something nasty.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 18 years ago2005-12-23 15:37:36 UTC Post #154178
get the breakable to target a trigger_relay, then have that killtarget target the button
Posted 18 years ago2005-12-23 16:36:15 UTC Post #154191
Killing entities it is out of the question in a game where entities should reset every round...
Posted 18 years ago2005-12-23 16:59:36 UTC Post #154195
He didn't say that he's still mapping for the original question, though, just that he's now doing CS maps with clip brushes.
Seventh-Monkey Seventh-MonkeyPretty nifty
You must be logged in to post a response.