Page 1 of 1

ANIMDEF bad syntax problem

Posted: Fri Dec 13, 2019 5:59 pm
by Silentdarkness12
According to the wiki, setting up a warping texture is supposed to be as simple as WARP texture|flat followed by the name, and then pic+tic definitions. However, that is not happening to me. No matter where I put the WARP keyword in the setup, I am handed a Bad Syntax error.

Code: Select all

Texture EYESITEC //Centered Eyesight
WARP pic EYESITA0 tics 10 oscillate
pic EYESITA0 tics 500 oscillate

Code: Select all

WARP Texture EYESITEC //Centered Eyesight
pic EYESITA0 tics 10 
pic EYESITA0 tics 500

Code: Select all

Texture WARP EYESITEC //Centered Eyesight
pic EYESITA0 tics 10 
pic EYESITA0 tics 500

Code: Select all

Texture EYESITEC WARP
pic EYESITA0 tics 10 
pic EYESITA0 tics 500
All of these return the same error. What's going on here exactly? I cannot make sense of this.

Re: ANIMDEF bad syntax problem

Posted: Sat Dec 14, 2019 7:47 am
by _mental_
Textures and frames require a separate warp definitions.

As long as you didn't post complete sample with textures, I guess you wanted something like this.

Code: Select all

texture EYESITEC
    pic EYESITA0 tics 10
    pic EYESITA0 tics 500

warp texture EYESITEC

Re: ANIMDEF bad syntax problem

Posted: Sat Dec 14, 2019 2:20 pm
by Silentdarkness12
Alright, that fixed it, but now I am running into a problem where the game is failing to recognize ANIMDEFS definitions.

Code: Select all

ANIMDEFS: Can't find FGEMA0
ANIMDEFS: Can't find EYESITEC
ANIMDEFS: Can't find EYESITED
ANIMDEFS: Can't find EYESITEU
ANIMDEFS: Can't find EYESITEL
ANIMDEFS: Can't find EYESITER

Re: ANIMDEF bad syntax problem

Posted: Sat Dec 14, 2019 3:29 pm
by Graf Zahl
The base texture of an animation must be an existing texture, ANIMDEFS will not define a new one.