Game Development Community

Help with invisible walls

by Jesse P · in General Discussion · 10/22/2007 (8:26 am) · 8 replies

I need help getting an invisible wall, I've set up a few things that I need to make so the player can't jump over or go up or through them. I just need an invisible wall. I've gone through several forums and tried the suggestions making both an interior (in Constructor) and also a model (in milkshape) with texture NULL and neither works. What am I doing wrong?
Thanks in advance

#1
10/22/2007 (8:35 am)
Try setting your texture to an alpha PNG instead of NULL (for DTS files with a collision mesh). Make sure that it doesn't accept lighting as well. No need having a wall with invisible shadows!
#2
10/22/2007 (9:01 am)
How would I set it to an alpha PNG? brand new at this stuff, thanks
#3
10/22/2007 (9:41 am)
What do you use to create your textures? I use Photoshop and The GiMP, though Paint.Net is pretty nifty for quick work.
#4
10/22/2007 (9:53 am)
I just threw together a pink 256 x 256 png in windows paint named NULL.png
#5
10/22/2007 (9:56 am)
I doubt paint supports transparencys.
#6
10/22/2007 (10:01 am)
I thought the engine simply looked for the name null and didn't render it, so do I need a transparent blank texture?
#7
10/22/2007 (10:11 am)
Yes, transparent texture is the way to go; that nice 'suggestion'...not this engine, that I've seen.... You'd have to code some functionality to do that....perhaps you're thinking of Half-Life? I think that engine had some beautiful texture vodoo going on. Procedural textures that randomly place tiling textures together to breakup long passages/wallls/etc...light generating textures, lot o cool stuf.

Good luck.

btw, 'who' suggested this[ NULL bitmap?] would work? What Forum?
#8
10/22/2007 (10:54 am)
The null suggestion is what I interpreted from reading this but now reading it again it's not the clearest. Also once I do get it to work how would I make it so bullets go through it and don't hit it? If the player shoots it and it hits an invisible wall it will look bad, any suggestions?