じ☆ve冰风 发表于 2026-7-29 14:14:20

Job Change with Alternate Layout (Class Change)

dsJobChange - ver1.11.5

Creator name: Douraku

Overview
Job change system

Features
- Use Note tags to set for Actors (levels) or Classes (graphics)
- Possible to add job requirement based on conditions/ stat values
- There's a plugin command to open the job change menu
- Alternate layout with stats from another plugin
-- place dsJobChangeMenuAlt01.js below dsJobChange

Spoiler: Plugin Usage                Code:       
* Note tag set for Actor
*
* <ignoreChangeImage>
*   Appearance doesn't change even if the class changed.
*
* <classLevel:>
*   Set the class current level
*   - 0001~9999 Up to four digits can be set. (#)
*               Number shown on the Class tab from database.
* - Class current level.(#)
*
* -----------------------------------------------------------------------------
* Note tag set for Class
*
* <faceName:,>
*Set a face image used when a class changed.
* - Face image filename. (String)
*       - Image number in faceset. (Number)
*               0 1 2 3
*               4 5 6 7
*
* <faceName:,>
*Set a dedicated face image to be used when the actor changes jobs.
* - 0001~9999 Up to four digits can be set. (Number)
*                   Number displayed on the actor tab of the database.
*   - Face image filename. (String)
*         - Image number in faceset. (Number)
*                   0 1 2 3
*                   4 5 6 7
*
* <characterName:,>
*Set a walking character image used when a job is changed.
* - Filename of the walking character image. (String)
*       - Image number in format. (Number)
*               0 1 2 3
*               4 5 6 7
*
* <characterName:,>
*Set a walking character image used when an actor change class.
* - 0001~9999 Up to four digits can be set. (Number)
*                   Number displayed on the actor tab of the database.
*   - Filename of the walking character image. (String)
*         - Image number in the format. (Number)
*                   0 1 2 3
*                   4 5 6 7
*
* <battlerName:>
*Set a battle character image used when a class changed.
*If this tag is not set, you cannot change class.
* - Filename of battle character image. (String)
*
* <battlerName:>
*Set a battle character image used when the actor changes class.
* - 0001~9999 Up to four digits can be set. (Number)
*                   Number displayed on the actor tab of the database.
*   - Filename of battle character image. (String)
*
* <jobInfo:>
*Set a description for the help window at the top of the screen.
* - Text to display in the help window. (String)
*
* <changeableActor:>
*Set the actor number that can change class.
*If this tag is not set, all actors can change class.
* - Actor number that can change class. (Number)
*                   「,」You can also set multiple breaks.
*
* <requirement:,>
*Set conditions for job change.
*   - 00~09 Up to two digits can be set.
*               Same condition number can't be set more than once on 1 class.
* - Combination of the conditions and arguments defined below.
*・level,,
*   The level of the set class must be higher than the numerical value.
*    If you set to "0", it will be the level of current class.
*
*・mhp,
*   Maximum HP more than the set value is required.
*
*・mmp,
*   Maximum MP more than the set value is required.
*
*・atk,
*   Attack more than the set value is required.
*
*・def,
*   Defense more than the set value is required.
*
*・mat,
*   Magic attack more than the set value is required.
*
*・mdf,
*   Magic defense more than the set value is required.
*
*・agi,
*   Agility more than the set value is required.
*
*・luk,
*   Luck more than the set value is required.
*
*・switch,
*   This switch number must be turned on.
*
* Example)
*・Job change is possible if the class level 0001 is-
*   10 or more and the maximum HP is 1000 or more
*   <requirement00:level,1,10>
*   <requirement01:mhp,1000>
*
*・Job change is possible if the current level is 20
*   or more while switch 20 is ON
*   <requirement00:switch,20>
*   <requirement01:level,0,20>
*
* <displayStats:>
*Set the display when the condition is not met.
*If this tag is not set, it will be the same as "gray".
* - String representing display defined below. (String)
*・gray - It's grayed out and can't be set.
*・hide - Will no longer be displayed.
*・both - Will be grayed out if any actors meet the conditions.
*
* -----------------------------------------------------------------------------
* Plugin command
*
* Command to open the job change menu
*   OpenJobChangeMenu memberIndex changeActor
*memberIndex - # of the party member who's the target of job change (0 is the first)
*changeActor - Actors can be switched in the menu (true / false)
*
* Example)
*・Open the job change menu for the first actor
*   OpenJobChangeMenu 0 false


Preview

https://i.imgur.com/uD3Okpo.png



https://i.imgur.com/AS5wvKy.png



https://i.imgur.com/26XjpyS.png


Note tag, Class samples-

Hero
                Code:       
<faceName:Actor1,0>
<characterName:Actor1,0>
<battlerName:Actor1_1>
<jobInfo:Somebody who possesses great bravery and carries out
extraordinary or noble deeds.>


Warrior
                Code:       
<faceName:Actor1,7>
<characterName:Actor1,7>
<battlerName:Actor1_8>
<jobInfo:A person who is actively engaged in battle, conflict or
warfare; a soldier or combatant.>


Mage
                Code:       
<faceName:Actor3,7>
<characterName:Actor3,7>
<battlerName:Actor3_8>
<jobInfo:A person who plays with or practices mystic arts.>


Priest
                Code:       
<faceName:Actor2,6>
<characterName:Actor2,6>
<battlerName:Actor2_7>
<jobInfo:Who is trained to perform services at a temple.>


dsJobChangeMenuAlt01.js

https://i.imgur.com/C6DR8v7.png


Note: This is an alternative to Yanfly Class Change Core plugin without support from another plugin other than optional addon.
This plugin is not compatible with Battle Formation plugin from Mokusei Penguin.

Credit and Thanks: Douraku

Terms of Use- Free for commercial and non-commercial use.

License - MIT License: http://opensource.org/licenses/mit-license.php

You can download js file from the thread attachment or Dropbox link: https://www.dropbox.com/s/nl9cm6srcg6t4tu/dsJobChange.js?dl=1
Alternative layout: https://www.dropbox.com/s/8c9jlhf6h95oh85/dsJobChangeMenuAlt01.js?dl=1

Source
http://dourakusoftweb.blog.fc2.com/blog-entry-8.html


本贴来自国际rpgmaker官方论坛作者:ovate处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/job-change-with-alternate-layout-class-change.117555/
页: [1]
查看完整版本: Job Change with Alternate Layout (Class Change)