Page 1 of 1

walk through brushes?

Posted: Wed Nov 27, 2002 10:05 pm
by Innkeeper
Is there a way to make a brush with a texture like an iron pipe that the player can walk through? I want to make a railing with a gap in it without the gap looking unrealistically wide.

Posted: Wed Nov 27, 2002 11:07 pm
by Mirek
Hey Innkeeper,


In MohRadiant select the pipe brush and turn it into a script object, i.e. right click in any 2D view and select script/object. The brush should turn blue when not selected.

Give it a targetname - Select it again and open up the entity window - N key
Add the Key/Value

Key : targetname
Value: pipe1
- or whatever you want to name it

Then add this line at the beginning of your script, like just before the line ' level waittill spawn ' for example

Code: Select all

$pipe1 notsolid
Now the players will be able to walk though it.

Hope that helps


Mirek

Posted: Thu Nov 28, 2002 1:26 am
by Innkeeper
That worked like a charm! Thanks so much.

Posted: Thu Nov 28, 2002 1:36 am
by Mirek
You're welcome. Glad to be of some help. :D


Mirek