This branch is a staging area for changes that will make it to devel once they are fully implemented.
Everything in here is highly unstable and may not work. Current commit contains various new features for the HUD, some cleanup, and additional changes for compatibility with Doomreal as it is developed. The diff is kinda fucky on the font restructure due to flaky rename detection.
This commit is contained in:
parent
ada67df8c0
commit
a3449b5c5b
1411 changed files with 416 additions and 214 deletions
|
|
@ -148,28 +148,12 @@ Class Razor2 : Actor
|
|||
}
|
||||
}
|
||||
|
||||
Class Razor2AltLight : DynamicLight
|
||||
Class Razor2AltLight : PaletteLight
|
||||
{
|
||||
double lifetime;
|
||||
Default
|
||||
{
|
||||
DynamicLight.Type "Point";
|
||||
Args 255,240,224,90;
|
||||
}
|
||||
override void PostBeginPlay()
|
||||
{
|
||||
Super.PostBeginPlay();
|
||||
lifetime = 1.0;
|
||||
}
|
||||
override void Tick()
|
||||
{
|
||||
Super.Tick();
|
||||
if ( isFrozen() ) return;
|
||||
args[LIGHT_RED] = int(255*lifetime);
|
||||
args[LIGHT_GREEN] = int(240*lifetime);
|
||||
args[LIGHT_BLUE] = int(224*lifetime);
|
||||
lifetime -= 0.05;
|
||||
if ( lifetime <= 0 ) Destroy();
|
||||
Args 0,0,0,90;
|
||||
ReactionTime 20;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue