RPG Developer Bakin

RPG Developer Bakin

Otillräckligt med betyg
Sample Plug-in: Introducing Steam Achievements/Steam実績の導入
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Taggar: RPG, Fantasy
Filstorlek
Lades upp
235.970 KB
19 sep, 2023 @ 6:17
1 ändringsnotis ( visa )

Abonnera för att ladda ner
Sample Plug-in: Introducing Steam Achievements/Steam実績の導入

Beskrivning
Sample Plug-in: Introducing Steam Achievements

- This sample plug-in is valid for RPG Developer Bakin Ver. 1.4 or later.

-This plug-in allows you to introduce Steam "Achievements" to your own games by linking the Steam library.
-The specific type of achievements to be set and the conditions under which each achievement will be unlocked must be set on the Steam side. See the Steam reference for instructions on how to do this.
-The conditions under which "Achievements" are given in the game should be controlled through the use of events.

<Contents>
- csrbr File: 1
(.cs file and other necessary files are compressed. See below for installation instructions.)

<Introduction Method>
1.Subscribe the .csrbr file in the Steam Workshop and import it.
For more information on this process, see the "Steam Workshop" page of the RPG Developer Bakin Manual Wiki.
2. In Bakin, place an event that you want to trigger the unlocking of an achievement, and click on the "C# Program Assignment" field in the lower left corner of the event sheet for that event.
3.Click the "Add" button and select Achievement_Sample_SmileBoom_2023.csrbr. Achievement.cs will be added to the list.
4. Select Achievement.cs and click "Edit". The editor associated with Visual Studio or .cs will launch.
5. Replace "Sample_AppID" with your game's "AppID" and "TEST" with your game's "Achievement ID".
6. Save after editing and click OK to close the "C# Program Assignment" field.
7. Open steam_appid.txt in Windows Explorer under the "Script folder" generated in your project folder.
8. Replace the "Sample_AppID" in steam_appid.txt with the "AppID" of your game and save the file.
9. In Bakin, place the "Call C# Program" panel in the event to which you have just assigned Achievement.cs and select the Add method.

Multiple events can be placed in the game to assign this plug-in to unlock achievements.

<License Agreement>
In accordance with RPG Developer Bakin's EULA.
-------------------------------------------------------
サンプルプラグイン:Steam実績の導入

・このサンプルプラグインはRPG Developer Bakin Ver. 1.4以降で有効となります。

・Steamライブラリをリンクすることで、自作ゲームにSteamの「実績」を導入できるプラグインです。
・具体的にどのような実績を設定するか、それぞれの実績をどのような条件で解除するかはSteam側での設定が必要です。
方法についてはSteamのリファレンスでご確認ください。
・ゲーム内で「実績」を与える条件は、イベントを使ってコントロールしてください。

<内容>
.csrbrファイル 1
(.csファイルなど必要なファイルが圧縮されています。導入方法は下記をご覧ください。)

<導入方法>
1.Steam Workshopで.csrbrファイルをサブスクライブし、インポートします。
この流れについては、RPG Developer Bakin マニュアルWikiの「Steam Workshop」のページをご覧ください。

2. Bakinにて実績解除のきっかけとしたいイベントを配置し、そのイベントのイベントシート左下の「C#プログラムの割り当て」欄をクリック。
3.「追加」ボタンを押してAchievement_Sample_SmileBoom_2023.csrbrを選択。リストにAchievement.csが追加されます。
4. リスト上のAchievement.csを選択して、「編集」を押します。Visual Studioもしくは.csと関連付けられているエディタが起動します。
5. 「Sample_AppID」と書かれた箇所をご自身のゲームの「AppID」に書き換え、かつ"TEST" と書かれた部分を、ご自身のゲームの「実績ID」に書き換えます。
6. 編集後保存してから、OKを押して「C#プログラムの割り当て」欄を閉じます。
7. Windowsのエクスプローラーでご自身のプロジェクトフォルダに生成された「Scriptフォルダ」以下にあるsteam_appid.txtを開きます。
8. steam_appid.txt内の「Sample_AppID」と書かれた箇所をご自身のゲームの「AppID」に書き換えて、ファイルを保存します。
9. Bakinにて先ほどAchievement.csを割り当てたイベント内に「C#プログラムの呼び出し」パネルを設置し、Addメソッドを選択。

このプラグインを割り当てて実績解除をするイベントはゲーム内に複数置くことができます。

<使用許諾>
RPG Developer BakinのEULAに準じます。
4 kommentarer
710066603 14 maj @ 23:15 
What I want to know is whether STEAM DRM cannot be selected when exporting games using this plugin?I have tried several times so far and haven't triggered the steam achievement. I don't know why?
cody.jackson080689 22 dec, 2024 @ 5:39 
Where do I find my steam achievements ID? I am having a hard time locating it in steamworks.
HaseoZ 16 feb, 2024 @ 9:42 
It worked!
I managed to add multiple achievements by changing the line "public class Achievement : BakinObject" to "public class Achievement_(Achievement Name): BakinObject" and the script "Achievement.cs" to "Achievement_(Achievement Name).cs" in each script. :cozybethesda:
HaseoZ 16 feb, 2024 @ 8:49 
How can i add multiple achievements?
I tried adding other scripts by renaming it to "Achievement_Name" but it doesn't work...
There is an error when selecting the "Call C# Program" option
"Object reference not set to an instance of an object." :ralphhurt: