no draw?

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
hogleg
General
Posts: 1577
Joined: Tue Sep 09, 2003 5:23 pm
Location: Down South Hillbilly Country

no draw?

Post by hogleg »

Can some1 point me to an explanation about no draw.

Thx
"all the governments in the world are corrupt and in the hands of the Illuminati"
User avatar
Jack Ruby
General
Posts: 1443
Joined: Fri Feb 07, 2003 12:20 am
Location: london

Post by Jack Ruby »

Well No Draw does exactly what it says, its not drawn. So if you want to make railings, grates, decking, wire fences that can be shot through, though still block a player. You texture all but one of the faces with no draw, then use an alpha'd texture on the one remaining face, I think in textures/general industrial theres a texture called deckgrate 2, the one used in V2 for the decking, ah check this thread...

/forum/viewtopic.php?t=5033
Philip II of Macedon sent a message to Sparta:
"If I win this war, you will be slaves forever."
The Spartan ephors sent back a one word reply: "If".
User avatar
hogleg
General
Posts: 1577
Joined: Tue Sep 09, 2003 5:23 pm
Location: Down South Hillbilly Country

Post by hogleg »

Thx Jack, So does Player clip perform the same function as no draw?

Can u shoot through player clip like u can on no draw?

Thx Jack
"all the governments in the world are corrupt and in the hands of the Illuminati"
User avatar
Jack Ruby
General
Posts: 1443
Joined: Fri Feb 07, 2003 12:20 am
Location: london

Post by Jack Ruby »

player clip texture will only block the player, so if you used it on say the deckgrate, you would be able to walk across it but grenades would go through, which cant be right. Use player clip to stop people from jumping over walls you wouldnt want them to be able to get over and similar situations like that.

edit, also some static models are not solid and you have to build your own solid brushes, say for a tank use the metal clip, for a wooden thing use the wood clip :)
Philip II of Macedon sent a message to Sparta:
"If I win this war, you will be slaves forever."
The Spartan ephors sent back a one word reply: "If".
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

No draw is also used on the sides of water brushes so that when you put two together you won't see a join line . You still have to put the water texture on the top and bottom of the brush . If you where to use chaulk instead the water will become solid . No draw does not make things solid like chaulk does . The textures used like the grate also have cull none I think it is in thier shader , which means it can be seen from both sides of the face it is on . The shader will have other surfaceparms too that make it solid or not . Like this one

textures/general_industrial/verticalbrace
{
qer_editorimage textures/general_industrial/crossbrace_vert1.tga
qer_keyword rusted
qer_keyword metal
qer_keyword masked
surfaceParm metal
surfaceParm fence
surfaceParm alphashadow
surfaceParm playerclip
surfaceParm monsterclip
surfaceParm nonsolid
cull none
nopicmip
{
map textures/general_industrial/crossbrace_vert1.tga
alphaFunc GE128
depthWrite
nextbundle
map $lightmap
}
}

this one includes playerclip but is also not solid .
Post Reply