Yanfly Subclass Plugin: Hide Primary/Subclass

Status
Not open for further replies.

Jochenau

Warper
Member
Joined
Aug 6, 2017
Messages
2
Reaction score
0
First Language
English
Primarily Uses
RMMV
I can mark classes as <Primary Only> or <Subclass Only> but all of the classes still show up in both the primary and subclass menus. For example, if I set Hero as Subclass Only, it still appears as a disabled option in the Class menu.

I'd like to have the class menu show only primary classes, and the subclass menu show only subclasses. I've looked all over in both the class change core and subclass extension plugins but I can't find a parameter that handles this. Am I missing something, or is this something I should attempt to modify myself?
 

jjleroy

I love bananas
Veteran
Joined
Aug 5, 2017
Messages
184
Reaction score
34
First Language
German, English
Primarily Uses
RMMV
Something similar here, I would like to remove one single class from the class menu list.
The actor has this primary class, and I can make it disabled so he has it unlocked but can't change it; however I don't know how to hide it from the list completely so that the list only shows Subclasses.

I think maybe something has to be changed here (Yanfly Class Change Core script line 1081):

Window_ClassList.prototype.makeItemList = function() {
if (this._actor) {
var data = this._actor.unlockedClasses().slice();
} else {
var data = [];
}
this._data = [];
for (var i = 0; i < data.length; ++i) {
var classId = data;
if ($dataClasses[classId] && !this._data.contains(classId)) {
this._data.push(classId);
}
}
this._data.sort(function(a, b) { return a - b });
};



So I ned something like "if classId=1, then don't show it in the list"...
How can I do that?
 

Pozinhofan

Villager
Member
Joined
Feb 19, 2014
Messages
21
Reaction score
2
First Language
Portuguese
Primarily Uses
Bump, need the same, please!
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
7,842
Reaction score
5,225
First Language
Dutch
Primarily Uses
RMXP

@Pozinhofan, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.


Please make a new thread with your problem.
 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,569
Latest member
Shtelsky
Top