[96] Camera Texture Crash

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Kirby
Posts: 2697
Joined: Thu Aug 26, 2004 1:23 pm

[96] Camera Texture Crash

Post by Kirby »

While I was attempting to set a camera texture, I got a crash.
Spoiler:
The following script was involved

Code: Select all

#include "zcommon.acs"

script 1 OPEN
{
setcameratotexture(1,"CAMTEX1",0);
}
And the following ANIMDEFS was used

Code: Select all

cameratexture CAMTEX1 64 64
It crashed as soon as the game started, and I don't know what caused it.
skadoomer
Posts: 1026
Joined: Fri Sep 05, 2003 12:49 pm

Post by skadoomer »

why is your FOV set to 0?
User avatar
Kirby
Posts: 2697
Joined: Thu Aug 26, 2004 1:23 pm

Post by Kirby »

I dunno, I thought it was the basic value. Should I just leave it blank?

EDIT: Can't leave it blank w/o a compiling error and it still crashed with FOV at 90
EDIT2: I also found that when I started it up, there was a message in the console saying "Unknown texture 'CAMTEX1'".
skadoomer
Posts: 1026
Joined: Fri Sep 05, 2003 12:49 pm

Post by skadoomer »

there is your problem. You need to define the texture your going to fill with a camera in pnames first (i'm not sure about the tx system) The texture must be recognised by dooms texturing system before the camera can be printed into it.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

AFAIK the bug has already been fixed but not released.
User avatar
Kirby
Posts: 2697
Joined: Thu Aug 26, 2004 1:23 pm

Post by Kirby »

Hmm, the TX tags don't work, so I guess I will be using PNAMES. Until the next version is out, I'll just use this method.
Post Reply

Return to “Closed Bugs [GZDoom]”