Zoom Overlays

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.
Locked
User avatar
Krillancello
Posts: 309
Joined: Sat Nov 27, 2004 12:39 am
Location: Teh Intarwebivurs

Zoom Overlays

Post by Krillancello »

Is it possible to have an overlay image when "zooming," such as to make it appear as though Doomguy is actually looking through a scope, and if so, how would this be done?
User avatar
Skunk
Posts: 1189
Joined: Tue Jan 18, 2005 1:04 am
Contact:

Post by Skunk »

I already asked and... no one has a clue. :D
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Post by wildweasel »

Didn't LWM have a script set up for that in Hellspawn?
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

Create a custom crosshair image and use an alias to toggle it on and off.
User avatar
Krillancello
Posts: 309
Joined: Sat Nov 27, 2004 12:39 am
Location: Teh Intarwebivurs

Post by Krillancello »

I can't find any [working] links to download Hellspawn. >_>

HotWax: How do I implement a custom crosshair?
User avatar
Galaxy_Stranger
Posts: 1326
Joined: Sat Aug 16, 2003 11:42 pm
Location: Shropshire
Contact:

Post by Galaxy_Stranger »

Yeah, I was going to suggest that - but I can't remember how to use the x-hairs. The keybindings are easy enough, though.
dennisj1
Posts: 399
Joined: Sun Jan 11, 2004 1:46 pm
Location: Superior, WI

Post by dennisj1 »

Another WAD with an overlay is Barista. Maybe check that out.
User avatar
Krillancello
Posts: 309
Joined: Sat Nov 27, 2004 12:39 am
Location: Teh Intarwebivurs

Post by Krillancello »

I can't find a "Barista" wad anywhere, do you have a link?

I still can't find how to implement a custom crosshair.

Edit: I've found the crosshairs in zdoom.wad (XHAIRBn/XHAIRSn), but I can't tell if just making an image an XHAIRB/Sn resource would crosshairify it.
Last edited by Krillancello on Sat Jan 29, 2005 4:48 pm, edited 1 time in total.
dennisj1
Posts: 399
Joined: Sun Jan 11, 2004 1:46 pm
Location: Superior, WI

Post by dennisj1 »

Well, I don't know how to make a link but it's in the archives (http://www.doomworld.com/idgames/index.php?id=12885)
User avatar
Sir_Alien
Posts: 863
Joined: Sun Aug 29, 2004 6:15 am
Location: Sydney, Australia
Contact:

Post by Sir_Alien »

dennisj1 wrote:Well, I don't know how to make a link
Use the URL tag, but in the first one put "url=http://www.sitename.com" (without the quotation marks) then between the tags put the relevant text.

Like this!

To see exactly how I did it, quote my post and have a look.
User avatar
Krillancello
Posts: 309
Joined: Sat Nov 27, 2004 12:39 am
Location: Teh Intarwebivurs

Post by Krillancello »

Thanks for the URL. I've played Barista, and I'm looking for an effect similar to the Gas Mask in it. I XWE'd the file and found the Gas Mask is an IMAGE type called ZZGAS. However, I can't find any readable references to it in the other entries (maybe it's referenced in a binary entry, thus I can't read it to find the reference). The BEHAVIOR lump has 38 scripts in it according to DB, but there's no SCRIPTS lump; and DB has a habit of displaying the following when I try to check the scripts in a wad with BEHAVIOR but no SCRIPTS:

Code: Select all

// Doom Builder could not detect a SCRIPTS lump in the map,
// so it has decompiled this code from the BEHAVIOR lump.
// Please verify that this code is correct, because it may
// not always work correctly with newer engines.

#include "common.acs"

// BEHAVIOR 38 scripts, 0 strings

// ----------------------------------------
So... I'm essentially back at square one. I know what I want, it's been done before, but I don't actually know how to do it. =_=;
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

The script lump has been posted somewhere on this forum. Maybe you are lucky and find it again.
dennisj1
Posts: 399
Joined: Sun Jan 11, 2004 1:46 pm
Location: Superior, WI

Post by dennisj1 »

The Barista script source is found in this thread.
User avatar
Krillancello
Posts: 309
Joined: Sat Nov 27, 2004 12:39 am
Location: Teh Intarwebivurs

Post by Krillancello »

Thanks again, dennis. If my understanding of the code is correct, the helmet at the beginning as an example, Barista sets the hud font to the image files of the helmet frames in turn, outputting one character of text to show the image. I'll see if that works.
Locked

Return to “Editing (Archive)”