TAR: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Entities: Added keyvalues, added tar_min and tar_max description)
Line 32: Line 32:
! Icon !! Name !! Description !! Keyvalues !! Examples
! Icon !! Name !! Description !! Keyvalues !! Examples
|- id="tar_config"
|- id="tar_config"
| [[File:tar_config.png|64px]] ||'''tar_config''' || Configuration of radar || ||
| [[File:tar_config.png|64px]] ||'''tar_config''' || Configuration of radar || {{ScrollBox| maxheight=16em|
{{KV|Color Scheme|intn=colorScheme|choices}}
{{KV|Custom low level color|intn=customCol0|color255|What the color of the radar should be at the lowest points of the map}}
{{KV|Custom middle level color|intn=customCol1|color255|What the color of the radar should be in the middle of the map}}
{{KV|Custom high level color|intn=customCol2|color255|What the color of the radar should be at the heighest points of the map}}
{{KV|Background Image|intn=background|string|/Counter-Strike Global Offensive/bin/tar/textures/<image.png>}}
{{KV|Ambient Occlusion|intn=enableAO|choices}}
{{KV|Ambient Occlusion Size|intn=aoSize|float|How far should ambient occlusion sample, in units.}}
{{KV|Shadows|intn=enableShadows|choices}}
{{KV|Outline|intn=enableOutline|choices}}
{{KV|Outline width|intn=outlineWidth|float|How big should the outline be}}
{{KV|Cover Color|intn=zColCover|color255|Color of the cover}}
{{KV|Secondary Color Cover|intn=zColCover2|color255|Secondary height-based cover color}}
{{KV|Outline Color|intn=zColOutline|color255|Color of the outline}}
{{KV|AO Color|intn=zColAO|color255|Color of the ambient occlusion}}
{{KV|Buyzone Color|intn=zColBuyzone|color255|Color of the buyzones}}
{{KV|Objective Color|intn=zColObjective|color255|What color should objectives be?}}
{{KV|Objective outline|intn=ObjectiveUseStripes|choices}}
{{KV|Visgroup<nowiki>:</nowiki> Layout|intn=vgroup_layout|string|Name of the visgroup that specifies the layout of the map}}
{{KV|Visgroup<nowiki>:</nowiki> Mask|intn=vgroup_negative|string|Name of the visgroup that specifies subtractive brushes of the maps layout (use on walls)}}
{{KV|Visgroup<nowiki>:</nowiki> Cover|intn=vgroup_cover|string|Name of the visgroup that specifies the cover of the map. Chuck all yr crates in here}}
{{KV|Visgroup<nowiki>:</nowiki> Overlap|intn=vgroup_overlap|string|Name of this visgroup that specifies overlapping parts of the map}}
{{KV|DDS Format|intn=ddsMode|choices}}
{{KV|Output mode|intn=outputMode|choices}}
{{KV|Sampling|intn=ssaam|choices}}
}}
 
