Hammer Instancing Menu: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(General overhaul and completion)
Line 1: Line 1:
{{otherlang2
|de=Hammer_Instancing_Menu:de
}}
__NOTOC__
__NOTOC__
{{stub}}
The '''Instancing''' menu contains various functions to manage [[Instances]] on one hand, and to manage so-called [[Manifests]] on the other hand. Manifest functions are part of the '''Instancing''' menu because Hammer accomplishes manifests by way of instancing selected parts of a map.
{{note|Instancing is only supported by {{l4d2}}[[Left 4 Dead 2]] and later}}   
{{note|Instancing is only supported by {{l4d2}}[[Left 4 Dead 2]] and later}}   
[[File:Instancing.jpg]]
[[File:Instancing.jpg]]


== Create New Instance From Selection ==
== Create New Instance From Selection ==
{{todo|Explanation needed}}
{{bug|Apparently, this function is supposed to open a dialog from which to create a new instance from the selected objects. However, there seems to be no way to activate this function which renders it useless.}}
{{bug|This doesn't seem to work. A workaround is to create a new [[VMF]] file in the ''instances/'' folder}}  
{{note|A workaround is to create a new [[VMF]] file in the ''instances/'' folder}}  


== Collapse ==
== Collapse ==
Line 12: Line 15:


Collapses instances either by selection or all into the main map
Collapses instances either by selection or all into the main map
{{note|The '''Collapse''' function should be handled with care. Collapsing does not perform all of the operations that the BSP process does for instancing and, thus, may result in issues with the map. Therefore, upon calling this command you will be asked to confirm.}}


== View Instances ==
== View Instances ==
[[File:instancingHSTSN.jpg]]
[[File:instancingHSTSN.jpg]]
;Hide
;Hide
:If checked, hides all instances on the map
:If checked, hides all instances on the map.
;Show Tinted
;Show Tinted
:If checked, shows and highlights all instances on the map
:If checked, shows and highlights all instances on the map.
;Show Normal
;Show Normal
:If checked, shows all instances on the map without highlighting
:If checked, shows all instances on the map untintedly and without highlighting.
 
{{note|When opening a map '''View Instances''' will always be reset to ''Show Tinted''.}}


== Windows ==
== Windows ==
[[File:InstancingWin.jpg‎]]
[[File:InstancingWin.jpg‎]]
Not to be confused with the '''View Instances''' command. '''Windows''' opens and closes a window each for every instance on the map with the corresponding VMF file.
;Hide All Instances
;Hide All Instances
:Hides all instances on the map
:Closes all instances windows.
;Show All Instances
;Show All Instances
:Reveals all of the hidden instances on the map
:Opens an instance window for each instance on the map.


== Create Manifest ==
== Create Manifest ==
Creates a manifest of the current Instances within a VMF. Think of this like a special [[visgroup]] list for instances.
Creates a Manifest file in the [[VMM]] format from the current map. All objects of the map will be moved into a so-called SubMap. For more information see [[Manifest]].


== Version Control ==
== Version Control ==
{{bug|It seems as if the submenu commands of '''Version Control''' cannot be activated which renders it useless.}}
{{todo|Explanation needed}}
{{todo|Explanation needed}}
;Add Manifest
;Checkout Manifest
;Check In All
;Check Out All


== View Manifests ==
== View Manifests ==
{{bug|It seems as if the submenu commands of '''View Manifests''' cannot be activated which renders it useless.}}
{{todo|Explanation needed}}
{{todo|Explanation needed}}
;Hide Except Current
{{note|The Visibility of SubMaps can be controlled with [[Manifest Control]]. Besides, '''View Instances''' (''see above'') also has a visibility effect on the SubMaps and Instances of a Manifest.}}
;Tinted
;Show Normal


== See Also ==
== See Also ==
*[[Instances]]
*[[L4D2 Level Design/VMF Instances]]- A Valve tutorial on how to use instances in Left 4 Dead 2.  
*[[L4D2 Level Design/VMF Instances]]- A Valve tutorial on how to use instances in Left 4 Dead 2.  
*[[Working with instances]]- A tutorial on how to use instances in Portal 2.
*[[Working with instances]]- A tutorial on how to use instances in Portal 2.


[[Category:Hammer Menus]]
[[Category:Hammer Menus]]

Revision as of 02:40, 7 February 2013

Template:Otherlang2

The Instancing menu contains various functions to manage Instances on one hand, and to manage so-called Manifests on the other hand. Manifest functions are part of the Instancing menu because Hammer accomplishes manifests by way of instancing selected parts of a map.

Note.pngNote:Instancing is only supported by Left 4 Dead 2Left 4 Dead 2 and later

Instancing.jpg

Create New Instance From Selection

Icon-Bug.pngBug:Apparently, this function is supposed to open a dialog from which to create a new instance from the selected objects. However, there seems to be no way to activate this function which renders it useless.  [todo tested in ?]
Note.pngNote:A workaround is to create a new VMF file in the instances/ folder

Collapse

InstancingSelAll.jpg

Collapses instances either by selection or all into the main map

Note.pngNote:The Collapse function should be handled with care. Collapsing does not perform all of the operations that the BSP process does for instancing and, thus, may result in issues with the map. Therefore, upon calling this command you will be asked to confirm.

View Instances

InstancingHSTSN.jpg

Hide
If checked, hides all instances on the map.
Show Tinted
If checked, shows and highlights all instances on the map.
Show Normal
If checked, shows all instances on the map untintedly and without highlighting.
Note.pngNote:When opening a map View Instances will always be reset to Show Tinted.

Windows

InstancingWin.jpg

Not to be confused with the View Instances command. Windows opens and closes a window each for every instance on the map with the corresponding VMF file.

Hide All Instances
Closes all instances windows.
Show All Instances
Opens an instance window for each instance on the map.

Create Manifest

Creates a Manifest file in the VMM format from the current map. All objects of the map will be moved into a so-called SubMap. For more information see Manifest.

Version Control

Icon-Bug.pngBug:It seems as if the submenu commands of Version Control cannot be activated which renders it useless.  [todo tested in ?]
Todo: Explanation needed

View Manifests

Icon-Bug.pngBug:It seems as if the submenu commands of View Manifests cannot be activated which renders it useless.  [todo tested in ?]
Todo: Explanation needed
Note.pngNote:The Visibility of SubMaps can be controlled with Manifest Control. Besides, View Instances (see above) also has a visibility effect on the SubMaps and Instances of a Manifest.

See Also