Game Development Community

On game Tv screen?

by AzraelK · in General Discussion · 01/30/2002 (2:31 pm) · 4 replies

This is probably a pretty weird feature, but also could be a pretty useful one if possible =)

Simple, you are in game you look to a wall and you see a TV! you even can get close to it and turn it on and off.

(for added effect you could add a light source from it)

How can I animate a TV screen image? (Im guessing Im going to need a IFL texture or a DML and some kind of trigger, but I have no idea how to put those together)

Since we are on topic, how could I present a single texture per trigger, for what you may ask? easy an online screen could be a help screen, or even a mission screen.

And continuing on the same topic, how hard could it be to show a gui dialog instead of just changing the tv screen texture? examples: player aproaches an ATM to get some cash, buy weapons, enter a security code.

Hey this turned out to be interesting question after all didnt it?

=)

#1
01/30/2002 (5:08 pm)
Well, calling up an ordinary GUI screen, or even a custom one, shouldn't be that hard.

The really big problem would be getting such a thing to run on that television screen. Having a flickering texture, an animated texture, turning on the tv -- shouldn't be that hard. Actually, if you don't need video, you could just have one flickering texture -- some form of static -- and the screen texture be static, to save space. Then when they use the screen, they get a GUI popping up. No problem there. Er, now, getting the gui to display on the TV screen -- hehe, you're on your own.
#2
01/30/2002 (5:20 pm)
If you want to get really fancy and have wasted resources :) you could have it display video from their TV-in on their video card if they have one. :)
#3
01/30/2002 (5:37 pm)
I just don't understand why you'd want video output to an object in game.

Just have a tv-looking gui popup and play some video... if you're trying to play video on top of a model or interior object you're going to have a lot more trouble then if you go for a seperate movie/tv gui (like most games do it. Fallout and Santiarium come to mind)
#4
01/31/2002 (9:20 am)
OOps, definetily nope, I wasnt talking about "REAL TV VIDEO" on the game, that wouldnt look so good, and it addition it would be a complete waste of resources.

Playing an AVI is tempting, and in theory it could be done, but I cant just think on a good reason why.

My idea was to have an animated texture turned on and off.

Perhaps even having some control on the animation, you press 1 time, you get 1st frame , press again second frame and so on. why to do this?, to be able to do a presentation in game, of course! =)

Other type of animation could be a big screen rendering whats happening on the game, (like those in quake 3 team arena) however thats a huge subject, and of course it will require lots of extra coding.

Im kind of surprised no one mentioned, how to activate the GUI since that looked like the easiest way to do it. so If anyone knows please share it.

I repeat I did not mention REAL tv video or Avi or quicktime or anything, I meant GUIS and Animated textures on walls, thats all. =)