FLaggclip ?!?

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

Moderator: Moderators

Post Reply
Sandman1
Private
Posts: 6
Joined: Wed Jul 03, 2002 3:39 am
Location: 000000000000000
Contact:

FLaggclip ?!?

Post by Sandman1 »

When i load a texture from a flagg and i give it a common texturen my flagg allways shows up like wood when i shoot it.
How can i make it like a flagg as in the V2Base map?? that when you shoot it you dont see bulletholes in w00d.

Note: i used the carpetclip on the flagg and thats the prob of getting those damn bulletholes in wood.
Wich clipper too take please?

Sincere S1

PS: this site rules !
:D
Image
tstrait72
Second Lieutenant
Posts: 154
Joined: Tue Jun 04, 2002 1:25 am
Location: York, PA U.S.A.
Contact:

Post by tstrait72 »

May I ask why you need to clip your flag?
Toby, or not Toby, that is the question...

Staff Member
MoH Design
Sandman1
Private
Posts: 6
Joined: Wed Jul 03, 2002 3:39 am
Location: 000000000000000
Contact:

Post by Sandman1 »

I thougt it's needed?
i mean when i shoot i dont want to see them holes :( i wanna shoot like trough isnt there a clip then like the puddle or metal clip,but for flagg or curtains???
:D
Image
tstrait72
Second Lieutenant
Posts: 154
Joined: Tue Jun 04, 2002 1:25 am
Location: York, PA U.S.A.
Contact:

Post by tstrait72 »

Which flag are you using, or want to use?
Toby, or not Toby, that is the question...

Staff Member
MoH Design
Sandman1
Private
Posts: 6
Joined: Wed Jul 03, 2002 3:39 am
Location: 000000000000000
Contact:

Post by Sandman1 »

The flagg i want to use is "Nazibanner_eagle"

by the way,do you know where the other flaggs are? because i make prefabs for historical buildings,i mean i'm following real bleuprints and pictures that where token inside the bunkers now and then.
same goes for the allied buildings but that am i still researching :)
and later on i want to make perfect prefabs for MOD : britains finest

same again ; Bunkers.
Buildings.
Streets with them buildings in like they where.
But i still need to mail the head of the mod from britains finest and i hope he has some space for my workz.

Look here what flagg i mean

http://users.pandora.be/Sandman1/Flagg.htm


Friendly greets
:D
Image
tstrait72
Second Lieutenant
Posts: 154
Joined: Tue Jun 04, 2002 1:25 am
Location: York, PA U.S.A.
Contact:

Post by tstrait72 »

Ok, here is a file for you then:

New Flag

it has a modified shader for the flag (look at the last entry in flags.scr in the scripts folder of the .pk3) so the bullet holes don't show up and I included a .map and .pk3

I made a duplicate of the flag texture and renamed it nazbanner_eagle2.jpg and also the .dds file then all I did was add another entry at the bottom of the flags.scr file in the scripts folder of the .pk3 and changed the surfaceparm to noimpact

btw - the other flags are in the 'german' folder
Toby, or not Toby, that is the question...

Staff Member
MoH Design
User avatar
diego
Captain
Posts: 245
Joined: Sun Dec 21, 2003 10:47 pm

Post by diego »

Same subject but opposite problem:

I am making a metal texture and I want Metal bullet holes with sparks flying off like the ones you see when you shoot a barrel. I have the surfaceParm set to metal. I've tried copying the barrel shader, but that does not work.

I can use the metal clip texture in front of my metal wall, but that will only give me sparks. It won't give me the bullet holes with the appropriate sound effects.

Thanks.
Diego
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Show us your shader :D

btw you scared the hell out of me with this bump :wink: made me think Toby had returned to mohaa :wink:
Image
User avatar
diego
Captain
Posts: 245
Joined: Sun Dec 21, 2003 10:47 pm

Post by diego »

Here is my shader. I didn't want to start new threads like a good little noob. I'm also trying to get the environment map working on this thing. I posted that question under the "shader for metal reflection" thread. I'll try the suggestions for that post when I get home.

Thanks for the help.



textures/bktown/w_steel.tga
{
qer_keyword pipe
qer_keyword special
qer_keyword metal
qer_keyword rusted
surfaceParm metal

{
map textures/special/silverenv.tga
tcGen environment
}
{
map textures/bktown/w_steel.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}

{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
}
}
Diego
Post Reply