Page 1 of 1

[ANIMATED TITLEPIC] Showing only 1(last) Frame

Posted: Sun Jul 15, 2018 9:14 am
by HAL9000
Animated Titlepic [GZD 3.4.1] is not working.
Only Last Frame is showing in the TITLEPIC, instead of the entire animation.

Titlepic Files:
Deleted

ANIMDEF CODE
Spoiler:
How the Animation is supposed to look like:
Spoiler:

Re: [ANIMATED TITLEPIC] Showing only 1(last) Frame

Posted: Sun Jul 15, 2018 2:49 pm
by Graf Zahl
Fixed. But your mod still doesn't work because you animate Graphics/Titlepic/TITLEPIC.PNG instead of TITLEPIC. No, that's not the same - the engine won't even pick your TITLEPIC.PNG as the default but (guess what?) the last frame you saw on various occasions because that's the last found name which truncated to 8 characters results in TITLEPIC.

Re: [ANIMATED TITLEPIC] Showing only 1(last) Frame

Posted: Sun Jul 15, 2018 2:52 pm
by HAL9000
Graf Zahl wrote:Fixed. But your mod still doesn't work because you animate Graphics/Titlepic/TITLEPIC.PNG instead of TITLEPIC. No, that's not the same - the engine won't even pick your TITLEPIC.PNG as the default but (guess what?) the last frame you saw on various occasions because that's the last found name which truncated to 8 characters results in TITLEPIC.
Yeah, I've noticed after I've uploaded.
Thanks for the fix!
This should also work on Credits and conback, right?

Re: [ANIMATED TITLEPIC] Showing only 1(last) Frame

Posted: Sun Jul 15, 2018 3:01 pm
by Graf Zahl
Not on Conback. That is set up differently. I won't change this because it can be activated in game where an oversized animation for that image can really cause serious problems if it fills up the entire GPU memory.
CREDITS is run through the same code as TITLEPIC so that should work as-is.

Re: [ANIMATED TITLEPIC] Showing only 1(last) Frame

Posted: Sun Jul 15, 2018 3:01 pm
by HAL9000
Ok, Thanks for the info(and fix)!

Re: [ANIMATED TITLEPIC] Showing only 1(last) Frame

Posted: Fri Sep 21, 2018 10:47 am
by Void Weaver
Sorry for my stupidness, but I have the same trouble as OP had.
Can somebody explain me please how to correct define multiple TITLEPIC's *.png, since file name limited only 8 characters?

MAPINFO

Code: Select all

gameinfo
{ titlepage = "TITLEPIC" }
ANIMDEFS

Code: Select all

TEXTURE Graphics/TITLEPIC
	pic "Graphics/TITLEPIC01" tics 7
   pic "Graphics/TITLEPIC02" tics 7 
	pic "Graphics/TITLEPIC03" tics 7 
	pic "Graphics/TITLEPIC04" tics 7

Re: [ANIMATED TITLEPIC] Showing only 1(last) Frame

Posted: Fri Sep 21, 2018 12:35 pm
by HAL9000

Code: Select all

Texture TITLEPIC
    pic "Graphics/Titlepicanim/TITLE00.PNG" tics 2 
    pic "Graphics/Titlepicanim/TITLE01.PNG" tics 2 
    pic "Graphics/Titlepicanim/TITLE03.PNG" tics 2
    pic "Graphics/Titlepicanim/TITLE04.PNG" tics 2

It must be Texture TITLEPIC not TEXTURE Graphics/TITLEPIC

Re: [ANIMATED TITLEPIC] Showing only 1(last) Frame

Posted: Fri Sep 21, 2018 12:41 pm
by Void Weaver
Thank you very much, all works perfect!