First, you'll need 2 new files in data folder:
Recipes.json
Disciplines.json
Recipes file will hold all recipe data and Disciplines file will hold data about disciplines. I *highly* recommend checking sample files that are located in the demo of this plugin.
"ID" - to identify which disciiplice is which and for plugin calls. ID > 0
"Name" - how discipline is called
"IconID" - icon for discipline
"ExpFormula" - leveling formula for discipline, level stands for current discipline level
"MaxLevel" - max possible discipline level
"Categories" - Categories to organize items when crafting
"Background" - Give a background to crafting. Leave it empty - "" to use default background. Images go into img\System
"ID" - To know which recipe is which. ID > 0
"Name" - How it appears in crafting window
"IconIndex" - Icon for recipe
"Result" - What items and how many of them result by crafting it, can be more than one item.
"Requires" - What items and how many of them are required to craft it.
{
"Type" - item type - "weapon", "item", "armor"
"ID" - item ID
"Amount" - how much of the item
}
"Discipline" - which disicipline's recipe is this
"Category" - under which categories will item be shown, can be multiple
"XP" - XP given for the discipline
"LevelReq" - Discipline level requirement to craft it
"Learned" - how is the recipe learned - "start" - from the start, "command" by plugin command, "levelhit" - unlocks automatically when hits required level
Plugin Commands:
Crafting Start [DISCIPLINE_ID] - opens scene to craft with discipline
Crafting GainExp [DISCIPLINE_ID] [EXP] - give exp to certain discipline
Crafting Learn [RECIPE_ID] - learn a specific recipe
Examples:
Crafting Start 3
Crafting GainExp 1 100
Crafting Learn 5
Script Calls:
$gameSystem.getDisciplineExp(DISCIPLINE_ID) - returns EXP of a discipline
$gameSystem.getDisciplineLevel(DISCIPLINE_ID) - returns LEVEL of a discipline
$gameSystem.isRecipeKnown(RECIPE_ID) - returns if recipe is learned
$gameSystem.knownRecipesNumber(DISCIPLINE_ID) - returns amount of recipes known
Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.