Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds
Watch MODSonair

Members Online

»
0 Active | 260 Guests
Online:

LATEST FORUM THREADS

»
New BF2 Mod
BF2 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 4
Category: CoD4 MP Mapping
CoD 4 mapping and level design for multiplayer.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Next Page
subscribe
Author Topic: Glass makes Walls see through
ToXiCuR3
General Member
Since: May 27, 2011
Posts: 10
Last: Sep 24, 2012
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Friday, May. 27, 2011 06:53 am
Heya all, I just started using the CoD4 Radiant and i can't seem to fix the glass in the windows. The glass seems to make the walls see through. See screenshot for example.



Can someone please help me fixing this. Thank you [wink]
Share |
cskiller86
General Member
Since: Nov 23, 2009
Posts: 528
Last: Oct 25, 2011
[view latest posts]
Level 6
Category: CoD4 MP Mapping
Posted: Friday, May. 27, 2011 07:57 am
How do you make your glass ? Do you texture every face of the brush with the glass texture or do you texture only the visible sides and caulk the rest ?
I remember I had this problem also and I used one of the two methods and fixed it. Can't remember which of the two is the solution, though (and I don't have the tools installed).

Also, is the glass brush the exact size of the hole in the wall or is it slightly bigger ? I think it has to be the exact size, so that the glass brush doesn't pass through the wall.
Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Friday, May. 27, 2011 08:56 am
it's either the caulk texture or the cullFace property of the glass material (you may create your own with cullFace none)
Share |
ToXiCuR3
General Member
Since: May 27, 2011
Posts: 10
Last: Sep 24, 2012
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Friday, May. 27, 2011 09:09 am
cskiller86 writes...
Quote:
How do you make your glass ? Do you texture every face of the brush with the glass texture or do you texture only the visible sides and caulk the rest ?
I remember I had this problem also and I used one of the two methods and fixed it. Can't remember which of the two is the solution, though (and I don't have the tools installed).

Also, is the glass brush the exact size of the hole in the wall or is it slightly bigger ? I think it has to be the exact size, so that the glass brush doesn't pass through the wall.


I'm using the glass texture called "com_glass_clear". yes it is the exact same size of the window hole, the only difference is that the glass brush is thinner than the wall. I tried all the sides in that texture, just one and the rest caulk, two sides glass and the wall-touching sides in the same texture as the wall. None of that worked.


Sevenz writes...
Quote:
it's either the caulk texture or the cullFace property of the glass material (you may create your own with cullFace none)


Caulk didn't work unless i did it wrong. What is the cullFace property??

Thank you both for your answers. [thumbs_up]
Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Friday, May. 27, 2011 10:04 am
okay, try this:
front and back - glass texture
sides - nodraw

you should also try other glass/transparent textures!


cullFace is a setting in Asset Manager. All stock textures are probably cullFace back, which means that it will be displayed on the face it is applied to.

cullFace front will draw it on the other side. E.g. if you textured a cube with this, it would have the texture on the inside walls.

cullFace none will display a texture on both sides. Patches in Radiant got only one visible side, but if you put a cullface none texture on it, you'll get it visible from both sides without having to copy and inverse the patch.

cullface none might solve your problem, but i recommend to solve your problem in radiant or by creating a custom glass texture.

when you compile your map, do you get any errors/warning? the glass brush could be corrupted...
Share |
ToXiCuR3
General Member
Since: May 27, 2011
Posts: 10
Last: Sep 24, 2012
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Friday, May. 27, 2011 10:28 am
Sevenz writes...
Quote:
okay, try this:
front and back - glass texture
sides - nodraw

you should also try other glass/transparent textures!


The "nodraw" worked perfectly thank you a million!! [thumbs_up]
Share |
maedhros89
General Member
Since: Mar 5, 2012
Posts: 6
Last: Aug 19, 2012
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Tuesday, Mar. 13, 2012 05:28 pm
Hi, I have the same problem, with a little add:

nodraw works perfectly, but I can't have any bullet impacts when I shoot directly on the glass brush.
I have tried different nodraws tex (nodraw_decal, nodraw_notsolid, nodraw_glass) with any result.
I really hope somebody can help me, it's driving me crazy!
thx a lot
Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Wednesday, Mar. 14, 2012 03:07 am
How did you compile map lighting?

On "fast", bullet impacts won't show, untick it for normal lights or tick "extra"
Share |
scillman
General Member
Since: Nov 23, 2006
Posts: 360
Last: Sep 1, 2012
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Friday, Mar. 16, 2012 05:58 am
maedhros89 writes...
Quote:
Hi, I have the same problem, with a little add:

nodraw works perfectly, but I can't have any bullet impacts when I shoot directly on the glass brush.
I have tried different nodraws tex (nodraw_decal, nodraw_notsolid, nodraw_glass) with any result.
I really hope somebody can help me, it's driving me crazy!
thx a lot

nodraw - This makes it non-solid
nodraw_glass - This makes it like glass, you can shoot through(like walls) but not walk through.

Always use nodraw_glass in this case!
Share |
maedhros89
General Member
Since: Mar 5, 2012
Posts: 6
Last: Aug 19, 2012
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Friday, Mar. 16, 2012 07:50 am
scillman writes...
nodraw - This makes it non-solid
nodraw_glass - This makes it like glass, you can shoot through(like walls) but not walk through.

Always use nodraw_glass in this case!



Sevenz writes...
Quote:
How did you compile map lighting?

On "fast", bullet impacts won't show, untick it for normal lights or tick "extra"





I have tried all this, with any result..maybe I made some mistakes with brushes
structure, I'll check this out.
Anyway, I changed texture and it works! Not the textures I want, but can work for now.

thx a lot to everyone!
Share |
Restricted Access Topic is Locked
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 MP Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»