Job Change with Alternate Layout (Class Change)

tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
659
Reaction score
1,118
First Language
English
Primarily Uses
N/A
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

Code:
 * Note tag set for Actor
*
* <ignoreChangeImage>
*   Appearance doesn't change even if the class changed.
*
* <classLevel[Class ID]:[Current Level]>
*   Set the class current level
*  [Class ID]   - 0001~9999 Up to four digits can be set. (#)
*                 Number shown on the Class tab from database.
*  [Current Level] - Class current level.(#)
*
* -----------------------------------------------------------------------------
* Note tag set for Class
*
* <faceName:[filename],[number]>
*  Set a face image used when a class changed.
*  [filename] - Face image filename. (String)
*  [number]       - Image number in faceset. (Number)
*                 0 1 2 3
*                 4 5 6 7
*
* <faceName[actor number]:[filename],[number]>
*  Set a dedicated face image to be used when the actor changes jobs.
*  [actor number] - 0001~9999 Up to four digits can be set. (Number)
*                   Number displayed on the actor tab of the database.
*  [filename]   - Face image filename. (String)
*  [number]         - Image number in faceset. (Number)
*                   0 1 2 3
*                   4 5 6 7
*
* <characterName:[filename],[number]>
*  Set a walking character image used when a job is changed.
*  [filename] - Filename of the walking character image. (String)
*  [number]       - Image number in format. (Number)
*                 0 1 2 3
*                 4 5 6 7
*
* <characterName[actor number]:[filename],[number]>
*  Set a walking character image used when an actor change class.
*  [actor number] - 0001~9999 Up to four digits can be set. (Number)
*                   Number displayed on the actor tab of the database.
*  [filename]   - Filename of the walking character image. (String)
*  [number]         - Image number in the format. (Number)
*                   0 1 2 3
*                   4 5 6 7
*
* <battlerName:[filename]>
*  Set a battle character image used when a class changed.
*  If this tag is not set, you cannot change class.
*  [filename] - Filename of battle character image. (String)
*
* <battlerName[actor number]:[filename]>
*  Set a battle character image used when the actor changes class.
*  [actor number] - 0001~9999 Up to four digits can be set. (Number)
*                   Number displayed on the actor tab of the database.
*  [filename]   - Filename of battle character image. (String)
*
* <jobInfo:[description]>
*  Set a description for the help window at the top of the screen.
*  [description] - Text to display in the help window. (String)
*
* <changeableActor:[actor number,...]>
*  Set the actor number that can change class.
*  If this tag is not set, all actors can change class.
*  [actor number] - Actor number that can change class. (Number)
*                   「,」You can also set multiple breaks.
*
* <requirement[condition number]:[condition],[arguements,...]>
*  Set conditions for job change.
*  [condition number]   - 00~09 Up to two digits can be set.
*                 Same condition number can't be set more than once on 1 class.
*  [condition][arguement] - Combination of the conditions and arguments defined below.
*  ・level,[Class ID],[Required level]
*     The level of the set class must be higher than the numerical value.
*     [Class ID] If you set to "0", it will be the level of current class.
*
*  ・mhp,[ability value]
*     Maximum HP more than the set value is required.
*
*  ・mmp,[ability value]
*     Maximum MP more than the set value is required.
*
*  ・atk,[ability value]
*     Attack more than the set value is required.
*
*  ・def,[ability value]
*     Defense more than the set value is required.
*
*  ・mat,[ability value]
*     Magic attack more than the set value is required.
*
*  ・mdf,[ability value]
*     Magic defense more than the set value is required.
*
*  ・agi,[ability value]
*     Agility more than the set value is required.
*
*  ・luk,[ability value]
*     Luck more than the set value is required.
*
*  ・switch,[switch number]
*     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:[display]>
*  Set the display when the condition is not met.
*  If this tag is not set, it will be the same as "gray".
*  [display] - 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






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


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
 

Attachments

Deagron

Villager
Member
Joined
Aug 14, 2020
Messages
11
Reaction score
2
First Language
French
Primarily Uses
RMMV
Hello @tale ! I've been trying your plugin and I wondered if it could be possible to have class levels on top of actor levels ?
I wanted to have both levels to :

1. Give the choice for an actor to unlock a new class based on his actor level
(could a condition like the "level,[Class ID],[Required level]" have a "level,[Actor ID],[Recquired level]" be easily done ?)

2.Give each class its own level that would influence the stats aside from actor's level's general stats
(This allows actors that unlock a new class to not be underpowered too much)


This could make player's progression a bit less frustrating as they don't have to begin from a lvl1 actor when they change class, but not already having a big level as they unlock the new class either
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

sooo I'm making the music for my game and yeah... prepare for a very non typical rpg ost... I don't even know how to make typical sounding stuff. I can do D&B, hiphop, glitch, and whatnot all day tho lol.
It's interesting that the logic involved in skill range obstructions is also used for Tetris...
Saw a resource and was like "Oh, there was a request for that, I can help that person now!"... turns out, request was nearly two years ago. Welp.
My garbage collection service has the BEST hold music I've ever heard. Sometimes, I legitimately hope to be on hold for more than a few minutes just to hear the song to completion.
Streaming now, maybe it will work this time!

Forum statistics

Threads
103,071
Messages
997,053
Members
134,537
Latest member
pkeasygod
Top