walk through brushes?

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
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?

Post 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.
Mirek
Colour Sergeant
Posts: 77
Joined: Mon Jul 08, 2002 2:12 am
Location: Melbourne, Australia
Contact:

Post 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
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:

Post by Innkeeper »

That worked like a charm! Thanks so much.
Mirek
Colour Sergeant
Posts: 77
Joined: Mon Jul 08, 2002 2:12 am
Location: Melbourne, Australia
Contact:

Post by Mirek »

You're welcome. Glad to be of some help. :D


Mirek
Mapping !!! Who needs sleep anyway !?!?!?
Post Reply