shoot through grids

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

Moderator: Moderators

Post Reply
(_F0N_)Pout
Private
Posts: 4
Joined: Thu May 15, 2003 11:05 pm

shoot through grids

Post by (_F0N_)Pout »

well i made some nice walk-on grids but,..
i can't shoot through them

what to do?

thx in advance
Last edited by (_F0N_)Pout on Fri May 16, 2003 8:07 am, edited 1 time in total.
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

look at the original shader files: in algiers, e.g., window_decor_set1 got parameters like:
surfaceparm metal
surfaceparm monsterclip
surfaceparm playerclip
surfaceparm fence
surfaceparm alphashadow

this should work with your texture as well.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Remember to use common/nodraw on all side that don't have the grid texture.
Image
(_F0N_)Pout
Private
Posts: 4
Joined: Thu May 15, 2003 11:05 pm

Post by (_F0N_)Pout »

well this is what i currently do:

i create the brush 1 gridsize thick
select the top face and apply the grid texture to it (with scaling)
then i select the bottom face and make it nodraw
the side faces i mostly give caulk or don't care about'em (since they arent seen)

Now, when i select the brush and apply 'weaponclip' on it this is what happens:

sometimes when walking under it the grid can't be seen, when walking on it, the grid is seen.
Occassionally i just fall through the grid :lol:

Seems like i don't use the correct sequence of applying the textures

is there somewhere a tutorial, or can someone explain in n00b-steps how it's done? :oops:

Thx in advance ( btw the grid scale and structure looks awesome thx to the tips on this forum, but as said, unfortunately the can't be shot through at this point)
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Make the brush and apply common/nodraw to the entire brush (also the sides). Later give the top face and possibly the bottom face the grate texture.
Image
(_F0N_)Pout
Private
Posts: 4
Joined: Thu May 15, 2003 11:05 pm

Post by (_F0N_)Pout »

thx very much
like that ppl will be able to shoot through the grid?
or do i have to give the top face some extra parameters for that?
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

depends

Post by tltrude »

It depends on the grill texture you use, some you can shoot through and others you can't. The ones you can shoot through only allow bullets to pass through the see-through parts of the grill work. So, the scale of the grill matters.

Hope that helps.
Tom Trude,

Image
(_F0N_)Pout
Private
Posts: 4
Joined: Thu May 15, 2003 11:05 pm

Post by (_F0N_)Pout »

thx all for the help
maybe a tutorial on this would be nice (looking @ agenda)
i'll see what i can do
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

if u want a grid that u can shoot through but not walk thought, and it's not been set up in the .tik file

make the grid a scipt->object
give in
key: targetname
value: grid

then add a player clip around it to fit all the dimensions

and add to the script

main:
thread level_setup1
end

level_setup1:
$grid notsolid
end

//as simple as that :D
hope this helps, prob not cos it's all foreign 2 me :-/
Post Reply