Gantries?!

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

Moderator: Moderators

Post Reply
Ramah Palmer
Warrant Officer
Posts: 131
Joined: Sun May 25, 2003 10:13 am
Location: Nottinghamshire: UK

Gantries?!

Post by Ramah Palmer »

Hi, I've asked this question before a while back and I never managed to get a working answer. Now my need is a little more urgent coz my map is nearing completion.
How do you make a gantry which bullets will pass through? I mean, go through the holes but not if it hits the metal?
I'm using the texture 'deckgrate set1' for my gantry and metal stairs on one side of a brush completely covered in 'nodraw'. Trouble is, it doesn't seem to naturally let bullets through like the 'secfence' texture I'm using elsewhere (built in exactly the same way).
I'm pretty sure it's the same texture used in V2 and other levels and bullets pass through it fine (as long as they don't hit the grill itself obviously).
Is there something else I have to do to it to make it work like that?
Thanks.
Mapping is just INCREDIBLY time consuming.
User avatar
Major Pain
Moderator
Posts: 346
Joined: Fri Mar 07, 2003 3:22 pm
Location: Epe, NL
Contact:

Post by Major Pain »

No, you really need the right texture for it. I don't know if it works, but you can try with "S" (Surface) and then turn Transparent on....but that's a way off guess...
.MAP Administrator
Image
Ramah Palmer
Warrant Officer
Posts: 131
Joined: Sun May 25, 2003 10:13 am
Location: Nottinghamshire: UK

Post by Ramah Palmer »

Do you mean translucent? I get no transparent surface texture available and I'm sure translucent isn't the answer for me. The only option there that looks like it might help me is 'fence' and I've already tried that one.

Am I using the right texture anyone? Does 'deckgrate set1' allows bullets to pas through? I'm 99 percent sure this is the texture used on the V2 gantries in the original.

Surely someone out there knows the answer to my problem?!
Please!!

Thanks.
Mapping is just INCREDIBLY time consuming.
rOger
Major
Posts: 290
Joined: Wed Feb 05, 2003 8:56 pm
Location: Sweden

Post by rOger »

Use the following shader

Code: Select all

textures/anything/newnamefortexttue
{
	qer_editorimage textures/general_industrial/vent_grill1.tga // change to that of deckgrate_set1  or whatever.
	qer_keyword metal
	qer_keyword wall
	qer_keyword masked
	surfaceparm fence
	surfaceparm metal
	surfaceparm alphashadow
	surfaceparm playerclip
	surfaceparm monsterclip
	surfaceparm nomarks
	cull none
	nopicmip
	{
		map textures/general_industrial/vent_grill1.tga // change to that of deckgrate_set1  or whatever, must have a alpha channel.
		depthWrite
		alphaFunc GE128
	nextbundle
		map $lightmap
	}
}
Looking for a good game? Play GO the ancient asian game of strategy.
Ramah Palmer
Warrant Officer
Posts: 131
Joined: Sun May 25, 2003 10:13 am
Location: Nottinghamshire: UK

Post by Ramah Palmer »

Cheers for the rapid answer m8, and I'm sure you'll have hit the nail on the head there... just got to work out how the hell to do it! :(
The only shader I have attempted so far was one to get a loading screen working (but I cannot get the damn pak3 thing to follow - mapping! Who the hell would do it!).
Ok, I suppose it's time to go and have a gander at the 'Custom Textures' tutorial then - that is where the info on shaders is located isn't it?

Thanks.
Mapping is just INCREDIBLY time consuming.
Ramah Palmer
Warrant Officer
Posts: 131
Joined: Sun May 25, 2003 10:13 am
Location: Nottinghamshire: UK

Post by Ramah Palmer »

Ok Roger, you are da absolute MAN! :D
Yeah! Went and did a swift tutorial and hey presto! It works!
Cheers a lot m8.
I cannot understand why the original texture wasn't made like this in the first place. :evil:

Thanks again.

Now all I have to sort out is my damn .pk3 problem and I'm away!
Mapping is just INCREDIBLY time consuming.
Post Reply