Hammer 5 Tools: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Infobox
{{Stub}}
| icon = wreath
 
| description = Hammer 5 Tools is a suite of tools for the Counter-Strike 2 Workshop
{{lang}}
| cover = .gitbook/assets/header.png
 
| coverY = 0
{{infotable
|download=https://github.com/dertwist/Hammer5Tools
|type=t2
|engine=3
|platform={{win|4}}
}}
}}


=== Welcome ===
[[File:Hammer5tools header.png|750px|frameless|center]]
 
== Tools ==
 
<gallery perrow="3" widths="500px" heights="330px">
Hammer5Tools qsAhC58g1F.png|Loading Editor
Hammer5Tools qsAhC58g1F.png|SoundEvent Editor
Hammer5Tools qsAhC58g1F.png|BatchCreator
Hammer5Tools qsAhC58g1F.png|Hotkey Editor
Hammer5Tools qsAhC58g1F.png|SmartProp Editor
</gallery>


==== Installation ====
==== Installation ====
Line 12: Line 26:


Unzip the archive and launch `hammer5tools.exe`.
Unzip the archive and launch `hammer5tools.exe`.
=== Tools ===
===== Loading Editor =====
With this tool, you can add images, descriptions, and icons to the loading screen.
===== SoundEvent Editor =====
A tool for more comfortable sound editing within the game.
===== BatchCreator =====
Allows you to edit multiple files with the same parameters at one time. Ideal for modular sets with multiple models, allowing bulk editing in one click.
===== Hotkey Editor =====
Edit default keyboard shortcuts or add custom shortcuts.
===== SmartProp Editor =====
A tool that assists with smartprops creation in the game.


==== Workflow ====
==== Workflow ====
Line 46: Line 43:


===== Default Hammer5Tools Preset =====
===== Default Hammer5Tools Preset =====
Default Hammer5Tools preset includes smartprops and practical mapping setup.
Default Hammer5Tools preset includes smartprops and practical mapping setup


https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHOaVzlMa1Hn8OxqfYLKn%2Fuploads%2FBJFVuZIxTZvtLOdsVVwH%2Fimage.png?alt=media&token=c58c2092-a46d-4fdd-b20d-661438ab9291
[[File:Hammer5tools default preset.png|frameless|760px|Default Preset]]


==== Adding Custom Presets ====
==== Adding Custom Presets ====
Line 61: Line 58:
When the game is selected, the corresponding folder opens in the explorer:
When the game is selected, the corresponding folder opens in the explorer:
* `Counter-Strike Global Offensive\game\csgo_addons\##ADDON_NAME##`
* `Counter-Strike Global Offensive\game\csgo_addons\##ADDON_NAME##`
https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHOaVzlMa1Hn8OxqfYLKn%2Fuploads%2FeEd1eoHFqwcr30bDaAiw%2Fimage.png?alt=media&token=7222fe98-f9f2-4bfc-aaec-30d9cc6747af


==== No Steam Logon Fix ====
==== No Steam Logon Fix ====
Line 69: Line 64:
==== NCM Mode ====
==== NCM Mode ====
NCM (`--nocustomermachine`) is a launch parameter that enables baking lightmaps with CPU and smartprops compilation. However, when CS2 is launched with this parameter, default assets will not be visible; only your custom assets will appear.
NCM (`--nocustomermachine`) is a launch parameter that enables baking lightmaps with CPU and smartprops compilation. However, when CS2 is launched with this parameter, default assets will not be visible; only your custom assets will appear.
{{sdktools/source2|0}}
{{sdktools|0}}
[[Category: Third Party Tools]]
[[Category: Third Party Source 2 Tools]]

Revision as of 06:49, 3 November 2024

Stub

This article or section is a stub. You can help by expanding it.

English (en)Translate (Translate)
Hammer 5 Tools
Download
TypeThird Party Tool
EngineSource 2 Source 2
PlatformsWindows Windows
 
Hammer5tools header.png

Tools

Installation

Download the latest version from this link: [1](Github)

Unzip the archive and launch `hammer5tools.exe`.

Workflow

The entire workflow revolves around add-ons, similar to Valve Hammer 5. All tools operate using the selected add-on to streamline the process.

https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExNTdxbzVzZDFidWxyZm8xaHNzaHU5MnVkdnNicmk3ZHNwYWdjZmthdCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/Hk9CudPj8YFEcZliMi/giphy.gif

Import and Export Addons

Exporting and importing addons in zip format.

https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExdGlpajJodTFkNDlpb3FyZWU2bm5hYzgwOXRnbnphZTMzazN5eGdkNyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/ibk3VQf4hkclrxIAPy/giphy.gif

Create New Addon

Creating new addons with custom presets.

https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExOXNoaW92cXVwdW83OGwweWJqenQ3cWJ0ajR2NHVoOGU3MGo3eXdmcCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/OKc02Jnkjuhly443SA/giphy.gif

Default Hammer5Tools Preset

Default Hammer5Tools preset includes smartprops and practical mapping setup

Default Preset

Adding Custom Presets

To add a custom preset, go to settings and click on the "Presets" button to open your presets folder. Copy the `valve_default` preset and modify the `.vmap` file. Alternatively, you can copy an existing project and rename the necessary files to match the add-on name in the format `xxx_mapname_xxx`.

https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExcHBsYXYza3dsczcyd3lvbW13aTBjNzNvZ3RwMmtub2IyaXd2dW53bCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/ExCGGOn0JdLT8G2TZA/giphy.gif

Opening Game and Content Folders

When the content is selected, the corresponding folder opens in the explorer:

  • `Counter-Strike Global Offensive\content\csgo_addons\##ADDON_NAME##`

When the game is selected, the corresponding folder opens in the explorer:

  • `Counter-Strike Global Offensive\game\csgo_addons\##ADDON_NAME##`

No Steam Logon Fix

This script restarts Steam and launches the current addon. This is optional and can be configured in the settings.

NCM Mode

NCM (`--nocustomermachine`) is a launch parameter that enables baking lightmaps with CPU and smartprops compilation. However, when CS2 is launched with this parameter, default assets will not be visible; only your custom assets will appear.