glass

  • Thread starter Thread starter Terriel
  • Start date Start date
T

Terriel

Guest
I am trying to make breakable glass, but i dont have func_breakable or anything like that, is there a way to get those? or is there another way?
 
you dont have to set it up just hit the reset configs button in the sdk menu and it should fix it
 
I'll reuse this thread rather than make a new one.

How do I make one way glass? Where one side is either reflective, foggy, or opaque and the other is a glass texture? I don't care if it can break or not, as the player shouldn't have a weapon yet.
 
archvilell said:
I'll reuse this thread rather than make a new one.

How do I make one way glass? Where one side is either reflective, foggy, or opaque and the other is a glass texture? I don't care if it can break or not, as the player shouldn't have a weapon yet.

I'd try different textures, one foggy glass on one side and one clear on the other. Nodraw on the sides.

No idea if that'd work though.
 
There is probably no way to make a reflective texture is there? Even if I did, and then I stood in front of it, I wouldn't be able to see myself, would I?

For instance, I'm trying to make an interrogation room. One side is transparent, however the other is a mirror. Is there another way to make a one-way window that won't look odd if one side is not reflective?
 
the other way to make it one way is to make two brushes in the same space, and then make one normal glass(all nodraw except one) and turn the other one into a displacment map. these can only be seen from one side. this will only work of course if you dont want breakable glass. you would still have to find a way to make mirrors, though.
 
how? I tried numerous things with water, but to no success. Whats your method?
 
you can make a mirror
make a texture with 100% reflection and no transparancy. I will test it myself.
add a env_cubemap on high resolution in the room, but you will not be able to see yourself in it :(

BTW - I keep getting errors with every func_breakable_surf I make! very odd stuff but Hammer reports "unused key value: lowerleft"
I get that with ANY glass I make. weird stuff.
 
yeah, i cant seem to make textures. they have to be in 32-bit color and for some bizarre reason, none of my image editing programs will support that. I have my display mode at 32-bit, but i dont know. if it works, and youre releasing it to the public, make sure to post that here. i wouldn't mind getting my hands on that. :)
 
Geronimous said:
you can make a mirror
make a texture with 100% reflection and no transparancy. I will test it myself.
add a env_cubemap on high resolution in the room, but you will not be able to see yourself in it :(

BTW - I keep getting errors with every func_breakable_surf I make! very odd stuff but Hammer reports "unused key value: lowerleft"
I get that with ANY glass I make. weird stuff.

You're supposed to have one face with the glass texture and the rest with nodraw.
 
Dead-Inside said:
You're supposed to have one face with the glass texture and the rest with nodraw.

oh wait... I guess I forgot to add NODRAW to the sides :S
lol.
 
no that's not it.
here is what I do:

I make a brush. all sides have the nodraw texture. I apply the glass texture (glasswindowbreak070b) to one side. I then tie it to entity func_breakable_surf. I use these values:
- Prop Data : glass.window
- surface type: glass
- material type: glass
- health: 5
- fragility: 200

the rest default as the material will determine those.
I still keep getting that same errorreport. I press fix and then it is fixed. but within seconds after fixing, I still get that error.
 
hello ive made my breakable glass it works fine to a degree the problem i am having is that when i am standing on 1 side of the glass and i shoot it the first hole will shatter the glass when i try to shoot through it again no more shatters and the bullet holes do not appear its like the bullets dont hit it.
i can jump through the window the side i am shooting and th eglass breaks away if i stand the oppasite side then it shoots through no bother as many times as there ia pane of glass left.
oh and another thing if any one has an answer (sorry for hijacking this post) when i set a prop in my world using prop_static or another command liek the the prop shows up but when i launch the game the prop isnt there am i using the wrong prop command or doing somthing else wrong. cheers for all the helpyou can give
 
Ok I have the same problem with the breakable glass and that crappy ass message that always comes up. PLEASE HELP SOME ONE.

The issue that the last guy had with the props...I had that problem too. heres the answer. Make startfadedistance on the prop -1 and then make endfadedistance to 0. Worked like a charm for me.
 
Hmm. The reflective 90% texture is pure white. It doesn't reflect anything. Or is that because I dont have lights?
 
Hey Geronimous, did you make that texture or.... just curious.
 
Since I can't figure out how to make a reflective material work (it just shows up white), I opted to make it a shiny-looking black. How do I make textures? I found a material that was almost all black, and it if it were shiny, I would have it made, but it isn't. Any ideas?
 
archvilell said:
Since I can't figure out how to make a reflective material work (it just shows up white), I opted to make it a shiny-looking black. How do I make textures? I found a material that was almost all black, and it if it were shiny, I would have it made, but it isn't. Any ideas?

Did you try it with light? Because I think you hit the problem right on the spot there.
 
hello got some of my props to stick they are showing up when i load th game but others arnt what am i doing wrong its like the table i put works fine stays but i put an ornament in the middle of the gras the one from the cs level in like the castle a sphere on a stand but when i load the game it wont stick ive put an info_lighting point in but that wont bind to itcan you helpoh and does any one know where to get some good textures from that are ready to us in hammer for cs i dont know gow to convert them so i need them ready done?? any ideas
 
Comrad, look at the post named "Where are my props??" It's already been answered.
 
nope did not create a glass material just yet... I am getting ver annoyed by this weird unexplainable error.

I disabled Smartedit for the properties and saw the keyvalue lowerleft, upperleft, lowerright and upperright. all caused errors. the keyvaleu "error" also caused an error. after deleting these keyvalues, I got the glass working. ONCE. It is driving me nuts. I compiled the map after getting it to work but when I returned to hammer it now keeps adding those keyvalues back. HORRIBLEEEEE!!!!!!!!

I'm gonna smak Valve around a bit with a large trout!!!
 
lowerleft

Hi,
Yep, I get this error too. No draw applied to all but
1 face, assigned it func_breakable_surf and then
I get the error -

Entity (func_breakable_surf) has unused keyvalue "lowerleft"

Help!

DoW
 
Here's a mirror material, that should work. It's not realtime reflection, but uses cubemaps.

Just make a brush, and texture 1 side with the mirror material, and place a cubemap at the center with a resolution of 256x256.
Note: to render a 256x256 cubemap, your screen resolution has to be at least 1280x1024. 128x128 will work fine on lower resolutions, but is less pretty.

It's not perfect, but it works.

By the way, this is incredible compression, a file of 22 KB compressed to not even 1 KB!! Funny thing is, when you try to compress an image file, it will barely do anything, but it made this VTF image a lot smaller.
 
This may sound dumb, but how do I get your material to work? I noticed it came in the folders hl2\materials\mirror, so my question is where should I put it and how do I get Hammer to recognize the new materials?
 
Back
Top