More editing flags
PSX-inspired flags to change the render styles of monsters (and other things).
This commit is contained in:
parent
bbb41e869c
commit
580094a792
7 changed files with 79 additions and 2 deletions
|
|
@ -4022,6 +4022,24 @@ void AActor::HandleSpawnFlags ()
|
|||
RenderStyle = STYLE_Translucent;
|
||||
alpha = TRANSLUC25;
|
||||
}
|
||||
else if (SpawnFlags & MTF_TRANS)
|
||||
{
|
||||
RenderStyle = STYLE_Translucent;
|
||||
alpha = TRANSLUC50;
|
||||
}
|
||||
else if (SpawnFlags & MTF_ADD)
|
||||
{
|
||||
RenderStyle = STYLE_Add;
|
||||
}
|
||||
else if (SpawnFlags & MTF_SUBTRACT)
|
||||
{
|
||||
RenderStyle = STYLE_Subtract;
|
||||
}
|
||||
else if (SpawnFlags & MTF_SPECTRE)
|
||||
{
|
||||
RenderStyle = STYLE_Add;
|
||||
alpha = TRANSLUC25;
|
||||
}
|
||||
else if (SpawnFlags & MTF_ALTSHADOW)
|
||||
{
|
||||
RenderStyle = STYLE_None;
|
||||
|
|
@ -4035,6 +4053,10 @@ void AActor::HandleSpawnFlags ()
|
|||
level.total_secrets++;
|
||||
}
|
||||
}
|
||||
if (SpawnFlags & MTF_DOUBLEHEALTH)
|
||||
{
|
||||
health *= 2;
|
||||
}
|
||||
}
|
||||
|
||||
void AActor::BeginPlay ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue