SRPG Studio

SRPG Studio

CL_DisplayMessageLevelUp.js
18 条留言
Lato 2022 年 1 月 11 日 上午 9:06 
@Dawn Ah thank you very much. I see it now and have got it tested and working in game!
Maplewood  [作者] 2022 年 1 月 11 日 上午 8:46 
@Lato The Plugins folder is found within your project's folder. SRPG Studio projects save to the desktop by default, under a name you set. The default is "Project 1", then "Project 2", etc. Once you've created and saved a project, one of the folders inside is "Plugin", and any plugin put inside is automatically loaded by the game on boot.
Lato 2022 年 1 月 11 日 上午 7:23 
@Dawn Ok I see most of this now, but how do I get to the plugins folder?
Maplewood  [作者] 2022 年 1 月 11 日 上午 5:09 
@Lato, you need to also retrieve it from the Workshop folder for this program - C:\Program Files (x86)\Steam\steamapps\workshop\content\857320\2617910828 is mine - and then copy CL_DisplayMessageLevelUp.js into the Plugins folder for your project. THEN follow GoddessEvil's instructions, and it will work.
GoddessEvil 2022 年 1 月 11 日 上午 1:10 
@Lato, as I mentioned actually, you paste it into a character's Custom Parameters. Hope I help.
Lato 2022 年 1 月 10 日 下午 11:09 
@Dawn I have subbed to the workshop and see this under downloaded items. So Does this by default work now? When I follow the D/Drive/steam paths and see the code it does not tell me where to paste it.

It just says who to credit and gives me the code. So where do I paste this?
Maplewood  [作者] 2021 年 12 月 24 日 上午 5:24 
@GoddessEvil

By default, yes, every character can have their own. That data can be copied as described in the plugin to create unique level up messages per unit that has them.
GoddessEvil 2021 年 12 月 24 日 上午 12:08 
Ah, thank you @Claris
I also wanted to ask - if it was possible to make each character have a unique set of quotes, and would this be accomplished by copying the .js file data into a character's "Custom Parameters"?
I hope you're able to improve this and perhaps make more plugins.
Maplewood  [作者] 2021 年 12 月 20 日 上午 6:22 
Hello, GoddessEvil!

When you subscribe to a workshop item for this program, it is put in a folder akin to the following:

C:\Program Files (x86)\Steam\steamapps\workshop\content\857320

Then every folder within there is one of the workshop items. The folder name for this plugin is 2617910828

I hope this helps!
GoddessEvil 2021 年 12 月 19 日 下午 11:58 
Hmm
Where is this .js file supposed to go? I can't find it to even put in the plugin folder.
TyphloCube 2021 年 11 月 16 日 上午 11:31 
It worked ! Thank you !
Maplewood  [作者] 2021 年 11 月 16 日 上午 7:31 
Hello, TyphloCube! There are instructions inside the .js file, which can be opened with any text editor.
TyphloCube 2021 年 11 月 16 日 上午 5:05 
Hi, I'm new to these plugins things. I already put the plugin in the right folder, so what do I do now ?
Maplewood  [作者] 2021 年 10 月 27 日 上午 9:02 
No problem! Easy thing to miss.
L'Entité 2021 年 10 月 27 日 上午 7:58 
Yes, it was from me. I apologize for the false alert, I forgot to actually add the .js file to my plugin folder before checking if the plugin worked, assuming subscribing automated the process.
Maplewood  [作者] 2021 年 10 月 27 日 上午 7:37 
I saw a message alert but arrived after it had been deleted, presumably by its author.

Whoever sent it: if you need help with the plugin, I'm glad to oblige! Just let me know what's going on.
Maplewood  [作者] 2021 年 10 月 3 日 上午 6:15 
No, it's just how SapphireSoft uses keywords. Try MessagePos.CENTER instead of MessagePos.MIDDLE, or it will default to the top.
High Summoner 2021 年 10 月 3 日 上午 12:49 
I changed the end of line 57 to:

MessagePos.MIDDLE, this._targetUnit);

Now they do display at the top instead. Am I making a error here in changing this part?