qzdoom-gpl/wadsrc/static/zscript/shared/skies.txt
2017-01-12 23:35:24 +01:00

64 lines
733 B
Text

class SkyViewpoint : Actor native
{
default
{
+NOSECTOR
+NOBLOCKMAP
+NOGRAVITY
+DONTSPLASH
}
}
class SkyPicker : Actor native
{
default
{
+NOSECTOR
+NOBLOCKMAP
+NOGRAVITY
+DONTSPLASH
}
}
class SkyCamCompat : SkyViewpoint native
{
}
class StackPoint : SkyViewpoint native
{
}
class UpperStackLookOnly : StackPoint
{
}
class LowerStackLookOnly : StackPoint
{
}
class SectorSilencer : Actor
{
default
{
+NOBLOCKMAP
+NOGRAVITY
+DONTSPLASH
RenderStyle "None";
}
override void BeginPlay ()
{
Super.BeginPlay ();
CurSector.Flags |= Sector.SECF_SILENT;
}
override void OnDestroy ()
{
if (CurSector != null)
{
CurSector.Flags &= ~Sector.SECF_SILENT;
}
Super.OnDestroy();
}
}