comp_pack
Jump to navigation
Jump to search


comp_pack | |
---|---|
![]() | |
Type | Internal Point entity |
Engine | ![]() |
Availability | ![]() |
comp_pack
is an internal point entity available in Portal 2: Community Edition and
TeamSpen's Hammer Addons.
It is a Point entity that works with the TeamSpen's Hammer Addons' postcompiler to forcefully pack selected models/materials/sounds/soundscripts into the .BSP file when compiling, essentially eliminating the need to manually pack files with Bspzip. This entity is removed on on map compilation and does not contribute to the entity limit.
Multiple comp_pack
s can be used in conjunction to pack multiple files into the BSP.

KeyValues
- Name (targetname) <string>
- Name of this entity. Can be used by compile tools as a prop_static's lighting origin.
Also displayed in Hammer's 2D views and Entity Report. No effect in-game.
ControlEnables:
- Control Type (ctrl_type) <choices>
- Controls how the Control Value is interpreted.
- 0 : Is Enabled?
- 1 : Is Disabled?
- Control Value (ctrl_value) <choices>
- Decides whether this entity is enabled. If disabled, the entity has no effect.
- 0 : No
- 1 : Yes
- Generic 1-4 (generic1-4) <string>
- The path to any file to be packed.
- Model 1-4 (model1 - 4) <string>
- The path to the
.mdl
file of the model to be packed.
- Material 1-4 (material1 - 4) <string>
- The path to the
.vmt
file of the material to be packed.
- Soundscript 1-4 (soundscript1-4) <string>
- The path to the soundscript file of the sound to be packed.
- Particle 1-4 (particle1-4) <string>
- Path to the particle file to be packed.
See also
Categories:
- Portal 2
- Portal 2: Community Edition
- Internal entities
- Point Entities
- Point entities
- Internal Portal 2: Community Edition entities
- Portal 2: Community Edition entities
- Portal 2: Community Edition point entities
- Internal TeamSpen's Hammer Addons entities
- TeamSpen's Hammer Addons entities
- TeamSpen's Hammer Addons point entities