Animated Television

Ask questions, discuss ideas, get answers
Post Reply
Poow
Posts: 271
Joined: Sun Nov 01, 2009 8:00 pm
Location: Germany
Contact:

Animated Television

Post by Poow »

Once I have seen a TV/projector for bf.
How is it possible to make something like this?
You’re entering a world of pain!
User avatar
Apache Thunder
Posts: 1210
Joined: Mon Oct 19, 2009 2:48 am
Location: Levelland Texas, USA
Contact:

Re: Animated Television

Post by Apache Thunder »

That would probably be me that did that. :D

Video:

http://www.youtube.com/watch?v=92eC2dO-_lA

It's simple. You just have a mesh path to a BIK File like it was a texture. BUT. You can not put BIK files in a RFA! It will not work.

Example on how to path the RS file for the mesh you want to have an animated texture:

Code: Select all

subshader "tvset_screen_m1_Material0" "StandardMesh/Default"
{
	lighting false;
	lightingSpecular false;
	materialDiffuse 1 1 1;
	texture "Mods/DC_UNAUTHORIZED/Movies/video_for_meshes/tvset_video1";
}
Do NOT use the ../ stuff. It's not needed and plus it would cause a CTD if you tried that in a RS file.

Just change the mod name to that of yours and put your mesh videos in the movies folder of your mod and make sure the path matches up. Do not specify an extension, you do not need to do that.

If you want to be able to change channels like in my mod...Well that is a bit more complicated. It involves making the screen part of the TV destructible and having it respawn immediately with a new mesh. You do this by setting up teh screen PCO to have a random geometry using the random geometry code. ;)

Feel free to look into how the TV is coded in my DC Unauthorized mod which you can download from the maps/mods section of this forum! :D
ImageImageImage
I have cameras in your head!
Poow
Posts: 271
Joined: Sun Nov 01, 2009 8:00 pm
Location: Germany
Contact:

Re: Animated Television

Post by Poow »

Yea this was one of the videos I saw :)
Thanks! I will try it soon. :)
You’re entering a world of pain!
Post Reply