pulsing brush

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
diego
Captain
Posts: 245
Joined: Sun Dec 21, 2003 10:47 pm

pulsing brush

Post by diego »

I have a ceiling in one of my rooms that pulses red just like that animated pulsing elevator switch. I don't mind it. It kind of fits with the wierd lighting I put in this room. Just wondering if anyone has an idea what I may have done to make it do that.
Diego
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

It may be one of the textures named "something something panel"? It has 2 different version, one normal, and one flashing red...

Example shader of custom pulsating texture:

Code: Select all

textures/vemork/pulsating
{
	qer_editorimage textures/vemork/editor_pulsating.tga
	{ // pulsating layer
		map textures/vemork/pulsating.tga
		blendFunc GL_SRC_ALPHA GL_ONE // this is an additive blend that uses alpha
		rgbGen wave sin 0.25 0.25 0 0.75
		alphaGen distFade 1024 512 // this makes the pulsating fade when you go away from it
	}
}
Admin .MAP Forums
Image
Head above heels.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Yep

Post by tltrude »

Just pick a different texture.
Tom Trude,

Image
User avatar
diego
Captain
Posts: 245
Joined: Sun Dec 21, 2003 10:47 pm

Post by diego »

Ah, it IS called altertop_pulse.

But I'm using the same texture on another part of the map and it isn't pulsing in that location. Maybe becaue the other one is outside?
Diego
Post Reply