Animating Texture
protieus
Join Date: 2003-02-18 Member: 13686Members
<div class="IPBDescription">making a billboard flash</div> hello,
i am currently trying to make a bill board that flashes both colors back and forth... going from red to blue on its own with out using a ..func_button
i have enclosed the wad to help better illustrate this but im stuck
i have the red logos named "+0~sign1" - "+6~sign1"
and the blue is starting out with "+a~sign1" but how do i name the rest to be in the billboard also
<a href='http://starwars3.digital-orifice.com/swsign.wad' target='_blank'>http://starwars3.digital-orifice.com/swsign.wad</a>
thx,
Scotty
i am currently trying to make a bill board that flashes both colors back and forth... going from red to blue on its own with out using a ..func_button
i have enclosed the wad to help better illustrate this but im stuck
i have the red logos named "+0~sign1" - "+6~sign1"
and the blue is starting out with "+a~sign1" but how do i name the rest to be in the billboard also
<a href='http://starwars3.digital-orifice.com/swsign.wad' target='_blank'>http://starwars3.digital-orifice.com/swsign.wad</a>
thx,
Scotty
Comments
<b>Regular Animating</b>
Textures can animate as well. Creating a set of animating textures merely means naming them in the sequence order you wish them to animate in. They animate at a 10hz rate, and this cannot be changed. Name the first texture of the sequence +0texname.bmp, then proceed on up to +9texname.bmp (you can have a maximum of 10 frames of animation.) The textures will loop endlessly during the game.
<b>Switchable Animating</b>
These are animating textures that have a switchable state: they can either be animating or they can be off. To create a switchable animating set, create a regular animating set as described above, but also add a frame called +Atexname.bmp. This will be the off state for the texture. If a button is textured with the switchable animating set, it changes according to the button state. If a func_wall is textured with a switchable animating set and is the target of a trigger or button, it will change textures upon triggering.
You cannot switch from one animating state to a different animating state. Brushes can start off textured either with the +0texname texture or the +Atexname texture, and will toggle appropriately.
i FINALLY got it working what i had to do was just create 2 textures not 14
1 with red lettering the other with yellow lettering
and named them +0~sign ,+1~sign
and it works great i even made them both a bmp to have better quality
thx for everyones input,
Scotty