# Plugins for SRPG Studio
## A collection of plugins made by Goinza for use in SRPG Studio
NOTE: To make explanations shorter, in general I will refer to the SRPG Studio program as "the engine".
### HOW TO USE PLUGINS ON SRPG STUDIO
Each folder in this project correspond to one of the plugins. Each plugin
has at least one .js (Javascript) file, and another file called $readme.txt. \
The readme file has specific instructions on how to make the plugin work.\
To use the plugin, drag the folder to the Plugin folder of your project and follow
the instructions of the readme file.\
Note that all readme files start with the '$' character. That is because every
file that doesn't start with that character will be considered as part of the code,
and that can crash the game.
### GENERIC INSTRUCTIONS FOR ALL PLUGINS
There are some aspects that are common to most plugins, so instead of explaining them
in each indivdual file, they will be covered here:
#### Custom Parameters
This are custom information that you can write in an object on your project's database.
Those parameters are used for some plugins. For example, the Weapon Rank plugin has a parameter to set the rank
of an unit. \
Generally, in the place where you can modify something, there is a button called Custom Parameters where you can write them.
How each parameter works depends on the plugin, but in general, all parameter must be separated by a ',' and
must be under a pair of brackets {}. Even if the parameter are from different plugins, all must be insisde the
same brackets. For example: {paramA: "Hello", paramB: 15, paramC: true} \
Here we wrote three parameters with different types of values. The first is a string of characters,
the second a number and the third a boolean value (true or false).
#### Global Parameters
This works exactly the same as the custom parameters, but instead of being something applied to an object,
they apply to the entire game. The global parameters are located in Database->Config-Script->Global Parameters.
#### ID
Almost every element in the engine has an ID. Units, classes, weapons, items, weapon types, etc. \
The ID is a number that identifies that object in its own category. This means that if an weapon has a number assigned,
no other weapon has the same number assigend. But a different object, like a class, could have the same ID as that weapon,
as long as that number has not been used already for some other class. \
This is used in some plugins as a value for some custom parameters. For example, a plugin could need the ID of a skill
in the custom parameter of an unit. If the skill has ID 15, the something like {skill:15} could be used in some plugin. \
Note that by default, the engine doesn't show the ID's of the objects in the database. To make them visible, you need
to go to Tools->Options->Data and check the option "Display id next to data name".
#### Compatibility issues
Just like mods in other games, plugins are not always compatible with each other. \
Unfortunely, the problem is a bit technical, so a person that doesn't know about programming may not understand it.
In simple words, everything in the code is around a system of functions made by the developres of the engine. \
To make a plugin, you modify those functions, and sometimes if two plugins try to modify the same function,
only one of them will be executed. This will bring a problem with the plugin that can't use the function,
making the plugin have issues or even crashing the game. \
In general, the readme file will specify if there is some compatibility issue. That is, it will have a list of all
the functions that have incompatibility with other plugins. This means that if other plugins use those functions, those
plugins may not work correctly.
#### Execute Script
In some cases, a plugin may ask you to make an Execute Script event to make it work.
To do this, you need to create an event, inside that event make a event command and choose the Execute Script event.
In that event, you need to check the option "Execute Code" and write in the text box the code that the plugin asks you
to write.
### CONTACT
If you have problem with some of the instructions (here or in the plugin's readme) or some of the plugins are
not working correctly, you can contact me through Discord. You can use direct message or, if you are in the SRPG Studio University Discord server o the /r/SRPGStudio Discord server, you can ping me there. \
My username in Discord is Goinza#5058 and you can enter the servers through these links: \
SRPG Studio University server - https://discord.gg/GcTS5EH \
/r/SRPGStudio server https://discord.gg/yRbuKUd
### MIT License
Copyright (c) 2020 Goinza
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
没有合适的资源?快使用搜索试试~ 我知道了~
Plugins-for-SRPG-Studio:我制作的一组脚本,可在SRPG Studio软件中使用
共118个文件
js:90个
txt:19个
pdf:5个
需积分: 49 7 下载量 179 浏览量
2021-05-05
07:42:43
上传
评论
收藏 1.68MB ZIP 举报
温馨提示
SRPG Studio插件 Goinza制作的可在SRPG Studio中使用的插件集合 注意:为了使说明简短,通常我将SRPG Studio程序称为“引擎”。 如何在SRPG STUDIO上使用插件 该项目中的每个文件夹都对应一个插件。 每个插件至少有一个.js(Javascript)文件,以及另一个名为$ readme.txt的文件。 自述文件包含有关如何使插件正常工作的特定说明。 要使用插件,请将文件夹拖到项目的Plugin文件夹中,然后按照自述文件的说明进行操作。 请注意,所有自述文件均以“ $”字符开头。 这是因为每个不以该字符开头的文件都将被视为代码的一部分,并且可能导致游戏崩溃。 所有插件的通用说明 大多数插件都有一些共同点,因此,在这里将介绍它们,而不是在每个单独的文件中进行解释: 自订参数 您可以在项目数据库中的对象中写入这些自定义信息。 这些参数用于某些插件。 例如,武
资源详情
资源评论
资源推荐
收起资源包目录
Plugins-for-SRPG-Studio:我制作的一组脚本,可在SRPG Studio软件中使用 (118个子文件)
unitcommand-skills.js 22KB
alias-functions.js 18KB
neutral-alias.js 15KB
enemy-calculator.js 14KB
ca-menu.js 13KB
magic-alias.js 13KB
hpcost-alias.js 11KB
custom-window.js 11KB
range-modifiers.js 10KB
ranks-parameters.js 9KB
ca-command.js 9KB
weapon-rank-control.js 9KB
magic-control.js 9KB
ca-control.js 6KB
buff-staff.js 6KB
ca-other.js 6KB
trait-control.js 5KB
trait-alias.js 5KB
cover-control.js 5KB
fegba-formula.js 5KB
window-weapon-ranks.js 5KB
growth-bonus.js 5KB
ballista-command,.js 4KB
new-stats.js 4KB
ballista-alias.js 4KB
line-of-sight.js 4KB
growth-interaction.js 4KB
trait-item.js 3KB
neutral-control.js 3KB
trait-window.js 3KB
range-control.js 3KB
magic-window.js 3KB
ca-eventcommand.js 3KB
sample-skills.js 3KB
magic-eventcommand.js 3KB
skills-interaction.js 3KB
hybrid-alias.js 3KB
base-interaction.js 3KB
states-interaction.js 3KB
hybrid-control.js 3KB
support-interaction.js 3KB
weapon-rank-error.js 3KB
custom-damage.js 3KB
ca-window.js 2KB
enemy-range-object.js 2KB
weapontype-interaction.js 2KB
ballista-control.js 2KB
enemy-range-mark.js 2KB
enemy-alias.js 2KB
trait-eventcommand.js 2KB
skill-granter.js 2KB
exp-formula.js 2KB
_config.js 2KB
stats-interaction.js 2KB
races-interaction.js 2KB
traits-interaction.js 2KB
skills-error.js 2KB
rank-config-options.js 1KB
live-to-serve.js 1KB
combatart-interaction.js 1KB
hpcost-control.js 1KB
error-skill.js 1KB
spells-interaction.js 1KB
trait-error.js 1KB
ca-error.js 1KB
classtype-interaction.js 1KB
critical-factor.js 1KB
range-errors.js 931B
extra-healing.js 920B
nerfed-brave.js 804B
_config.js 792B
config.js 662B
inventory-interaction.js 613B
hpcost-ui.js 571B
wary-fighter.js 570B
null-interaction.js 512B
class-skill-alias.js 492B
z-alias.js 491B
enemy-error.js 491B
neutral-error.js 491B
error-los.js 479B
_config.js 409B
config-traits.js 347B
error-skill.js 253B
hybrid-error.js 248B
error-hpcost.js 244B
error-damage.js 241B
formula-settings.js 202B
enemy-range-recolor.js 160B
config-range.js 141B
LICENSE 1KB
README.md 6KB
Creating a new stat.pdf 510KB
Custom Items.pdf 340KB
Chapter 1 - Basics.pdf 323KB
Chapter 0 - Introduction to JavaScript.pdf 274KB
Chapter 2 - Custom Skills.pdf 263KB
Neutral_Phase.png 36KB
Neutral.png 4KB
Errors Guide.txt 11KB
共 118 条
- 1
- 2
尽心致胜
- 粉丝: 22
- 资源: 4661
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0