Camera and Television
Moderator: Core Staff
Camera and Television
Hello
I was thinking is it possible to create a Camera (possibly something like TDM Intermission) that shows onto a Television.
For CODUO
How would i do this?
Thanks
I was thinking is it possible to create a Camera (possibly something like TDM Intermission) that shows onto a Television.
For CODUO
How would i do this?
Thanks
Re: Camera and Television
Pretty sure it isn't possible, wait for Drofder or NM to respond before giving up hope though.
"Zaitsev is a cunt." - Pedsdude
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Camera and Television
Isn't possible.
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Re: Camera and Television
Nothing else I can really add on.
You could always make an animated texture to give the illusion of an active screen, but that would be pretty complex.
You could always make an animated texture to give the illusion of an active screen, but that would be pretty complex.
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
Re: Camera and Television
Thanks for the Replys
Re: Camera and Television
Sorry for the truth but i just want to know one thing: You thought something like in Duke Nukem 3D ?
Re: Camera and Television
Rofl @ that pic.
-=[[CoDJumper.com Movies]]=-
[[Ambush]] || [[Backlot]] || [[Bloc]] || [[Bog]] || [[Broadcast]] || [[Chinatown]] || [[Countdown]]
[[Crash]] || [[Creek]] || [[Crossfire]] || [[District]] || [[Downpour]] || [[Killhouse]] || [[Overgrown]]
[[Pipeline]] || [[Shipment & Wetwork]] || [[Showdown]] || [[Strike]] || [[Vacant]]
A woman can fake an orgasm, but a man can fake an entire relationship
[[Ambush]] || [[Backlot]] || [[Bloc]] || [[Bog]] || [[Broadcast]] || [[Chinatown]] || [[Countdown]]
[[Crash]] || [[Creek]] || [[Crossfire]] || [[District]] || [[Downpour]] || [[Killhouse]] || [[Overgrown]]
[[Pipeline]] || [[Shipment & Wetwork]] || [[Showdown]] || [[Strike]] || [[Vacant]]
A woman can fake an orgasm, but a man can fake an entire relationship
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Camera and Television
Nunquam quoque tardus
Google just made that picture a just a slight amount better
Google just made that picture a just a slight amount better
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Re: Camera and Television
making TV in a map is easy!
Here are the things you need:
1. a GIF animation file.
2. A program that can save EACH frame of the GIF.
After making all the frames saved as textures (I recommend using DDS format), you will want to open Radiant.
Now create as many the same brushes as many frames you have, so that they make up the whole film.
Afterwards put all the textures on all the "frames". Use "Fit Texture" function.
If you have many frames, it will take pretty long time, but how nicely it will be looking afterwards!
Done? now select all the "frames" and turn them all into a script_brushmodel.
If you want the animation to be played by a trigger, make one.
The last thing you should do is learning the frame's length (a SINGLE frame, not all taken together).
Here we're ending the mapping part and starting the scripting one.
I assume you are familiar with the scripting.
there are several ways to animate the thing you have just created. I advise you to follow the way below:
using a "for" loop:
By the way, this example assumes that the animation moves along the axis Y. if you want it to move to another side, use the negative value of the length.
If you want it to move along the axis X, use
animation.origin += (frame's length, 0, 0);
If you want it to move along the axis Z, use
animation.origin += (0, 0, frame's length);
I added that to my map, and it looked really nice.
Here are the things you need:
1. a GIF animation file.
2. A program that can save EACH frame of the GIF.
After making all the frames saved as textures (I recommend using DDS format), you will want to open Radiant.
Now create as many the same brushes as many frames you have, so that they make up the whole film.
Afterwards put all the textures on all the "frames". Use "Fit Texture" function.
If you have many frames, it will take pretty long time, but how nicely it will be looking afterwards!
Done? now select all the "frames" and turn them all into a script_brushmodel.
If you want the animation to be played by a trigger, make one.
The last thing you should do is learning the frame's length (a SINGLE frame, not all taken together).
Here we're ending the mapping part and starting the scripting one.
I assume you are familiar with the scripting.
there are several ways to animate the thing you have just created. I advise you to follow the way below:
using a "for" loop:
Code: Select all
animation = getent("animation", "targetname");
trig = getent("anim_trigger", "targetname");
while(1)
{
trig waittill ("trigger");
for (i = 0; i < 200; i++) //it assumes your animation consists of 200 frames.
{
animation.origin += (0, 100, 0); //it immediately shows the next frame by the means of a momentary motion the brushmodel along the axis Y on 100 units, which are the frame's length. (this example assumes the length is 100)
wait 0.1; //delay between two frames.
}
animation.origin = (0, 0, 0); //after playback, returns the animation to the start point.
}
If you want it to move along the axis X, use
animation.origin += (frame's length, 0, 0);
If you want it to move along the axis Z, use
animation.origin += (0, 0, frame's length);
I added that to my map, and it looked really nice.
Last edited by megazor on June 7th, 2011, 12:47 am, edited 1 time in total.
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Camera and Television
You could also use animated textures. (take a look at the tracks on a tank, they are animated textures, not animated models...)
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Re: Camera and Television
Excuse me, but I haven't got what the camera system the subject author described is -.-
It's possible to make a movie, as well as making a spawning in a certain place as a spectator. If it's necessary to move the spectator, link it to script_model and use motion things.
Though I probably nevertheless have a wrong idea about the system. Therefore can anyone explain me?
It's possible to make a movie, as well as making a spawning in a certain place as a spectator. If it's necessary to move the spectator, link it to script_model and use motion things.
Though I probably nevertheless have a wrong idea about the system. Therefore can anyone explain me?
Re: Camera and Television
Just think of it as him wanting an actual CCTV camera, showing what's going on in view of the camera (e.g. multiple people moving, firing weapons, etc.). It's not possible.megazor wrote:Excuse me, but I haven't got what the camera system the subject author described is -.-
It's possible to make a movie, as well as making a spawning in a certain place as a spectator. If it's necessary to move the spectator, link it to script_model and use motion things.
Though I probably nevertheless have a wrong idea about the system. Therefore can anyone explain me?
-
- Core Staff
- Posts: 2030
- Joined: July 24th, 2006, 11:21 am
- Location: Cramped in a small cubicle/making another jump map
Re: Camera and Television
Not possible. Try DUKENUKEM3DEDITOR.exe
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.
Re: Camera and Television
CCTV... if he's going to make it record everything what is going on, it's impossible, of course.
Who is online
Users browsing this forum: No registered users and 36 guests