The "How do I..." Thread

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
Blitzky
Posts: 29
Joined: Tue Jan 25, 2011 6:02 pm
Location: Chicagoland, Illinois

Re: The "How do I..." Thread

Post by Blitzky »

NeuralStunner wrote:
Ezi-Blitz wrote:The sprites are named EMLYB0 and EMLYC0 in the wad.
Are they between S_START and S_END markers in your wad? (If they aren't, don't feel bad. This is actually a common thing to overlook.)
*facepalm*(I actually did in real life) I can't believe I forgot that!
Thanks a bunch, I guess that's what happens when you don't work with Decorate for three and a half months. :lol:
skornedemon
Posts: 154
Joined: Mon Aug 02, 2010 11:10 am

Re: The "How do I..." Thread

Post by skornedemon »

I'm trying to make a picture show up on the screen...

I gave up trying to figure out the strife dialogue system(The wiki made me more confused then anything), so I'm
simply looking for a way to have a picture show up on screen.

Whats the best way to go about this, no i have no base to start I'm lost.
Sodaholic
Posts: 1959
Joined: Sat Nov 03, 2007 4:13 pm

Re: The "How do I..." Thread

Post by Sodaholic »

How do I get a sector to have the underwater blue tint? I'm not talking about actual sector color, by the way, but the effect ZDoom applies to tint the entire view blue in transfer height water. (there is a difference)

I ask because I'm replacing transfer height water with 3D floor water, but it loses this effect. Don't suggest sector_setcolor, it's not what I want.
User avatar
Akira_98
Posts: 213
Joined: Sun Jun 27, 2010 2:45 pm
Location: AC District 7

Re: The "How do I..." Thread

Post by Akira_98 »

@skornedemon: For USDF/ZSDF, you use the Panel option to set a picture for a conversation. Like so:

Code: Select all

conversation
{
	actor = 1;
	panel = TITLEPIC;
	page
	{
		name = "TITLEMAN";
		dialog = "Hi, I'm the title screen!";
	}
}
@Sodaholic:Sector_SetFade? It's the only other way that I know of to mess with a sector's color. Otherwise, I have no idea what you're talking about.
User avatar
Project Shadowcat
Posts: 9369
Joined: Thu Jul 14, 2005 8:33 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Blacksburg, SC USA
Contact:

Re: The "How do I..." Thread

Post by Project Shadowcat »

Akira_98 wrote:@Sodaholic:Sector_SetFade? It's the only other way that I know of to mess with a sector's color. Otherwise, I have no idea what you're talking about.
That isn't it. THe one you describe actually sets the "fog" color when it gets darker in the sector. We need the actual screen to tint.
User avatar
Blitzky
Posts: 29
Joined: Tue Jan 25, 2011 6:02 pm
Location: Chicagoland, Illinois

Re: The "How do I..." Thread

Post by Blitzky »

@sodaholic You're not going to like this, but...
The closest way I found was this: Make your 3d sector as normal, give it type 6. Then make a script the changes the color of the reference sector to blue once the map starts up.
This should get very close to the effect you're looking for. It isn't tint, but it will only affect the 3d sector.
Attachments
3dcolortest.wad
Example of the method above
(1.93 KiB) Downloaded 24 times
User avatar
Akira_98
Posts: 213
Joined: Sun Jun 27, 2010 2:45 pm
Location: AC District 7

Re: The "How do I..." Thread

Post by Akira_98 »

Project Dark Fox wrote:
Akira_98 wrote:@Sodaholic:Sector_SetFade? It's the only other way that I know of to mess with a sector's color. Otherwise, I have no idea what you're talking about.
That isn't it. THe one you describe actually sets the "fog" color when it gets darker in the sector. We need the actual screen to tint.
That's what I was thinking, but I don't recall a sector-specific function to allow that, so it was the closest thing to come to mind. Maybe a WHILE loop activated while in the deep water, and FadeTo? Or changing the player class to activate/deactivate a FadeTo script using APROP_WaterLevel? Either way, it's kind of a cheap hack for an effect that's easy to accomplish with "proper" functions. :|
skornedemon
Posts: 154
Joined: Mon Aug 02, 2010 11:10 am

Re: The "How do I..." Thread

Post by skornedemon »

Akira_98 wrote:@skornedemon: For USDF/ZSDF, you use the Panel option to set a picture for a conversation. Like so:

Code: Select all

conversation
{
	actor = 1;
	panel = TITLEPIC;
	page
	{
		name = "TITLEMAN";
		dialog = "Hi, I'm the title screen!";
	}
}
So I just put that in my scripts for the map..?

Edit: Got the conversation to finally play, but it isnt recognizing 'panel'
User avatar
Akira_98
Posts: 213
Joined: Sun Jun 27, 2010 2:45 pm
Location: AC District 7

Re: The "How do I..." Thread

Post by Akira_98 »

Post your code, I can't tell what's wrong otherwise. :P
skornedemon
Posts: 154
Joined: Mon Aug 02, 2010 11:10 am

Re: The "How do I..." Thread

Post by skornedemon »

Code: Select all

namespace = "Strife";
include = "SCRIPT00";
conversation
{
    actor = 1;
    panel = FACERED;
    page
    {
         name = "Red";
         dialog = "...";
         choice
         {
             text = "... !";
             nextpage = 1;
         }

    }
}
And i use usdc to compile it.
User avatar
Akira_98
Posts: 213
Joined: Sun Jun 27, 2010 2:45 pm
Location: AC District 7

Re: The "How do I..." Thread

Post by Akira_98 »

Try putting FACERED in quotations, I think that'll do it.
skornedemon
Posts: 154
Joined: Mon Aug 02, 2010 11:10 am

Re: The "How do I..." Thread

Post by skornedemon »

Warning 6:4:ignoring unknown key 'panel'
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: The "How do I..." Thread

Post by NeuralStunner »

Looks like Panel needs to go inside the [wiki=USDF#Page_blocks]Page[/wiki].
skornedemon
Posts: 154
Joined: Mon Aug 02, 2010 11:10 am

Re: The "How do I..." Thread

Post by skornedemon »

Bingo. thanks a whole lot!
User avatar
Akira_98
Posts: 213
Joined: Sun Jun 27, 2010 2:45 pm
Location: AC District 7

Re: The "How do I..." Thread

Post by Akira_98 »

...Man, I really miss a lot of things. A little odd though, guess that means a single actor can have multiple portraits in their dialogue. I don't remember that happening originally. Well, that's info that helps me as well, so thanks. :oops:
Locked

Return to “Editing (Archive)”