Difference between revisions of "STYLES"
(created!) |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
=Styles= | =Styles= | ||
+ | {{DeprecatedFunc}} | ||
+ | '''Stored in styles.ddf or DDFSTYLE data lump''' | ||
− | ' | + | Styles.ddf allows you to define the background colour/image and text font/colour/scaling information (and sounds too) for various parts of EDGE's user interface. Keep in mind that this is always changing, since Styles.DDF was a hack to begin with. Newer versions of [[3DGE]] still support this, but many functions are either replaced or do not work anymore. Please keep this in mind if you have an active Styles.DDF in your wad. |
− | + | <div style="background: #f2e0ce; border: 2px solid #bfb1a3; padding: 0.6em; margin-top: 0.8em;">It may undergo significant changes (without keeping compatibility), and it might even be scrapped! USE AT OWN RISK..</div> | |
==Example== | ==Example== | ||
Line 10: | Line 12: | ||
The Following is a an example of STYLES.DDF | The Following is a an example of STYLES.DDF | ||
− | {| width="95%" border="1" frame="box" cellpadding="2" frame="box" BGCOLOR="# | + | {| width="95%" border="1" frame="box" cellpadding="2" frame="box" BGCOLOR="#FFE4B5" |
| <font size="2"> | | <font size="2"> | ||
[DEFAULT]<br> | [DEFAULT]<br> | ||
Line 20: | Line 22: | ||
HELP.FONT="DOOM";<br> | HELP.FONT="DOOM";<br> | ||
− | [MENU]<br> | + | [MENU] //Main Menu!<br> |
− | BACKGROUND.COLOUR=#000000;<br> | + | BACKGROUND.COLOUR=#000000; // Set Background Color<br> |
BACKGROUND.TRANSLUCENCY=64%;<br> | BACKGROUND.TRANSLUCENCY=64%;<br> | ||
− | TEXT.FONT="DOOM";<br> | + | TEXT.FONT="DOOM"; // Set Text Font (defined in Fonts.ddf)<br> |
− | ALT.FONT="DOOM";<br> | + | ALT.FONT="DOOM"; // Set Alternate Font<br> |
− | ALT.COLOURMAP="TEXT_YELLOW";<br> | + | ALT.COLOURMAP="TEXT_YELLOW"; // Set Colormap for Alternate Font<br> |
TITLE.FONT="DOOM";<br> | TITLE.FONT="DOOM";<br> | ||
TITLE.COLOURMAP="TEXT_WHITE";<br> | TITLE.COLOURMAP="TEXT_WHITE";<br> | ||
HELP.FONT="DOOM";<br> | HELP.FONT="DOOM";<br> | ||
HELP.COLOURMAP="TEXT_GREEN";<br> | HELP.COLOURMAP="TEXT_GREEN";<br> | ||
− | SOUND.BEGIN = "SWTCHN";<br> | + | SOUND.BEGIN = "SWTCHN"; // These entries set menu sounds!<br> |
SOUND.END = "SWTCHX";<br> | SOUND.END = "SWTCHX";<br> | ||
SOUND.SELECT = "PISTOL";<br> | SOUND.SELECT = "PISTOL";<br> | ||
Line 103: | Line 105: | ||
</font> | </font> | ||
|} | |} | ||
+ | |||
+ | |||
+ | ---- | ||
+ | {{DDF}} |
Latest revision as of 22:06, 29 April 2016
Styles
Stored in styles.ddf or DDFSTYLE data lump
Styles.ddf allows you to define the background colour/image and text font/colour/scaling information (and sounds too) for various parts of EDGE's user interface. Keep in mind that this is always changing, since Styles.DDF was a hack to begin with. Newer versions of 3DGE still support this, but many functions are either replaced or do not work anymore. Please keep this in mind if you have an active Styles.DDF in your wad.
Example
The Following is a an example of STYLES.DDF
[DEFAULT] [MENU] //Main Menu! [OPTIONS] [MESSAGES] [CHAT] [AUTOMAP] [STATS] [NET_STATS] [RTS_TIP] [CONSOLE] [CAST_SCREEN] |
Doom Definition Files | |
---|---|
Current DDF Types | |
Abandoned DDF TYPES (DOSDoom & EDGE) |