walk through brushes?
Moderator: Moderators
-
Innkeeper
- Colonel
- Posts: 475
- Joined: Mon Nov 25, 2002 10:13 pm
- Location: NC, USA (about 7.5 klicks from the capital dome)
- Contact:
walk through brushes?
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.
Innkeeper - moderator
<img src="http://www.planetmedalofhonor.com/map/layoutimages/banner.jpg" border="0" />
Buy the best and cry only once
<img src="http://www.planetmedalofhonor.com/map/layoutimages/banner.jpg" border="0" />
Buy the best and cry only once
-
Mirek
- Colour Sergeant
- Posts: 77
- Joined: Mon Jul 08, 2002 2:12 am
- Location: Melbourne, Australia
- Contact:
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
Now the players will be able to walk though it.
Hope that helps
Mirek
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 notsolidHope that helps
Mirek
Mapping !!! Who needs sleep anyway !?!?!?
-
Innkeeper
- Colonel
- Posts: 475
- Joined: Mon Nov 25, 2002 10:13 pm
- Location: NC, USA (about 7.5 klicks from the capital dome)
- Contact:
That worked like a charm! Thanks so much.
Innkeeper - moderator
<img src="http://www.planetmedalofhonor.com/map/layoutimages/banner.jpg" border="0" />
Buy the best and cry only once
<img src="http://www.planetmedalofhonor.com/map/layoutimages/banner.jpg" border="0" />
Buy the best and cry only once