forked from TeamSpen210/HammerAddons
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathinfo_placement_helper.fgd
More file actions
19 lines (18 loc) · 1.33 KB
/
info_placement_helper.fgd
File metadata and controls
19 lines (18 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@PointClass base(BaseEntityPoint, EnableDisable)
appliesto(SINCE_P2CE)
line(255 255 0, targetname, proxy_name)
line(255 255 0, targetname, attach_target_name)
sphere(radius, 255 128 0)
studioprop("models/editor/placement_helper.mdl")
= info_placement_helper: "Portal Placement Helper, indicates where portals will snap to. The arrow points to the 'up' diection for the portal."
[
radius(float) : "Radius" : 16 : "Radius in which to influence placement."
proxy_name(target_destination) : "Proxy Entity Name" : : "Name of the entity we want to use for our real placement position."
attach_target_name(target_destination) : "Attach Entity Name" : : "Name of the entity we want to force our attachment to. Ensures this applies to the correct brush. Needs parent!"
snap_to_helper_angles(boolean) : "Use helper's angles" : 0 : "Portals will lock to the angles, instead of rotating in all directions.."
force_placement(boolean) : "Force Placement" : 0 : "Force portals to lock to this helper, no matter what. " +
"With this disabled the helper will automatically deactivate temporarily, so that you can place portals finely."
// Outputs
output OnObjectPlaced(void) : "A portal has been successfully placed using us as a guide."
output OnObjectPlacedSize(integer) : "When a portal is successfully placed, this sends the scale level as an out value"
]