Portable Brick Wall ..... And then smashing that brick wall
Quote from Fracture on June 1, 2013, 3:08 pmOkey, so I have figured out how to make the portable surface with the brick_block wall overlay. But what i want to do is make it so when the player attempts to enter the portal, the wall is abruptly destroyed in front of them with clusters of concrete flying everywhere.
I can make the explosion easily, that's not the problem. The problem is the overlay will not stick to anything but a world surface. I have attempted using decals, but i found out that doesn't work for this sepcific situation. Then I tried making a func_brush with an areaportal in front of another func_brush with the brick_block and I found that the texture for the brick inexplicably hides the portal behind itself.
I will post pics after i get back from work, cause i havent the time right now.
Okey, so I have figured out how to make the portable surface with the brick_block wall overlay. But what i want to do is make it so when the player attempts to enter the portal, the wall is abruptly destroyed in front of them with clusters of concrete flying everywhere.
I can make the explosion easily, that's not the problem. The problem is the overlay will not stick to anything but a world surface. I have attempted using decals, but i found out that doesn't work for this sepcific situation. Then I tried making a func_brush with an areaportal in front of another func_brush with the brick_block and I found that the texture for the brick inexplicably hides the portal behind itself.
I will post pics after i get back from work, cause i havent the time right now.
Quote from FelixGriffin on June 1, 2013, 5:02 pmMake a func_brush with an overlay texture?
Make a func_brush with an overlay texture?
Quote from Lpfreaky90 on June 1, 2013, 5:22 pmFracture wrote:Okey, so I have figured out how to make the portable surface with the brick_block wall overlay. But what i want to do is make it so when the player attempts to enter the portal, the wall is abruptly destroyed in front of them with clusters of concrete flying everywhere.I can make the explosion easily, that's not the problem. The problem is the overlay will not stick to anything but a world surface. I have attempted using decals, but i found out that doesn't work for this sepcific situation. Then I tried making a func_brush with an areaportal in front of another func_brush with the brick_block and I found that the texture for the brick inexplicably hides the portal behind itself.
I will post pics after i get back from work, cause i havent the time right now.
?! what do areaportals have to do with them? areaportals are optimization things.
The way I would do it is put a func_brush with the nodraw texture; one unit thick in front of the wall; then the side that should be portaled should be textured with nodraw_portalable; give the func_brush a nice little name.
Now make a portal detector touching the nodraw_portalable face;
OnStarttouchportal; <func_brush>; kill;
Onstarttouchportal; !self; kill;
Onstarttouchportal; wall_explosion_relay; trigger;That should do.
I can make the explosion easily, that's not the problem. The problem is the overlay will not stick to anything but a world surface. I have attempted using decals, but i found out that doesn't work for this sepcific situation. Then I tried making a func_brush with an areaportal in front of another func_brush with the brick_block and I found that the texture for the brick inexplicably hides the portal behind itself.
I will post pics after i get back from work, cause i havent the time right now.
?! what do areaportals have to do with them? areaportals are optimization things.
The way I would do it is put a func_brush with the nodraw texture; one unit thick in front of the wall; then the side that should be portaled should be textured with nodraw_portalable; give the func_brush a nice little name.
Now make a portal detector touching the nodraw_portalable face;
OnStarttouchportal; <func_brush>; kill;
Onstarttouchportal; !self; kill;
Onstarttouchportal; wall_explosion_relay; trigger;
That should do.
Quote from Fracture on June 1, 2013, 10:06 pmwhen i said areaportal, i meant nodraw portable.
freudian slip, there. :p
And I think my method may have been overlooked. I am using the brick texture where there is plaster smudged all over the wall. Its an aesthetic requirement for a specific scene im doing
I cannot use it as an overlay because overlays do NOT stick to func brushes ingame, and when I used it as a texture for the actual func brush it created this glitch ingame where it sandwiched the portal between the plaster and the wall.I will be back at my home computer in 2 hours to post pics to show you what i mean
when i said areaportal, i meant nodraw portable.
freudian slip, there. :p
And I think my method may have been overlooked. I am using the brick texture where there is plaster smudged all over the wall. Its an aesthetic requirement for a specific scene im doing
I cannot use it as an overlay because overlays do NOT stick to func brushes ingame, and when I used it as a texture for the actual func brush it created this glitch ingame where it sandwiched the portal between the plaster and the wall.
I will be back at my home computer in 2 hours to post pics to show you what i mean
Quote from FelixGriffin on June 1, 2013, 10:17 pmDon't use an overlay, put the overlay texture on the func_brush. As in, open the face edit, choose the overlay texture, and right-click the brush. Then put that brush in front of the wall.
Don't use an overlay, put the overlay texture on the func_brush. As in, open the face edit, choose the overlay texture, and right-click the brush. Then put that brush in front of the wall.
Quote from Fracture on June 1, 2013, 11:56 pm*facepalm*
Am I speaking a foreign language here? I said I DID that and it glitched. See that blue tinge in the image? that's the portal i just placed. This happens when only one portal is present. If two are present, the glitch subsides temporarily
*facepalm*
Am I speaking a foreign language here? I said I DID that and it glitched. See that blue tinge in the image? that's the portal i just placed. This happens when only one portal is present. If two are present, the glitch subsides temporarily
Quote from FelixGriffin on June 2, 2013, 9:20 amThat's because of the placement of the nodraw_portalable. You put it level with the brick, when it should be level with the plaster.
That's because of the placement of the nodraw_portalable. You put it level with the brick, when it should be level with the plaster.
Quote from Fracture on June 2, 2013, 1:25 pmwhat? your telling me the two func_brushes need to occupy the same space? or are you just telling me to remove the gap? the gap was for the sake of showing the design in the image. There won't be a gap in the completion
what? your telling me the two func_brushes need to occupy the same space? or are you just telling me to remove the gap? the gap was for the sake of showing the design in the image. There won't be a gap in the completion
Quote from FelixGriffin on June 2, 2013, 2:37 pmYes, two func_brushes can occupy the same space. Why shouldn't they?
Yes, two func_brushes can occupy the same space. Why shouldn't they?
Quote from Fracture on June 3, 2013, 1:30 pmi thought that would actually prevent portal placement but, whatevs, if it works it works :p
EDIT: it totally didn't work
i thought that would actually prevent portal placement but, whatevs, if it works it works :p
EDIT: it totally didn't work