SRPG Studio

SRPG Studio

评价数不足
BGM Priority System + Trombe Override
   
奖励
收藏
已收藏
取消收藏
RESOURCES: plugin
文件大小
发表于
更新日期
6.140 KB
2018 年 10 月 3 日 下午 1:38
2018 年 10 月 23 日 上午 11:35
2 项改动说明 ( 查看 )

订阅以下载
BGM Priority System + Trombe Override

描述
This plugin changes the battle music settings.
Normally, if both the player and the enemy unit fighting have a personal battle theme, the theme playing will be the one of the unit that's attacking. With this script, the theme playing will always be the enemy's.

Additionally, if you set a player unit's custom parameters to "{trombe: 1}", that player unit's theme will play even against enemy battle themes.
To counter this, if you want a boss to keep his battle theme even against "trombe" player units, just give him/her "{trombe: 1}" as well.


Update: Expa informed me of a problem apparently shared by many plugins. If you get some unexpected error, try the following

- First create a new text document
- Open the js file in notepad
- Click SaveAs and then at the bottom it says coding (I assume that's what it says in english), from there pick Unicode.
- Then save it over the old jsfile

Of course, feel free to ask for anything else
14 条留言
capogalassia  [作者] 2018 年 10 月 23 日 上午 2:15 
I just realized that the reason it works on all of my PCs is that they recognize japanese character coding and the script I used as a base for this was japanese, so the error actually is the plugin's fault. Gonna update it when I can, meanwhile just follow the procedure when needed
capogalassia  [作者] 2018 年 10 月 22 日 下午 12:15 
great!

that's something i didn't think about, even if it happened with some other plugin. I'm copying this in the description!
Expa 2018 年 10 月 21 日 下午 11:44 
Alright I got the same problem with another plugin so I did some digging around and found a solution since apparently this is not a completely uncommon problem with plugins in general on this program.

- First create a new text document
- Open the js file in notepad
- Click SaveAs and then at the bottom it says coding (I assume that's what it says in english), from there pick Unicode.
- Then save it over the old jsfile

That's how I got it to work finally, thanks @gapogalassia for your patience in trying to help. I still dunno what exactly it is that caused it not to work, but I'm so glad it does it finally, will definitely be putting this plugin to good use ;)
Expa 2018 年 10 月 20 日 上午 10:44 
Nope I still get the error, I guess there is some weird problem on my end then. Weird.
capogalassia  [作者] 2018 年 10 月 20 日 上午 10:34 
Ok, Steam absolutely doesn't want links, so just... erase the spaces
ht tp:// www.m ediafire.c om/file/ftc 0jocf 3pmu5f6/Pro ject3.zip/file
capogalassia  [作者] 2018 年 10 月 20 日 上午 10:33 
@expa sorry if comment disappeared, I wanted to edit my comment but it deleted both my and your comment ;_;

Anyway, I tried putting the plugin in a new project and it didn't give me an error, may I try sending you the project?

there [www.mediafire.com]
capogalassia  [作者] 2018 年 10 月 19 日 上午 8:19 
It was just to be sure :') (i don"t know how programming works either, tbh)

I'll test the plugin asap when I have access to my pc, meanwhile other questions time:
1) do you have any other plugin that may interfere with this? If yes, try deactivating all other plugins and check what happens
2) in the folder script, go to attack -> attack_commonbattle.js
Open that file and search for BattleMusicControl. If you don't see anything, it's possible there's an error in the files or some change between srpg studio version
3) try it in another new project, to be sure (even if the one you're trying is clean)

sorry if I make you do too many things, it's the only thing I can do until I'm home
Expa 2018 年 10 月 19 日 上午 8:07 
@capogalassia I put it in the Plugin folder, I do not claim to know how programming works, but I figured that's where you put all the custom plugins. I remove the "$" symbol from the name of the plugin and then I get that message whenever I try to launch my project.
capogalassia  [作者] 2018 年 10 月 19 日 上午 7:53 
Yeah, I found the music part of the engine a bit lacking too ;_;
At least, the script is understandable enough even without javascript knowledge
Juani 2018 年 10 月 19 日 上午 7:50 
I just messed around with this program for a couple of hours but i already notice that this was a problem.
Is a pretty good solution, but not the ideal. The software should have a command that says "force unit battle theme" or something, and it should have been on the vanilla software, Srpg Studio lack many commands. Thank you for your work tho.