Button Texture Prob Created 18 years ago2006-01-10 17:06:05 UTC by TawnosPrime TawnosPrime

Created 18 years ago2006-01-10 17:06:05 UTC by TawnosPrime TawnosPrime

Posted 18 years ago2006-01-10 17:06:05 UTC Post #157309
Don't know if this has been done or not...anyway, I've got a button and I applied one of those animated textures to it. The problem I'm having is that it keeps switching textures on its own and I can stop it. How can I exorcise this unholy possession? ;)
TawnosPrime TawnosPrimeI...AM...CANADIAN!
Posted 18 years ago2006-01-10 17:12:24 UTC Post #157313
You could try triggering the entity that you applied the texture to (you'll need a +A version for that texture to switch to). I don't remember exactly the dynamics of animated textures for HL, but you could give that a try.
Posted 18 years ago2006-01-10 17:14:54 UTC Post #157316
I've Tried that. It has no effect. The button just keeps switching between the +0 and +1 textures. Btw, does it matter which of the two the button starts on?
TawnosPrime TawnosPrimeI...AM...CANADIAN!
Posted 18 years ago2006-01-10 17:15:16 UTC Post #157317
I'd make the button invisible, and have the entity behind it change due to the button's triggering.

Captain, can you have an entity that triggers itself, without errors?
Posted 18 years ago2006-01-10 18:04:27 UTC Post #157336
Of course you can. Multimanagers are often made to target themselves.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 18 years ago2006-01-10 19:00:24 UTC Post #157354
Uhh...I appreciate the help but shouldn't there be an easier solution to my flashing button prob?
TawnosPrime TawnosPrimeI...AM...CANADIAN!
Posted 18 years ago2006-01-10 19:12:15 UTC Post #157356
sorry no...

Captain P's way is pretty much the simplest way to do it.

I couullddd figure out a bunch of ways to do it, but if you can't understand what Captain P is saying, my attempts would be futile...
Posted 18 years ago2006-01-10 19:20:08 UTC Post #157357
Check if there is pair of this texture with only the +0 and +A, Usally there is. Textures with +1/+2...ect flicker.
Posted 18 years ago2006-01-10 19:24:45 UTC Post #157359
Make sure there's actually a +a version for the texture you applied to your button, bytheway... if there's no +atexturename texture, then obviously it can't switch to that version...

What texture did you use for your button then?
Posted 18 years ago2006-01-10 19:41:04 UTC Post #157362
It should work as Elon and CaptP said, If you want it to start off, texture the button with the +A texture of the sequence. To recap:

+Atexturename --texture shown when the button is not activated
+0 - +9texturename --animated series to show when button is on.

Make sure your button properties are correctly set up as well--time to reset, remain on, or toggle accordingly.

More info on texture types here.
Posted 18 years ago2006-01-10 19:49:41 UTC Post #157364
No Bevel texture description in there! :cry:

Edit:

I found two descriptions to the Bevel texture:
Rabid's description: It acts as NULL but doesn't expand when generating clip hulls, if I remember correctly. Not a commonly used texture there.
hazardous!'s description: Ever notice those 'Sticky Edges'? Those appear, because of a crappy algorithm for the clipping-hull-generation. XP-Cagey, the quy who also fixed it, wrote an article about the problem and added the Texture, so you can get rid of those edges yourself.
Posted 18 years ago2006-01-10 19:56:37 UTC Post #157370
OK...I do think we are getting closer.

I'm using the ~CRETESTCH01A texture and my button starts w/ the +1 version. I've got Toggle on, Time to Reset is 0 (tested w/ 5 to no effect) and I have no idea what perameter you mean by "remain on".

I'll describe the 'bug' better. Basically, the button is switching between the two versions of the text about 4 or 5 times a sec. What the button controls, though, only occurs when I activate the button.

Oh, thanx for the texture link rowley...I was lookin' for somethin' like that b4.
TawnosPrime TawnosPrimeI...AM...CANADIAN!
Posted 18 years ago2006-01-10 20:03:07 UTC Post #157373
If toggle is "on", any of the time to reset paramaters are nullified.

other values for "time to reset":
-1 remains on
0 no delay
1,2,3...waits that many seconds to reset.
Posted 18 years ago2006-01-10 20:04:23 UTC Post #157374
Try to apply the +0 version and see if that works. I assume your texture doesn't switch to +a because you didn't apply the +0 version.
Posted 18 years ago2006-01-10 20:06:12 UTC Post #157375
I've also tried that, to no avail...Incase it matters, I'm mappin for CS 1.6
TawnosPrime TawnosPrimeI...AM...CANADIAN!
Posted 18 years ago2006-01-10 20:13:50 UTC Post #157376
No shouldn't matter. Upload to problem maps and include the textures. Include a text description of exactly what you want it to do, and we'll figure it out one way or the other :)
Posted 18 years ago2006-01-10 20:50:30 UTC Post #157381
Here's the url for the map

http://twhl.co.za/mapvault_map.php?id=3630
TawnosPrime TawnosPrimeI...AM...CANADIAN!
Posted 18 years ago2006-01-10 21:19:56 UTC Post #157384
K, got it. The texture you were using is not switchable, only animating.

Use this one instead:

+A~METALSTCH2

and it will work the way you want it to :)
Posted 18 years ago2006-01-10 21:46:39 UTC Post #157385
Damn...Liked that one...

Thanx thou
TawnosPrime TawnosPrimeI...AM...CANADIAN!
Posted 18 years ago2006-01-10 22:02:28 UTC Post #157387
It looks exactly the same, but if you wanted that flicker to occur for the on setting--which could be cool--, you could do it with custom textures.

Just take the +A~METALSTCH2, copy it using wally, and rename it to +A~CRETESTCH01A

Then it won't flicker 'till you activate it, if that's what your looking for. Otherwise, the textures look exactly the same.

Btw, your elevator shaft looks just like the airlock from the end of Aliens! Looks nice!
You must be logged in to post a response.