Clocks
Moderator: Moderators
-
LEgionOfDeicide
- Lance Corporal
- Posts: 14
- Joined: Mon Feb 24, 2003 4:43 pm
Clocks
I have noticed that the clocks in the game actually have hands that change over time. Is it possible to set the clocks to the server time? This would be a really nice feature on the late night DM's. You could actually read the time and no that you have stayed awake for far to long.
-
LEgionOfDeicide
- Lance Corporal
- Posts: 14
- Joined: Mon Feb 24, 2003 4:43 pm
I found this in clock.shader:
As you can see both hands rotate slowly, both a different speed. Nice detail, and nicely spotted 
Code: Select all
static_clockface1
{
qer_editorimage textures/clock/clockface1.tga
nomipmaps
nopicmip
{
clampmap textures/clock/clockface1.tga
depthwrite
}
///////////////////////////////////////////
///hourhand
///////////////////////////////////////////
{
clampmap textures/clock/hourhand.tga
alphafunc GE128
tcMod rotate .008333333 180
}
///////////////////////////////////////////
///minutehand
///////////////////////////////////////////
{
clampmap textures/clock/minutehand.tga
alphafunc GE128
tcMod rotate .1 45
}
{
map $lightmap
rgbGen static
blendFunc GL_DST_COLOR GL_ZERO
depthfunc equal
}
}
-
LEgionOfDeicide
- Lance Corporal
- Posts: 14
- Joined: Mon Feb 24, 2003 4:43 pm
