Allied and Axis wall flags


(hhhmmmmm) #1

Hi all, i’m looking for some large drapeing wall flags like in rtcw?
Anyone know where i can get an image of them, or better if they ripple like in rtcw, i think they are models in rtcw, in E.T we only have the spawn flags etc… as a model.


(MadMaximus) #2

if you look in the models/multiplayer/flagpole folder in the pak0.pk3 you will find some textures for the flag models i believe…

i found these while looking for the same thing a while back, if you use irfanview to crop and resize em in the way you want, they could pass for decent looking wall/ceiling hanging flags.

i used the axis one here, and resized it to fit ( stretched it ) and made the ripple with a shader so it slightly waves as if in the breeze.

for the allied one, it would look better to chop the top and bottom off and resize it to hang sideways down for a more flag type of look.

EDIT: added this quickly, i did a crop/resize of the allied one to show what i mean,

and for the shader i used a chopped piece of the shader file from the siwa canvas,


//
// altered siwa canvas shader for the flutter-flag effect
//

textures/my_map/allied_wall_flag
{
	qer_editorimage textures/my_map/allied_wall_flag.jpg
	cull disable
	deformVertexes wave 100 sin 0 1 0 .4
	deformVertexes wave 30 sin 0 1 0 .1
	nofog
	surfaceparm alphashadow
	surfaceparm nomarks
	surfaceparm trans
	tessSize 64
	implicitMap textures/my_map/allied_wall_flag.jpg
}
textures/my_map/axis_wall_flag
{
	qer_editorimage textures/my_map/axis_wall_flag.jpg
	cull disable
	deformVertexes wave 100 sin 0 1 0 .4
	deformVertexes wave 30 sin 0 1 0 .1
	nofog
	surfaceparm alphashadow
	surfaceparm nomarks
	surfaceparm trans
	tessSize 64
	implicitMap textures/my_map/axis_wall_flag.jpg
}

it’s all sd’s artwork and such, and it look’s decent depending on how big/long you make your wall flags.

here is the allied flag redone at 256x256 which i used for the example,


for the axis one just use the one in the pk3.


(FireFly) #3

They’re not models, a shader creates the ripple effect. I’m using one for my current ET map.
Here’s the shader I used :


textures/yourmapname/yourtexturename
{
	surfaceparm alphashadow
	deformVertexes wave 10 sin 0 2 0 .2
	cull twosided
	{
		map textures/yourmapname/yourtexturename.tga
		alphafunc ge128		
		rgbGen vertex
	}
	{
		map $lightmap
		blendfunc gl_zero gl_one
		rgbgen identity
		depthfunc equal
	}

}

(hhhmmmmm) #4

Aint got time to try them shaders right now got guest on their way, but i’ll give it a try tomorrow tnx.


(MadMaximus) #5

aye… actually… u don’t need to use the allied flag from the pk3, as there are a lot of american flag pics on the net already, dunno why i did… it was there… i was there… and so on… :bash:

EDIT: actually… the allied flag from the pk3 is better as it retains that slanted texture look like in the axis flag… if the view was closer to the allied flag you would see this.


(hummer) #6

Moonkey has some nice axis flags in his frostbite map. I heard if you ask nicely, he’ll let you use them :slight_smile:


(MadMaximus) #7

i’m always polite… if not to the point right away… even though im canadian, I still remember when we had a queen =)