||
|- id="tar_color"
|- id="tar_color"
| [[File:tar_color.png|64px]] ||'''tar_color''' || hanges the color of '''tar_color's''' height (need '''Use auto-gradient entities''' parameter in [[TAR#tar_config|tar_config]]) || ||
| [[File:tar_color.png|64px]] ||'''tar_color''' || hanges the color of '''tar_color's''' height (need '''Use auto-gradient entities''' parameter in [[TAR#tar_config|tar_config]]) || {{ScrollBox| maxheight=16em|
{{KV|Colo(u)r|intn=_light|color255}}
}}
||
|- id="tar_map_divider"
|- id="tar_map_divider"
| [[File:tar_map_divider.png|64px]] || '''tar_map_divider''' || Makes multiple map levels || || {{CsgoMap|de_nuke}} and {{CsgoMap|de_vertigo}}
| [[File:tar_map_divider.png|64px]] || '''tar_map_divider''' || Makes multiple map levels || {{ScrollBox| maxheight=16em|
{{KV|Mins|intn=mins|vector}}
{{KV|Maxs|intn=maxs|vector}}
}}
|| {{CsgoMap|de_nuke}} and {{CsgoMap|de_vertigo}}
|- id="tar_max"
|- id="tar_max"
| [[File:tar_max.png|64px]] || '''tar_max''' || ||  ||  
| [[File:tar_max.png|64px]] || '''tar_max''' || Overrides the maximum height of the map ||  ||  
|- id="tar_min"
|- id="tar_min"
| [[File:tar_min.png|64px]] || '''tar_min''' || ||  ||  
| [[File:tar_min.png|64px]] || '''tar_min''' || Overrides the minimum height of the map ||  ||  
|}
|}



Revision as of 11:00, 10 May 2022

TAR (Auto Radar) is a tool for Counter-Strike: Global Offensive Counter-Strike: Global Offensive. This tool can automatically make radars.

Installation

  1. Copy everything in /bin_content/ to your csgo installation's /bin/ folder
  2. Copy everything in /hammer_content/ to your csgo installation's /csgo/ folder
  3. Create a directory in your csgo installation's global offensive/bin/ folder named 'tar'
  4. Copy everything in /AutoRadar2.0.4/ to your csgo installation's global offensive/bin/tar/ folder
  5. Add a new compile profile in the expert compile mode of hammer
  6. Set its name to [TAR] Generate Radar
  7. Set the executable to: $exedir/bin/tar/AutoRadar.exe
  8. Set the args to: -g $gamedir $path/$file
  9. Go to Tools > Options in hammer
  10. Next to 'Game Data files' click add
  11. Find tar_entities.fgd and add it

Usage

Visgroups

Name Description Entities/brushes Examples
tar_layout Layout of the radar Brushes
tar_cover Cover of the radar Props, brush entities, ...
tar_overlap Overlap of the radar Brushes A plant on de_mirage de_mirage
tar_mask Objects, that hides tar_layout Props, brushes Columns

Entities

Icon Name Description Keyvalues Examples
Tar config.png tar_config Configuration of radar
Color Scheme (colorScheme) <choices>
Custom low level color (customCol0) <color255>
What the color of the radar should be at the lowest points of the map
Custom middle level color (customCol1) <color255>
What the color of the radar should be in the middle of the map
Custom high level color (customCol2) <color255>
What the color of the radar should be at the heighest points of the map
Background Image (background) <string>
/Counter-Strike Global Offensive/bin/tar/textures/<image.png>
Ambient Occlusion (enableAO) <choices>
Ambient Occlusion Size (aoSize) <float>
How far should ambient occlusion sample, in units.
Shadows (enableShadows) <choices>
Outline (enableOutline) <choices>
Outline width (outlineWidth) <float>
How big should the outline be
Cover Color (zColCover) <color255>
Color of the cover
Secondary Color Cover (zColCover2) <color255>
Secondary height-based cover color
Outline Color (zColOutline) <color255>
Color of the outline
AO Color (zColAO) <color255>
Color of the ambient occlusion
Buyzone Color (zColBuyzone) <color255>
Color of the buyzones
Objective Color (zColObjective) <color255>
What color should objectives be?
Objective outline (ObjectiveUseStripes) <choices>
Visgroup: Layout (vgroup_layout) <string>
Name of the visgroup that specifies the layout of the map
Visgroup: Mask (vgroup_negative) <string>
Name of the visgroup that specifies subtractive brushes of the maps layout (use on walls)
Visgroup: Cover (vgroup_cover) <string>
Name of the visgroup that specifies the cover of the map. Chuck all yr crates in here
Visgroup: Overlap (vgroup_overlap) <string>
Name of this visgroup that specifies overlapping parts of the map
DDS Format (ddsMode) <choices>
Output mode (outputMode) <choices>
Sampling (ssaam) <choices>
Tar color.png tar_color hanges the color of tar_color's height (need Use auto-gradient entities parameter in tar_config)
Colo(u)r (_light) <color255>
Tar map divider.png tar_map_divider Makes multiple map levels
Mins (mins) <vector>
Maxs (maxs) <vector>
de_nuke de_nuke and de_vertigo de_vertigo
Tar max.png tar_max Overrides the maximum height of the map
Tar min.png tar_min Overrides the minimum height of the map

See also