Comp pack: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{P2CE topicon}}
 
{{ModernWarning|This article is still under development. Please excuse the informal appearance while we work on this.}}
{{entity|comp_pack|type=e1|game=Portal 2: Community Edition}} It is also available in all games with {{teamspen|4}} installed. 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|.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
{{entity|comp_pack|type=e1|game=Portal 2: Community Edition}} It is also available in all games with {{teamspen|4}} installed. 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|.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 <code>comp_pack</code>s can be used in conjunction to pack multiple files into the BSP.  
Multiple <code>comp_pack</code>s can be used in conjunction to pack multiple files into the BSP.  

Revision as of 14:48, 2 March 2023

Template:Entity It is also available in all games with TeamSpen's Hammer Addons TeamSpen's Hammer Addons installed. 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_packs can be used in conjunction to pack multiple files into the BSP. Template:ModernWarning

KeyValues

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.
Sound 1-4 (sound1-4) <string>
path to the .wav/.mp3 to be packed.

See Also