Would this be possible?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Costja
Posts: 188
Joined: Mon Oct 18, 2004 3:58 pm
Location: Russia, Moscow
Contact:

Post by Costja »

ace wrote:SetCameraToTexture(9072, "CAMERA1", 90);
9072 is a strange TID. I think you probably use DoomEdNum instead of TID. (You can set TID by using 2nd page of Thing properties in Doom Builder)

And please describe what doesn't work
User avatar
ace
Posts: 787
Joined: Tue Jun 21, 2005 10:14 am
Location: Just south of the True North

Post by ace »

9072 is a strange TID. I think you prabably use DoomEdNum instead of TID. (You can set TID by using 2nd page of Thing properties in DoomBuilder)
Oh... to change the TID, that wouldn't happen to be "Thing ID looking at: #" would it?
And please describe what doesn't work
I edited my last post, but only minutes after you posted, sorry. It has a screenshot and everything. ;)



EDIT:
WOW, IT WORKS NOW! Just out of nowhere, it worked when I changed the "Thing ID looking at:" to 1. However, it's not looking at the right thing, instead it's looking at the cockpit of the ship rather than the "great outdoors." In other words,

Image

instead of

Image
Costja
Posts: 188
Joined: Mon Oct 18, 2004 3:58 pm
Location: Russia, Moscow
Contact:

Post by Costja »

First argument of setcameratotexture should be TID of the camera (not value of one of the camera arguments). And "TID looking at" argument should be TID of the thing to look at.
User avatar
ace
Posts: 787
Joined: Tue Jun 21, 2005 10:14 am
Location: Just south of the True North

Post by ace »

But to dust off an old chestnut, how do I set the TID of a non-player thing? You said it was on page 2 of thing properties but I see no page 2. :?
Costja
Posts: 188
Joined: Mon Oct 18, 2004 3:58 pm
Location: Russia, Moscow
Contact:

Post by Costja »

It's possible only in Doom in Hexen format. Right click on the thing, select Effects tabs, Tag group, Thing Tag editbox. Thing arguments also can be set there.
User avatar
ace
Posts: 787
Joined: Tue Jun 21, 2005 10:14 am
Location: Just south of the True North

Post by ace »

Yep, that works! Thanks. :)

Now to get the camera to move...
Costja
Posts: 188
Joined: Mon Oct 18, 2004 3:58 pm
Location: Russia, Moscow
Contact:

Post by Costja »

User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Post by TheDarkArchon »

User avatar
ace
Posts: 787
Joined: Tue Jun 21, 2005 10:14 am
Location: Just south of the True North

Post by ace »

Perhaps I should have said, "Now I just have to add the interpolation points, args, etc and get the cameras moving and everything will be good." But thanks for the links anyway. ;)
Locked

Return to “Editing (Archive)”