-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
295 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,35 @@ | ||
<h1 align="center">Stream Deck Plugins - Dota 2</h1> | ||
<p align="center">A suite of Stream Deck plugins created for Valve's MOBA: Dota 2 ⚔️</p> | ||
<p align="center"> | ||
<img src="StreamDeckPluginsDota2/images/[email protected]"> | ||
<img src="StreamDeckPluginsDota2/images/[email protected]" width="64"> | ||
</p> | ||
<p align="center">A suite of Stream Deck plugins created for Valve's MOBA: Dota 2 ⚔️</p> | ||
|
||
# Actions | ||
<h2 align="center">Roshan Timer</h2> | ||
<p align="center"> | ||
<img src="StreamDeckPluginsDota2/images/roshan-timer/pluginAction@2x.png" width="128"> | ||
<img src="StreamDeckPluginsDota2/images/actions/[email protected]" width="128"> | ||
</p> | ||
<p align="center">Keep track of Roshan's respawn time and item drops.</p> | ||
|
||
<h2 align="center">Show Top Rune</h2> | ||
<p align="center"> | ||
<img src="StreamDeckPluginsDota2/images/show-top-rune/pluginAction@2x.png" width="128"> | ||
<img src="StreamDeckPluginsDota2/images/actions/[email protected]" width="128"> | ||
</p> | ||
<p align="center">Quickly position the in-game camera to the top rune.</p> | ||
|
||
<h2 align="center">Show Bot Rune</h2> | ||
<p align="center"> | ||
<img src="StreamDeckPluginsDota2/images/show-bot-rune/pluginAction@2x.png" width="128"> | ||
<img src="StreamDeckPluginsDota2/images/actions/[email protected]" width="128"> | ||
</p> | ||
<p align="center">Quickly position the in-game camera to the bottom rune.</p> | ||
|
||
<h2 align="center">Quit Application</h2> | ||
<p align="center"> | ||
<img src="StreamDeckPluginsDota2/images/actions/[email protected]" width="128"> | ||
</p> | ||
<p align="center">Quit the Dota 2 application.</p> | ||
|
||
|
||
# Downloads | ||
- [Elgato Plugin Store (Recommended)](https://apps.elgato.com/plugins/com.adrian-miasik.sdpdota2) | ||
- [Direct Download](StreamDeckPluginsDota2/distribute/com.adrian-miasik.sdpdota2.streamDeckPlugin) | ||
|
@@ -43,7 +50,7 @@ | |
# Actions Explained | ||
<h2 align="center">Roshan Timer</h2> | ||
<p align="center"> | ||
<img src="StreamDeckPluginsDota2/images/roshan-timer/pluginAction@2x.png" width="128"> | ||
<img src="StreamDeckPluginsDota2/images/actions/[email protected]" width="128"> | ||
</p> | ||
<p align="center"> Keep track of Roshan's respawn time and item drops.</p> | ||
|
||
|
@@ -60,32 +67,32 @@ | |
#### Default | ||
> - Timer has not been started. **Press on Roshan's first death to begin the timer.** | ||
<img src="StreamDeckPluginsDota2/images/roshan-timer/pluginAction.png" width="64"> | ||
<img src="StreamDeckPluginsDota2/images/actions/roshan-timer.png" width="64"> | ||
|
||
--- | ||
|
||
#### Dead | ||
> - **Dead** when the timer is less than 8 minutes. | ||
<img src="StreamDeckPluginsDota2/images/roshan-timer/states/dead0.png" width="64"> | ||
<img src="StreamDeckPluginsDota2/images/actions/dead0.png" width="64"> | ||
|
||
- First Death | ||
- Roshan has previously dropped: `Aegis of the Immortal` | ||
<br> | ||
|
||
<img src="StreamDeckPluginsDota2/images/roshan-timer/states/dead1.png" width="64"> | ||
<img src="StreamDeckPluginsDota2/images/actions/dead1.png" width="64"> | ||
|
||
- Second Death | ||
- Roshan has previously dropped: `Aegis of the Immortal` + `Aghanims Shard` | ||
<br> | ||
|
||
<img src="StreamDeckPluginsDota2/images/roshan-timer/states/dead2.png" width="64"> | ||
<img src="StreamDeckPluginsDota2/images/actions/dead2.png" width="64"> | ||
|
||
- Third Death | ||
- Roshan has previously dropped: `Aegis of the Immortal` + `Cheese` + (`Refresher Shard` OR `Aghanims Blessing`) | ||
<br> | ||
|
||
<img src="StreamDeckPluginsDota2/images/roshan-timer/states/dead3.png" width="64"> | ||
<img src="StreamDeckPluginsDota2/images/actions/dead3.png" width="64"> | ||
|
||
- Fourth Death | ||
- Roshan has previously dropped: `Aegis of the Immortal` + `Cheese` + `Aghanims Blessing` + `Refresher Shard` | ||
|
@@ -96,29 +103,29 @@ | |
> - **Maybe** when the timer is between 8-11 minutes. | ||
> - **Alive** when the timer is 11 minutes or more. | ||
<img src="StreamDeckPluginsDota2/images/roshan-timer/states/maybe0.png" width="64"> | ||
<img src="StreamDeckPluginsDota2/images/roshan-timer/states/alive0.png" width="64"> | ||
<img src="StreamDeckPluginsDota2/images/actions/maybe0.png" width="64"> | ||
<img src="StreamDeckPluginsDota2/images/actions/alive0.png" width="64"> | ||
|
||
- First Death | ||
- Roshan is going to drop: `Aegis of the Immortal` + `Aghanims Shard` | ||
<br> | ||
|
||
<img src="StreamDeckPluginsDota2/images/roshan-timer/states/maybe1.png" width="64"> | ||
<img src="StreamDeckPluginsDota2/images/roshan-timer/states/alive1.png" width="64"> | ||
<img src="StreamDeckPluginsDota2/images/actions/maybe1.png" width="64"> | ||
<img src="StreamDeckPluginsDota2/images/actions/alive1.png" width="64"> | ||
|
||
- Second Death | ||
- Roshan is going to drop: `Aegis of the Immortal` + `Cheese` + (`Refresher Shard` OR `Aghanims Blessing`) | ||
<br> | ||
|
||
<img src="StreamDeckPluginsDota2/images/roshan-timer/states/maybe2.png" width="64"> | ||
<img src="StreamDeckPluginsDota2/images/roshan-timer/states/alive2.png" width="64"> | ||
<img src="StreamDeckPluginsDota2/images/actions/maybe2.png" width="64"> | ||
<img src="StreamDeckPluginsDota2/images/actions/alive2.png" width="64"> | ||
|
||
- Third Death | ||
- Roshan is going to drop: `Aegis of the Immortal` + `Cheese` + `Aghanims Blessing` + `Refresher Shard` | ||
<br> | ||
|
||
<img src="StreamDeckPluginsDota2/images/roshan-timer/states/maybe3.png" width="64"> | ||
<img src="StreamDeckPluginsDota2/images/roshan-timer/states/alive3.png" width="64"> | ||
<img src="StreamDeckPluginsDota2/images/actions/maybe3.png" width="64"> | ||
<img src="StreamDeckPluginsDota2/images/actions/alive3.png" width="64"> | ||
|
||
- Fourth Death | ||
- Roshan is going to drop: `Aegis of the Immortal` + `Cheese` + `Aghanims Blessing` + `Refresher Shard` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
using System.Diagnostics; | ||
using BarRaider.SdTools; | ||
|
||
namespace StreamDeckPluginsDota2 | ||
{ | ||
[PluginActionId("com.adrian-miasik.sdpdota2.quit-application")] | ||
public class QuitApplication : PluginBase | ||
{ | ||
public QuitApplication(ISDConnection connection, InitialPayload payload) : base(connection, payload) | ||
{ | ||
|
||
} | ||
|
||
public override void KeyPressed(KeyPayload payload) | ||
{ | ||
Process[] dotaProcesses = Process.GetProcessesByName("Dota2"); | ||
|
||
foreach (Process process in dotaProcesses) | ||
{ | ||
process.Kill(); | ||
} | ||
} | ||
|
||
public override void KeyReleased(KeyPayload payload) | ||
{ | ||
|
||
} | ||
|
||
public override void ReceivedSettings(ReceivedSettingsPayload payload) | ||
{ | ||
|
||
} | ||
|
||
public override void ReceivedGlobalSettings(ReceivedGlobalSettingsPayload payload) | ||
{ | ||
|
||
} | ||
|
||
public override void OnTick() | ||
{ | ||
|
||
} | ||
|
||
public override void Dispose() | ||
{ | ||
|
||
} | ||
} | ||
} |
Oops, something went wrong.