Main manue fade overlay customisable

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Main manue fade overlay customisable

Re: Main manue fade overlay customisable

by Tormentor667 » Mon Sep 07, 2009 4:50 am

Thanks Enjay :)

Re: Main manue fade overlay customisable

by Enjay » Sat Sep 05, 2009 3:41 am

The gameinfo section in MAPINFO

eg, here is the Doom one (the last two entries):

Code: Select all

gameinfo
{
	titlepage = "TITLEPIC"
	creditpage = "CREDIT"
	titlemusic = "$MUSIC_DM2TTL"
	titletime = 11
	advisorytime = 0
	pagetime = 5
	chatsound = "misc/chat"
	finalemusic = "$MUSIC_READ_M"
	finaleflat = "SLIME16"
	finalepage = "CREDIT"
	infopage = "HELP", "CREDIT"
	quitsound = "menu/quit2"
	borderflat = "GRNROCK"
	border = DoomBorder
	telefogheight = 0
	defkickback = 100
	skyflatname = "F_SKY1"
	translator = "xlat/doom.txt"
	mapinfo = "mapinfo/doom2.txt"
	defaultbloodcolor = "68 00 00"
	defaultbloodparticlecolor = "ff 00 00"
	backpacktype = "Backpack"
	statusbar = "sbarinfo/doom.txt"
	intermissionmusic = "$MUSIC_DM2INT"
	intermissioncounter = true
	weaponslot = 1, "Fist", "Chainsaw"
	weaponslot = 2, "Pistol"
	weaponslot = 3, "Shotgun", "SuperShotgun"
	weaponslot = 4, "Chaingun"
	weaponslot = 5, "RocketLauncher"
	weaponslot = 6, "PlasmaRifle"
	weaponslot = 7, "BFG9000"
	dimcolor = "ff d7 00"
	dimamount = 0.2
}

Re: Main manue fade overlay customisable

by Tormentor667 » Sat Sep 05, 2009 3:38 am

Great, thank you :)

So, what woul I have to add to which lump to specify a dimcolor in rgb settings?

Re: Main manue fade overlay customisable

by Graf Zahl » Fri Sep 04, 2009 4:14 pm

Added. Here's the rules:

By default the gameinfo setting is used. This is controlled by the dimamount CVAR. If that is -1 the dimcolor is taken from the gameinfo.
If dimamount is >= 0 the dimamount/dimcolor CVARs are used.

The next ZDoom will automatically reset dimamount to -1 if it loads an old config to ensure that custom gameinfos work by default so anyone using custom settings will have to respecify them. User overrides are unconditional, i.e. they also override any PWAD's setting.

This was all done under the assumption that most people who change these values are doing so to switch dimming off,not changing its color.

Re: Main manue fade overlay customisable

by wildweasel » Fri Sep 04, 2009 2:02 pm

Graf Zahl wrote:If would be part of the gameinfo for the standard modes, too. Hands up, please, who doesn't use the standard values, I personally would prefer to see this become a mapping option instead of a user option. It would make much more sense.
I currently have my dimcolor set to 00 00 00, with an amount of 0.5.

Re: Main manue fade overlay customisable

by Tormentor667 » Fri Sep 04, 2009 12:38 am

Cutmanmike wrote:I wasn't even aware you could change the color. Scary, what else don't I know about this thing I use pretty much almost every day of my life?
I didn't kniw this as well until now :P

Re: Main manue fade overlay customisable

by Kinsie » Thu Sep 03, 2009 9:46 am

Ahh, that'd explain it then.

Re: Main manue fade overlay customisable

by Graf Zahl » Thu Sep 03, 2009 9:38 am

Kinsie wrote:
Graf Zahl wrote:
Kinsie wrote: On the subject of user settings, does anyone remember why the "You Found A Secret!" text is a CVAR instead of a language string? I know it's like that on purpose and for a reason, but I don't know what that reason is.
The typical for such kind of change. It was a quick addition to satisfy a specific need but wasn't really thought through. I wouldn't mind changing it to a language string if there's no objections. AFAIK nobody has ever used it to change the secret message.
I just went searching and saw a post where you said it was like that for a reason. *shrug* It was from last year so I assume attitudes have changed since then.[/size]

Back when I made the change LANGUAGE was a compiled binary lump that had no decent customizability - and I really hated that 'A secret is revealed' message.

Re: Main manue fade overlay customisable

by Xaser » Thu Sep 03, 2009 9:17 am

I'm all for having them modder-customizable, really. I just figured it wouldn't be considered when I posted earlier. It's good to be wrong, sometimes. :P

Re: Main manue fade overlay customisable

by Kinsie » Thu Sep 03, 2009 9:13 am

Graf Zahl wrote:
Kinsie wrote: On the subject of user settings, does anyone remember why the "You Found A Secret!" text is a CVAR instead of a language string? I know it's like that on purpose and for a reason, but I don't know what that reason is.
The typical for such kind of change. It was a quick addition to satisfy a specific need but wasn't really thought through. I wouldn't mind changing it to a language string if there's no objections. AFAIK nobody has ever used it to change the secret message.
I just went searching and saw a post where you said it was like that for a reason. *shrug* It was from last year so I assume attitudes have changed since then.

It would be nice for it to be changed to a string - not because it would be some super-amazing feature everyone wants, but because it's simply strange and inconsistent for one text string out of hundreds* to be treated so differently from the others for no noticable reason.

(* I'm not counting the automap "MONSTERS" "ITEMS" etc. just because there's no need to ever change that)

Re: Main manue fade overlay customisable

by Graf Zahl » Thu Sep 03, 2009 7:15 am

Kinsie wrote: On the subject of user settings, does anyone remember why the "You Found A Secret!" text is a CVAR instead of a language string? I know it's like that on purpose and for a reason, but I don't know what that reason is.
The typical for such kind of change. It was a quick addition to satisfy a specific need but wasn't really thought through. I wouldn't mind changing it to a language string if there's no objections. AFAIK nobody has ever used it to change the secret message.

Re: Main manue fade overlay customisable

by Ryan Cordell » Thu Sep 03, 2009 6:37 am

Kinsie wrote:.. but I don't know what that reason is.
Stupidity.

Re: Main manue fade overlay customisable

by Cutmanmike » Thu Sep 03, 2009 4:42 am

I wasn't even aware you could change the color. Scary, what else don't I know about this thing I use pretty much almost every day of my life?

Re: Main manue fade overlay customisable

by Kinsie » Thu Sep 03, 2009 3:58 am

Concurring with Jimmy and Hotwax. This'd come in very useful for mods where the current colour tint doesn't make sense (my 8bit mod, the Wolf3d TC which already uses a custom CFG as a horrible workaround)

On the subject of user settings, does anyone remember why the "You Found A Secret!" text is a CVAR instead of a language string? I know it's like that on purpose and for a reason, but I don't know what that reason is.

Re: Main manue fade overlay customisable

by HotWax » Wed Sep 02, 2009 4:31 pm

I concur with Jimmy. Make it a map option first, then if the map doesn't define one fall back to the user's settings. I do not feel this is something critical enough to need an override.

Top