Skip to content

Commit c5aacfa

Browse files
committed
Integrate TMC forum using my action and update guide.
1 parent bf3be2d commit c5aacfa

File tree

4 files changed

+44
-2
lines changed

4 files changed

+44
-2
lines changed

.dtua/.env

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
LINK_DOWNLOADING_SOURCEMOD="p-223-downloading-sourcemod-2"
2+
LINK_COMPILING_SOURCEMOD_PLUGINS="p-223-compiling-sourcemod-plugins-3"
3+
LINK_WINDOWS="p-223-windows-4"
4+
LINK_WINDOWS_FILE_EXPLORER="p-223-windows-file-explorer-5"
5+
LINK_COMMAND_LINE="p-223-command-line-6"
6+
LINK_LINUX="p-223-linux-7"
7+
LINK_ADDITIONAL_COMMAND_LINE_OPTIONS="p-223-additional-command-line-options-8"
8+
LINK_INCLUDE_FILES="p-223-include-files-9"
9+
LINK_CONCLUSION="p-223-conclusion-10"
10+
11+
LINES_SKIP=8,9

.dtua/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
The [`.env`](./.env) file inside this folder is exposed intentionally :)
2+
3+
It's a part of an open source [GitHub Action](https://github.com/gamemann/discourse-topic-update-action) I made that automatically updates the guide's topic contents on the [TMC forum](https://forum.moddingcommunity.com) (Discourse) with the contents in this repository's README.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Update Topic On TMC Forum
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
jobs:
8+
update-discourse:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
15+
- name: Install dependencies for Discourse Topic Update Action.
16+
run: sudo apt update && sudo apt install -y jq gawk
17+
shell: bash
18+
19+
- uses: gamemann/discourse-topic-update-action@v1.0.0
20+
with:
21+
discourse_api_key: ${{ secrets.DISCOURSE_API_KEY }}
22+
discourse_api_user: ${{ secrets.DISCOURSE_API_USER }}
23+
discourse_topic_id: 194
24+
discourse_api_url: ${{ secrets.DISCOURSE_API_URL }}

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The programming language associated with SourceMod plugin's source code is [Sour
66

77
Compiling SourceMod plugins is quite easy and will be explained below.
88

9+
[**View Guide On TMC (Recommended Due To Better Formatting)**](https://forum.moddingcommunity.com/t/how-to-compile-sourcemod-plugins/194)
10+
911
## Table Of Contents
1012
* [Downloading SourceMod](#downloading-sourcemod)
1113
* [Compiling SourceMod Plugins](#compiling-sourcemod-plugins)
@@ -31,7 +33,7 @@ Compiling SourceMod plugins is usually quite easy, especially on Windows.
3133
#### Windows File Explorer
3234
If you want to quickly compile plugins, you can drag and drop the plugin's source code file into the `compile.exe` executable located in the `scripting` folder. A Command Prompt window will open and you'll see the output of the build. If the build was successful, you'll see the built plugins inside of the `compiled` folder. Built SourceMod plugins typically have the `smx` file extension.
3335

34-
![Drag And Drop GIF](./images/gui-dnd.gif)
36+
![Drag And Drop GIF](https://github.com/modcommunity/how-to-compile-sourcemod-plugins/raw/main/images/gui-dnd.gif)
3537

3638
While this method is quick and easy, the command line method explained below includes **more options** you can set.
3739

@@ -126,4 +128,6 @@ Additionally, you can use the `-i` flag when compiling through the command line
126128
## Conclusion
127129
That's all! You should now know how all methods on **compiling** SourceMod plugins.
128130

129-
If you have any questions or have feedback, please reply to [this](https://forum.moddingcommunity.com/t/how-to-compile-sourcemod-plugins/194) topic!
131+
If you have any questions or feedback regarding this guide, please reply to its forum topic [here](https://forum.moddingcommunity.com/t/how-to-compile-sourcemod-plugins/194)! This guide will be worked and improved on over time.
132+
133+
Join our [Discord server](https://discord.moddingcommunity.com)!

0 commit comments

Comments
 (0)