Hud camera screen?

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.
User avatar
Sphagne
Posts: 513
Joined: Wed Jul 16, 2003 3:36 am

Hud camera screen?

Post by Sphagne »

Hey, can we have an ACS command to show a box on the screen that shows the level from a point of view other than the current player, something like a hud camera screen?
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany

Post by Hirogen2 »

You mean something like setcamera() (is it called that name?) with a bigger aspect ratio to make it look cinematic?
LogicDeLuxe
Posts: 198
Joined: Mon Apr 26, 2004 11:32 am

for the wishlist

Post by LogicDeLuxe »

I guess, he meant a split screen view, so the camera view doesn't take the entire screen.
It's actually a good idea. Also I could imagine special patches, which could be used for textures quite useful. With those, you would turn a regular linedefs into monitor screens, which show the view of regular cameras. Just like security monitor screens in real life.
This shouldn't be too hard to implement. Basically it just needs the camera view rendered to a patch rather than directly on screen. If you use this patch with SetFont in your script, you could use it for a HUD-camera as well. Also there has to be a way to specify the size such a patch should have.

Put this to the wishlist!
User avatar
The Ultimate DooMer
Posts: 2109
Joined: Tue Jul 15, 2003 5:29 pm
Location: Industrial Zone

Post by The Ultimate DooMer »

You can already do monitor screens - use a skybox.
User avatar
Nmn
Posts: 4630
Joined: Fri Apr 16, 2004 1:41 pm
Preferred Pronouns: He/Him

Post by Nmn »

I presume he meant a small box in a corner of the screen that shows another part of the map from a camera, like this.
I think this would be a really cool idea, You could activate sec cameras from the cpu You got in Your armor, or more! Place a security cam somewhere so You can watch out for any enemies any time. Nice.
You do not have the required permissions to view the files attached to this post.
LogicDeLuxe
Posts: 198
Joined: Mon Apr 26, 2004 11:32 am

Post by LogicDeLuxe »

The Ultimate DooMer wrote:You can already do monitor screens - use a skybox.
It doesn't exactly look like a real monitor screen, more like a window, ie. if you turn left, you see what's on the left. You couldn't do this on a monitor screen, of course. I know this effect from Daedalus, sure, it's better than nothing, but far from perfect. Check out those monitors in Duke3D (without using them)! See the difference? They are somewhat lowres, but once we could scale a texture, this issue could be fixed as well. Maybe a decal could show the camera view, as well.
User avatar
Xaser
 
 
Posts: 10773
Joined: Sun Jul 20, 2003 12:15 pm

Post by Xaser »

LogicDeLuxe wrote:Maybe a decal could show the camera view, as well.
Heh. That would be cool. You could make it so that all the bullet chips show sort of a "camera view" from the player's point of view, so you could do the endless irror effect. Heh. That would be insane. :P
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

A more practical use would be to make it look like you're punching holes in the wall...

The challenge here is to take what Doom normally writes to the frame-buffer and store it in a dynamically-updated graphic for drawing to a texture or the screen. While it might be a bit of work, I think the gain would be worth it.

The optimal way to code it would be to allow the map designer and/or player to specify how often and at what resolution the image is updated, thus controlling the amount of cpu time the effect is going to eat up.
User avatar
Sphagne
Posts: 513
Joined: Wed Jul 16, 2003 3:36 am

Post by Sphagne »

Nmn is right, I meant what he said, and also camera decals are good ideas as well.

hud cameras would be more effective if they were treated as other hud messages and shown by the priority index as the others, so we could place the camera screen over a frame picture and write over it as well.
User avatar
Nmn
Posts: 4630
Joined: Fri Apr 16, 2004 1:41 pm
Preferred Pronouns: He/Him

Post by Nmn »

Thanks Sphagne. Someone finally didn't ignore me.
And I do think that's a great idea. I think that it's currently impossible-a on-screen still shot from a security camera somewhere (or an animated picture) is the only solution I think
Oh, I forgot to thank Kaiser for his funderful DSV5- shots.
User avatar
Grubber
Posts: 1031
Joined: Wed Oct 15, 2003 12:19 am
Location: Czech Republic

Post by Grubber »

I've tried to program it (not so) long time ago and it worked! But then I deleted it. I think I can do it again, because it's very simple. Maybe I will upload it soon.
User avatar
Nmn
Posts: 4630
Joined: Fri Apr 16, 2004 1:41 pm
Preferred Pronouns: He/Him

Post by Nmn »

Grubber wrote:I've tried to program it (not so) long time ago and it worked! But then I deleted it. I think I can do it again, because it's very simple. Maybe I will upload it soon.
Really? How skilled are You in programming? Could You hack something new into the current Zdoom?
User avatar
Grubber
Posts: 1031
Joined: Wed Oct 15, 2003 12:19 am
Location: Czech Republic

Post by Grubber »

Nmn wrote:Really? How skilled are You in programming? Could You hack something new into the current Zdoom?
Yes, I can hack new things to ZDoom (e.g my avatar - rideable demon - almost completed). I've already made some mods of ZDoom - I can post them in June :-).
User avatar
Nmn
Posts: 4630
Joined: Fri Apr 16, 2004 1:41 pm
Preferred Pronouns: He/Him

Post by Nmn »

Grubber wrote: Yes, I can hack new things to ZDoom (e.g my avatar - rideable demon - almost completed). I've already made some mods of ZDoom - I can post them in June :-).
Hmm. Is it possible to hack these? :
-weapon recoil (for all weapons)
-crouching and leaning (from behind a corner)
-hud automap
-reloadable weapons
-blasting off limbs of enemies
-Changeable Player's Sprite (via ACS)
Oh, can't wait for the mods
EDIT: I could ask Randy for this, however,
1.Randy is already busy with 2.0.64
2.These are things that would make Doom less Doomish, yet, they would be useful for "us".
User avatar
Bio Hazard
Posts: 4019
Joined: Fri Aug 15, 2003 8:15 pm
Location: ferret ~/C/ZDL $

Post by Bio Hazard »

Nmn wrote:-weapon recoil (for all weapons)
.64
Nmn wrote:-crouching and leaning (from behind a corner)
I SO WANT THIS
Nmn wrote:-hud automap
no comment
Nmn wrote:-reloadable weapons
.64
Nmn wrote:-blasting off limbs of enemies
fancy dehacking can achieve this
Nmn wrote:-Changeable Player's Sprite (via ACS)
didnt that get added for .64?[/quote]

Return to “Editing (Archive)”