gzdoom-gles/wadsrc/static/zscript/shared/skies.txt

65 lines
733 B
Text
Raw Normal View History

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
{
}
2017-01-12 22:35:24 +00:00
class SectorSilencer : Actor
{
default
{
+NOBLOCKMAP
+NOGRAVITY
+DONTSPLASH
RenderStyle "None";
}
2017-01-12 22:35:24 +00:00
override void BeginPlay ()
{
Super.BeginPlay ();
CurSector.Flags |= Sector.SECF_SILENT;
}
override void OnDestroy ()
{
if (CurSector != null)
{
CurSector.Flags &= ~Sector.SECF_SILENT;
}
Super.OnDestroy();
}
}