Author Topic: Non solid objects?  (Read 2859 times)

Firstinaction

  • Posts: 638
  • Turrets: +18/-131
    • F1rst16
Non solid objects?
« on: May 02, 2011, 05:12:13 pm »
How can you make plants non solid so you can walk through them(ex: tremor's giant plants)
And patches.  (ex: hanging pipes)

And grates- how can I make bottom of grate invisible?

CreatureofHell

  • Posts: 2422
  • Turrets: +430/-126
    • Tremtopia
Re: Non solid objects?
« Reply #1 on: May 02, 2011, 05:28:00 pm »
The plants are models so they won't be solid to begin with (unless you set a certain spawnflag).
I don't think patches are solid either, but I'll leave that for someone else to clarify.
Everything else is just using shaders with surfaceparm nonsolid.

Grates are done with shaders too.
« Last Edit: May 02, 2011, 05:30:27 pm by CreatureofHell »
{NoS}StalKer
Quote
<Timbo> posting on the trem forums rarely results in anything good

Plague Bringer

  • Posts: 3815
  • Turrets: +147/-187
Re: Non solid objects?
« Reply #2 on: May 02, 2011, 06:41:15 pm »
the top side of patches are solid.

first, you could either have a shader for every texture that you want to be nonsolid. you could copy any grate shader. alternatively, you could use the nonsolid shader in /common. i think that if a brush is textured with nonsolid, everything inside of it is effected.
U R A Q T