Skip to content

Commit

Permalink
HacX: Added default light decorations to various materials
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Feb 4, 2012
1 parent 3825729 commit 0bf19f4
Show file tree
Hide file tree
Showing 2 changed files with 255 additions and 0 deletions.
1 change: 1 addition & 0 deletions doomsday/plugins/jdoom/defs/hacx.ded
Expand Up @@ -16,6 +16,7 @@ Include "doom1/materials.ded";
Include "doom2/music.ded";
Include "hacx/fonts.ded";
Include "hacx/menu.ded";
Include "hacx/lights.ded";

# The BFG shot is a metal bomb-like object in HacX so do not blend it when drawing.
Thing {
Expand Down
254 changes: 254 additions & 0 deletions doomsday/plugins/jdoom/defs/hacx/lights.ded
@@ -0,0 +1,254 @@
# HacX - Lights and Light Decorations
#

Header { Version = 5; }

SkipIf -nodefaultfx;

#####====--- LIGHT SOURCES ---====#####
#
# The default properties of all light-emitting objects are determined
# automatically by the engine. Here we make a couple of minor tweaks.
#
# For further information on Light definition syntax and semantics see:
#
# http://dengine.net/dew/?title=Light

#####====--- LIGHT DECORATIONS ---====#####
#
# The default flags allow using these only with the original textures.
# Use "dcf_pwad" and "dcf_ext" to allow using with PWAD and external
# resources.
#
# There can only be one decoration per texture/flat. Newer decorations
# override older ones.
#
# One decoration can specify up to 16 lights.
#
# For further information on Decoration definition syntax and semantics see:
#
# http://dengine.net/dew/?title=Decoration

Decoration {
Material = "flats:TLITE6_6";
Light {
Color { .26 6 .22 };
Offset { 20.5 45.5 };
Radius = .04;
Halo radius = .02;
Levels { 240 210 };
};
Light {
Color { .26 6 .22 };
Offset { 43.5 17.5 };
Radius = .04;
Halo radius = .02;
Levels { 240 210 };
};
}

Decoration {
Material = "flats:RROCK04";
Light {
Color { .98 .98 1 };
Offset { 16 16 };
Radius = .5;
Halo radius = .4;
# React to sector lightlevel.
Levels { 80 190 };
};
Light {
Color { .98 .98 1 };
Offset { 48 16 };
Radius = .5;
Halo radius = .4;
# React to sector lightlevel.
Levels { 80 190 };
};
Light {
Color { .98 .98 1 };
Offset { 48 48 };
Radius = .5;
Halo radius = .4;
# React to sector lightlevel.
Levels { 80 190 };
};
Light {
Color { .98 .98 1 };
Offset { 16 48 };
Radius = .5;
Halo radius = .4;
# React to sector lightlevel.
Levels { 80 190 };
};
}

Decoration {
Material = "textures:BIGBRIK1";
Light {
Color { 1 0 0 };
Offset { 2.5 102.5 };
Radius = .04;
Halo radius = .02;
Levels { 240 210 };
};
}

Decoration {
Material = "textures:BIGBRIK2";
Light {
Color { 1 0 0 };
Offset { 4.5 102.5 };
Radius = .04;
Halo radius = .02;
Levels { 240 210 };
};
}

Decoration {
Material = "textures:COMPSTA2";
Light {
Color { .6 0 0 };
Offset { 8 91 };
Radius = .04;
Halo radius = .02;
Levels { 240 210 };
};
Light {
Color { .6 0 0 };
Offset { 117 99 };
Radius = .04;
Halo radius = .02;
Levels { 240 210 };
};
Light {
Color { .56 0 0 };
Offset { 117 104 };
Radius = .04;
Halo radius = .02;
Levels { 240 210 };
};
Light {
Color { .6 0 0 };
Offset { 117 114 };
Radius = .04;
Halo radius = .02;
Levels { 240 210 };
};
}

Decoration {
Material = "textures:HD5";
Light {
Color { .9 0 0 };
Offset { 33 38 };
Radius = .18;
Halo radius = .3;
Levels { 240 210 };
};
}

Decoration {
Material = "textures:SLADWALL";
Light {
Color { .9 0 0 };
Offset { 67 99 };
Radius = .18;
Halo radius = .3;
Levels { 240 210 };
};
}

Decoration {
Material = "textures:HW214";
Light {
Color { .98 .98 1 };
Offset { 16 16 };
Radius = .95;
Halo radius = .7;
# React to sector lightlevel.
Levels { 80 190 };
};
}

Copy Decoration {
Material = "textures:NUKESLAD";
}

Decoration {
Material = "textures:SW1BRCOM";
Light {
Color { 1 0 0 };
Offset { 10 73 };
Radius = .04;
Halo radius = .02;
Levels { 240 210 };
};
Light {
Color { 1 0 0 };
Offset { 22 85 };
Radius = .04;
Halo radius = .02;
Levels { 240 210 };
};
Light {
Color { .3 0 0 };
Offset { 22 85 };
Radius = .1;
Halo radius = .2;
Levels { 240 210 };
};
}

Decoration {
Material = "textures:SW2BRCOM";
Light {
Color { .46 1 .43 };
Offset { 9.5 85.5 };
Radius = .04;
Halo radius = .02;
Levels { 240 210 };
};
Light {
Color { .46 1 .43 };
Offset { 21.5 73.5 };
Radius = .04;
Halo radius = .02;
Levels { 240 210 };
};
Light {
Color { .6 0 0 };
Offset { 22 85 };
Radius = .16;
Halo radius = .3;
Levels { 240 210 };
};
Light {
Color { 1 0 0 };
Offset { 16 40 };
Radius = .08;
Halo radius = .06;
Levels { 246 200 };
};
Light {
Color { .46 1 .43 };
Offset { 25.5 50.5 };
Radius = .02;
Halo radius = .02;
Levels { 240 210 };
};
Light {
Color { .46 1 .43 };
Offset { 40.5 80.5 };
Radius = .04;
Halo radius = .02;
Levels { 240 210 };
};
Light {
Color { .46 1 .43 };
Offset { 55.5 79.5 };
Radius = .04;
Halo radius = .02;
Levels { 240 210 };
};
}

0 comments on commit 0bf19f4

Please sign in to comment.