ZDoom 2.1.5

News about ZDoom, its child ports, or any closely related projects.
[ZDoom Home] [Documentation (Wiki)] [Official News] [Downloads] [Discord]
[🔎 Google This Site]

Moderator: GZDoom Developers

User avatar
DoomRater
Posts: 8265
Joined: Wed Jul 28, 2004 8:21 am
Preferred Pronouns: He/Him
Location: WATR HQ
Contact:

Post by DoomRater »

In an unrelated point, today I withdrew $666 from my savings account.
User avatar
Siggi
Posts: 3288
Joined: Sun Oct 03, 2004 8:57 am
Preferred Pronouns: They/Them
Location: South Africa

Post by Siggi »

Heh, and don't you look like a tard now.
:P
User avatar
Nash
 
 
Posts: 17439
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

I don't understand textcolors.txt. Why are there so many numbers?

I tried looking at the wiki but the information isn't added yet.

Anyone?
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

Post by Hirogen2 »

Nash wrote:I don't understand textcolors.txt. Why are there so many numbers?
I tried looking at the wiki but the information isn't added yet.
Anyone?
Color, Shadow color, and alpha values I guess.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Wrong guess.

Each lines defines a color range within the character that is being assigned to a range of brightness values.
User avatar
Nash
 
 
Posts: 17439
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

Hirogen - did you even look at the file? Because if you did, it'd be obvious that it is nothing like what you guessed.

Graf -

Code: Select all

Brick
{
	#470000  #FFB8B8
Console:
	#470000  #A35C5C    0 127
	#800000  #FFFEFE  128 256
}
About the only thing that makes sense to me is the word "Brick" which appears to be the colour name you'd use in ACS or whatever.

What do you mean "range"? How can there be "ranges"... I thought you define one colour and that's it?

And what would Console be, then? What's the two sets of numbers after the two colour values?
dennisj1
Posts: 399
Joined: Sun Jan 11, 2004 1:46 pm
Location: Superior, WI

Post by dennisj1 »

@Graf: Yeah, document this...

Code: Select all

Brick
{
	#470000  #FFB8B8
Console:
	#470000  #A35C5C    0 127
	#800000  #FFFEFE  128 256
}

Code: Select all

ColourName
{
        #RRGGBB  #RRGGBB  <-- Why two?
console:                              <--What's this?
         #RRGGBB  #RRGGBB    x y <-- two colors again, and what's x and y for?
          #RRGGBB RRGGBB     x y <-- Two more colors, plus x and y? Why?
}
User avatar
Grubber
Posts: 1031
Joined: Wed Oct 15, 2003 12:19 am
Location: Czech Republic
Contact:

Post by Grubber »

My guess:
Why two?
Because you're defining a color range.
What's this?
That's for console font.
two colors again, and what's x and y for?
It's not x and y, but the range of characters to translate with the given color range.
Two more colors, plus x and y? Why?
Same as above.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Grubber wrote: It's not x and y, but the range of characters to translate with the given color range.

Not characters - brightness values.
User avatar
Nash
 
 
Posts: 17439
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

... maybe it's the long mixing session I just got out of today, or it could've been the sex an hour ago, or maybe the drinks...

Or maybe it's just damn late right now.

But you know what? None of that make sense to me! :S
dennisj1
Posts: 399
Joined: Sun Jan 11, 2004 1:46 pm
Location: Superior, WI

Post by dennisj1 »

@Graf: What do you mean, a color "range"?
Also, what I meant by "Two more colors, plus x and y? Why?" is why a second range, plus brightness range?
dennisj1
Posts: 399
Joined: Sun Jan 11, 2004 1:46 pm
Location: Superior, WI

Post by dennisj1 »

dennisj1 wrote:@Graf: What do you mean, a color "range"?
Also, what I meant by "Two more colors, plus x and y? Why?" is why a second color range, plus brightness range?
User avatar
DoomRater
Posts: 8265
Joined: Wed Jul 28, 2004 8:21 am
Preferred Pronouns: He/Him
Location: WATR HQ
Contact:

Post by DoomRater »

Use what you know, and plug in values for what you don't know, and observe the results.

I guess.
User avatar
chopkinsca
Posts: 1325
Joined: Thu Dec 11, 2003 5:03 pm

Re: ZDoom 2.1.5

Post by chopkinsca »

randy wrote: DECORATE explosion parameters are no longer considered deprecated.
In the wiki these are still marked with 'deprecated', is that just a lack of updating in the wiki? Or will I still need to move the parameters to the a_explodes?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

They will stay but for the sake of documentation they are to be considerted deprecated because the preferred way to do A_Explode is to pass parameters with the function call.
Post Reply

Return to “ZDoom (and related) News”