TAR: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 35: Line 35:
| [[File:tar_config.png|64px]] ||'''tar_config''' || Configuration of radar || {{ScrollBox| maxheight=16em|
| [[File:tar_config.png|64px]] ||'''tar_config''' || Configuration of radar || {{ScrollBox| maxheight=16em|
{{KV|Color Scheme|intn=colorScheme|choices}}
{{KV|Color Scheme|intn=colorScheme|choices}}
:*0: Dust 2
:*1: Mirage
:*2: Overpass
:*3: Cache
:*4: Inferno
:*5: Train
:*6: Nuke
:*7: Vertigo
:*-1: Custom Scheme
:*-2: Use auto-gradient entities
{{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 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 middle level color|intn=customCol1|color255|What the color of the radar should be in the middle of the map}}
Line 40: Line 50:
{{KV|Background Image|intn=background|string|/Counter-Strike Global Offensive/bin/tar/textures/<image.png>}}
{{KV|Background Image|intn=background|string|/Counter-Strike Global Offensive/bin/tar/textures/<image.png>}}
{{KV|Ambient Occlusion|intn=enableAO|choices}}
{{KV|Ambient Occlusion|intn=enableAO|choices}}
:*0: Disabled
:*1: Enabled
{{KV|Ambient Occlusion Size|intn=aoSize|float|How far should ambient occlusion sample, in units.}}
{{KV|Ambient Occlusion Size|intn=aoSize|float|How far should ambient occlusion sample, in units.}}
{{KV|Shadows|intn=enableShadows|choices}}
{{KV|Shadows|intn=enableShadows|choices}}
:*0: Disabled
:*1: Enabled
{{KV|Outline|intn=enableOutline|choices}}
{{KV|Outline|intn=enableOutline|choices}}
:*0: Disabled
:*1: Enabled
{{KV|Outline width|intn=outlineWidth|float|How big should the outline be}}
{{KV|Outline width|intn=outlineWidth|float|How big should the outline be}}
{{KV|Cover Color|intn=zColCover|color255|Color of the cover}}
{{KV|Cover Color|intn=zColCover|color255|Color of the cover}}
Line 51: Line 67:
{{KV|Objective Color|intn=zColObjective|color255|What color should objectives be?}}
{{KV|Objective Color|intn=zColObjective|color255|What color should objectives be?}}
{{KV|Objective outline|intn=ObjectiveUseStripes|choices}}
{{KV|Objective outline|intn=ObjectiveUseStripes|choices}}
:*0: Normal
:*1: Stripy
{{KV|Visgroup<nowiki>:</nowiki> Layout|intn=vgroup_layout|string|Name of the visgroup that specifies the layout of the map}}
{{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> Mask|intn=vgroup_negative|string|Name of the visgroup that specifies subtractive brushes of the maps layout (use on walls)}}
Line 56: Line 74:
{{KV|Visgroup<nowiki>:</nowiki> Overlap|intn=vgroup_overlap|string|Name of this visgroup that specifies overlapping parts of the map}}
{{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|DDS Format|intn=ddsMode|choices}}
:*0: DXT1 (standard)
:*1: [csgo unsupported] DXT5 (transparency)
:*2: [csgo unsupported] BRG888 (uncompressed)
:*3: [csgo unsupported] BRGA888 (uncompressed)
{{KV|Output mode|intn=outputMode|choices}}
{{KV|Output mode|intn=outputMode|choices}}
:*0: Radar .DDS⠀⠀ ⠀⠀ <nowiki>|</nowiki>  .TXT
:*1: Radar .DDS, .PNG <nowiki>|</nowiki>  .TXT
:*2: Radar .PNG⠀⠀ ⠀⠀ <nowiki>|</nowiki>  .TXT
:*3: Radar .DDS             
:*4: Radar .PNG             
{{KV|Sampling|intn=ssaam|choices}}
{{KV|Sampling|intn=ssaam|choices}}
:*0: Off
:*1: 4x SSAA
:*2: 16x SSAA
:*3: FXAA (recommended)
}}
}}



Revision as of 12:22, 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>
  • 0: Dust 2
  • 1: Mirage
  • 2: Overpass
  • 3: Cache
  • 4: Inferno
  • 5: Train
  • 6: Nuke
  • 7: Vertigo
  • -1: Custom Scheme
  • -2: Use auto-gradient entities
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>
  • 0: Disabled
  • 1: Enabled
Ambient Occlusion Size (aoSize) <float>
How far should ambient occlusion sample, in units.
Shadows (enableShadows) <choices>
  • 0: Disabled
  • 1: Enabled
Outline (enableOutline) <choices>
  • 0: Disabled
  • 1: Enabled
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>
  • 0: Normal
  • 1: Stripy
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>
  • 0: DXT1 (standard)
  • 1: [csgo unsupported] DXT5 (transparency)
  • 2: [csgo unsupported] BRG888 (uncompressed)
  • 3: [csgo unsupported] BRGA888 (uncompressed)
Output mode (outputMode) <choices>
  • 0: Radar .DDS⠀⠀ ⠀⠀ | .TXT
  • 1: Radar .DDS, .PNG | .TXT
  • 2: Radar .PNG⠀⠀ ⠀⠀ | .TXT
  • 3: Radar .DDS
  • 4: Radar .PNG
Sampling (ssaam) <choices>
  • 0: Off
  • 1: 4x SSAA
  • 2: 16x SSAA
  • 3: FXAA (recommended)
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