-
Notifications
You must be signed in to change notification settings - Fork 1
Setting up
campbt edited this page Sep 27, 2015
·
4 revisions
Use this page to get the tools set up:
This link will visually show how to see the tools
cd where/you/want/to/develop/in
git clone https://github.com/Tethrinaa/Swat2.0.git Swat2.0 // Clone the repo into it
Dota 2 has a weird system in place to actually play/edit mods. We will need to have our files in two different places in the dota 2 game folder in order for the editor to see. We obviously don't want our git repo in these locations, so we will want to set up a symbolic link.
You need to symbolically link the following:
-
Swat2.0\content\swat_2->Steam\steamapps\common\dota 2 beta\content\dota_addons\swat_2 -
Swat2.0\game\swat_2->Steam\steamapps\common\dota 2 beta\game\dota_addons\swat_2
If you are unfamiliar with symbolic links, you should download Link Shell Extension to help make this process easier.
And then do the following:
- In windows explorer, navigate to the cloned repo.
- Open
Swat2.0\content - Right click on swat_2 folder and choose
Pick Link Source - Navigate to
Steam\SteamApps\common\dota 2 beta\content\dota_addons - Right click and select:
drop as > Junction
- In windows explorer, navigate to the cloned repo.
- Open
swat_2\game - Right click on swat_2 and choose
Pick Link Source - Navigate to
Steam\SteamApps\common\dota 2 beta\game\dota_addons - Right click and select:
drop as > Junction
- You can run the tools by selecting Dota 2 in your Steam Games folder and selecting the tools option from the opening box.
- You should see the "swat_2" mod in the list of mods that appear. Select it and click Launch Custom Game Tools.
- This will open up both Dota 2 and the assets editor.
- From the assets editor, select
Tools -> Hammer. A new hammer editor window should appear. - From the hammer editor, click F9 and it should open up a window asking you to build. Build the project and it should compile and build everything and run it in the Dota 2 instance that is up.