-
Notifications
You must be signed in to change notification settings - Fork 13
/
gmod_worldportals.fgd
32 lines (27 loc) · 1.88 KB
/
gmod_worldportals.fgd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//=============================================================================
//
// Garry's Mod world portal declarations
//
//=============================================================================
@include "base.fgd"
@BaseClass = LinkedPortalDoor : "An entity that can be linked to another door and create a passage between them dynamically."
[
partnername(target_destination) : "Linked Partner" : : "Another 'prop_linked_portal_door' entity which will link to this one."
input SetPartner(string) : "Set a new partner door."
input Open(void) : "Open the door and cause the portal to activate."
input Close(void) : "Close the door and cause the portal to deactivate."
output OnOpen(void) : "Called when the door has started its open animation."
output OnClose(void) : "Called when the door has started its close animation."
output OnEntityTeleportFromMe(void) : "When any entity is teleported from this portal to the linked partner."
output OnPlayerTeleportFromMe(void) : "When the player is teleported from this portal to the linked partner."
output OnEntityTeleportToMe(void) : "When any entity is teleported from this linked partner to the portal."
output OnPlayerTeleportToMe(void) : "When the player is teleported from this linked partner to the portal."
]
@PointClass base(Targetname, Parentname, Angles, LinkedPortalDoor) sphere(DisappearDist) studio("models/editor/axis_helper_thick.mdl") = linked_portal_door :
"A door which is linked by a portal to another 'linked_portal_door' entity."
[
width(integer) : "Width" : 128 : "Width of the desired portal. Measured from the center"
height(integer) : "Height" : 128 : "Height of the desired portal. Measured from the center"
startactive(integer) : "Start Active" : 1 : "Whether to start the linkage as active from the start."
DisappearDist(integer) : "Disappear Distance" : -1 : "Distance at which the portal will stop rendering"
]