Func instance origin: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated to use "this is a" template)
(Added some info from Slammin' Source Map Tools' page)
Line 1: Line 1:
{{obsolete|entity=1}}
{{obsolete|entity=1}}
{{messagebox|text=This entity is fixed in {{slamminsrc|4}}}}
{{this is a|e1|name=func_instance_origin|engine=2|since=Portal 2}} The entity is supposed to set the center of an instance for placement and rotation, but it appears to have only been partially implemented. The entity will affect the positioning of the instance in Hammer, but the bounding box isn't updated to match, and it has no effect in the compiled map; the instance will be placed with the center of the VMF as the origin as usual.
{{this is a|e1|name=func_instance_origin|engine=2|since=Portal 2}} The entity is supposed to set the center of an instance for placement and rotation, but it appears to have only been partially implemented. The entity will affect the positioning of the instance in Hammer, but the bounding box isn't updated to match, and it has no effect in the compiled map; the instance will be placed with the center of the VMF as the origin as usual.



Revision as of 07:32, 16 December 2023

Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.

func_instance_origin is an e1 available in all Template:2 games since Portal 2 Portal 2.Template:2 topicon

Warning.pngWarning:
  • The {{{engine}}} parameter is inconsistent with the name defined by the {{2}} template.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

The entity is supposed to set the center of an instance for placement and rotation, but it appears to have only been partially implemented. The entity will affect the positioning of the instance in Hammer, but the bounding box isn't updated to match, and it has no effect in the compiled map; the instance will be placed with the center of the VMF as the origin as usual.

Template:Intent

Todo: VBSP is if fact processing and removing the entity (as indicated by the lack of any unknown entity errors in-game), but doesn't seem to actually be doing anything with it. Maybe the entity can be made to work somehow?

See also