Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Is it possible to cycle through more than two textures per entity?

Author
Message
Toffeemouse
16
Years of Service
User Offline
Joined: 29th Apr 2010
Location: United Kingdom
Posted: 25th Jun 2012 13:18
I would like to make a timer, a crate entity with 20 textures that cycle via timegreaterthan=xxx etc

is this possible with fpsc? I see tex and alternative tex, e.g. a switch entity that cycles when the lever is pressed, but can you load more than two textures per entity?



CorrosionMedia
14
Years of Service
User Offline
Joined: 7th Nov 2011
Location:
Posted: 25th Jun 2012 13:30
I'm not sure, but I think if you use an animated GIF as the main texture, it should work.
maho76
15
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 25th Jun 2012 13:42
not more than 2.

try v120 (beta or when finalised) and videotexture=x.

more infos see v120-beta-thread.

rolfy
20
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 26th Jun 2012 09:17
You could use bond1's animated shader if its a cycle your looking for, you could have up to 64 different textures using a timer.

Awesome! Its one of those threads.
Toffeemouse
16
Years of Service
User Offline
Joined: 29th Apr 2010
Location: United Kingdom
Posted: 26th Jun 2012 16:41
Thats great news, for all intents and purposes the entity is basically a clock/timer and I would like it to give the player a visual que as to how much time is left before the entity despawns.

I have searched for shaders and the only thing i have come across is bonds source code for a fpsc build, is this already a part of the current fpsc, part of a mod, or a downloadable shader?

Thanks



rolfy
20
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 27th Jun 2012 06:41

Login to post a reply

Server time is: 2026-07-05 16:27:28
Your offset time is: 2026-07-05 16:27:28