This article relates to the game "Portal 2." Click here for more information.

Comp pack: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (infotable)
(Multipage Template)
Line 7: Line 7:
|in={{teamspen|4}}
|in={{teamspen|4}}
}}
}}
{{this is a|name=comp_pack|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.
{{this is a|name=comp_pack|e1|game=Portal 2: Community Edition}}  
Multiple <code>comp_pack</code>s can be used in conjunction to pack multiple files into the BSP.
{{Multipage}}
{{ModernWarning|Always compile the map first to check and see if the file you want already got automatically packed by the postcompiler. This should only be used if the file you need refuses to get automatically packed.}}
==KeyValues==
{{KV|Generic 1-4|intn=generic1-4|string|The path to any file to be packed.}}
{{KV|Model 1-4|intn=model1 - 4|string|The path to the <code>.mdl</code> file of the model to be packed.}}
{{KV|Material 1-4|intn=material1 - 4|string|The path to the <code>.vmt</code> file of the material to be packed.}}
{{KV|Soundscript 1-4|intn=soundscript1-4|string|The path to the soundscript file of the sound to be packed.}}
{{KV|Particle 1-4|intn=particle1-4|string|Path to the particle file to be packed.}}
{{KV|Sound 1-4|intn=sound1-4|string|path to the <code>[[WAV|.wav]]/[[MP3|.mp3]]</code> to be packed.}}
 
==See Also==
*[[TeamSpen's Hammer Addons]]

Revision as of 09:03, 19 December 2023

comp_pack
Comp pack.png
TypeInternal Point entity
EngineSource Source
AvailabilityTeamSpen's Hammer Addons TeamSpen's Hammer Addons
 

comp_pack is an e1 available in Portal 2: Community Edition Portal 2: Community Edition. Template:Multipage