Author Topic: Animated .gif - Timing Question  (Read 1407 times)

0 Members and 1 Guest are viewing this topic.

Offline Pragma

  • Soldier
  • **
  • Posts: 121
  • Blood, Guts and Gunsmoke
Animated .gif - Timing Question
« on: August 01, 2008, 10:12:24 am »
Are the animated .gif files supported in 1.5 guaranteed to stay synchronized throughout the game?

The reason why I ask is simple: I'd like to experiment with moving water, blinking lights, or other palette-cycle-like effects for maps, which would involve using multiple .gif files, repeated in various places on the map.  If they're not kept in sync, the effect would be ruined.

Thanks for any light anyone can shed on this.  :D

Just remember what ol' Jack Burton does when the earth quakes, the poison arrows fall from the sky, and the pillars of Heaven shake.  Yeah, Jack Burton just looks that big old storm right in the eye and says, "Give me your best shot. I can take it."

Offline ElSpec774

  • Soldier
  • **
  • Posts: 248
Re: Animated .gif - Timing Question
« Reply #1 on: August 01, 2008, 01:08:50 pm »
Yes, I think the .gif scenery will play continuously until the game ends.

Offline Pragma

  • Soldier
  • **
  • Posts: 121
  • Blood, Guts and Gunsmoke
Re: Animated .gif - Timing Question
« Reply #2 on: August 01, 2008, 01:36:18 pm »
Yes, I think the .gif scenery will play continuously until the game ends.

Well, that much I can gather.  But that's not quite what I was driving at.

Say you have two polygons, each textured with the same animation of a traffic light.  Will they both read red, yellow and green at the same time, all the time, every time, no matter what the client state is?  Or will one eventually lag behind the other for some reason?

Granted, I wouldn't ever expect this to happen, but I've never seen Soldat's codebase, so the underpinnings for such things are beyond me.
« Last Edit: August 01, 2008, 01:39:05 pm by Pragma »

Just remember what ol' Jack Burton does when the earth quakes, the poison arrows fall from the sky, and the pillars of Heaven shake.  Yeah, Jack Burton just looks that big old storm right in the eye and says, "Give me your best shot. I can take it."

Offline iDante

  • Veteran
  • *****
  • Posts: 1967
Re: Animated .gif - Timing Question
« Reply #3 on: August 01, 2008, 02:20:35 pm »
I dunno about .gif textures (possible?)...
But scenery, as long as they are about the same size, they should stay synced with each other for the map.

Offline chutem

  • Veteran
  • *****
  • Posts: 1119
Re: Animated .gif - Timing Question
« Reply #4 on: August 02, 2008, 01:11:34 am »
Oh god, animated textures would be overkill.
1NK3FbdNtH6jNH4dc1fzuvd4ruVdMQABvs

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Animated .gif - Timing Question
« Reply #5 on: August 02, 2008, 01:21:39 am »
Didn't I answer this EXACT question on IRC afew hours ago?