MV Anyone know how to combine them?

I agree that it is really nice to be able to talk to others interested in making changes to this plugin! I'm glad you were able to find someone to try and fix the conflict, PixEEL -- I hope their fix works! My guess is that it's probably something else in the code causing a problem. I'd have to look at the whole .js, tho. If there's one thing I learned when getting my poses to work, it's that there's a lot of different parts to it all, it's not just the one section you have to modify. If they can't get it to work, I'm happy to try and take a look myself!

Last night, I was able to fix another issue I have with this plugin, which you might have run into as well, since I think you mentioned you're doing a tall sprite generator. My character sprite is 48 x 72. I noticed that in the file list, when the player is selecting generator parts, it'll cut off the lower half of the preview, as if it's still a 48x48 sprite.
Spoiler
1631367716737.png

I just had to change one bit of code to fix that.

Spoiler
In // Window_CharacterCreator_FileList //, change
JavaScript:
    const bit = _.loadImageWPath(filePath, file);
    let wid = bit.width / 3;
    let hei = bit.height / 4;

to

JavaScript:
    const bit = .loadImageWPath(filePath, file);
    let wid = bit.width / 3;
    let hei = bit.height / 2.5;

My rationale for going from /4 to /2.5 was because i changed the sprite height from 48 to 72. 72 is 1.5 * 48, so i subtracted 1.5 from the height of 4. It took a little trial and error to figure out the exact number, haha. But it works beautifully now! (...ignore the fact that I haven't changed any of the other shirts asides from the one t-shirt, haha. Still working on the pixel art assets, but decided to take a break to fiddle w this code!


1631367787121.png

I also changed the off-set of the preview image in the box, since it bothered me that my tall sprite preview wasn't centered. I don't have the exact line of code for that, but I can share tonight if you're interested.

My only other real issue is the known visual bug where, in the file list for the sections, the preview image doesn't show both Part1 and Part2 of hair. It works fine when you equip it! But the player has no way of knowing that the highlighted hair is a long hair unless they try equipping it.
1631368344289.png


I might end up having to see if I can hire someone to fix that, but I'm going to attempt resolving it myself first. I'm also trying very hard to learn and understand the code for this program!
I agree that it is really nice to be able to talk to others interested in making changes to this plugin! I'm glad you were able to find someone to try and fix the conflict, PixEEL -- I hope their fix works! My guess is that it's probably something else in the code causing a problem. I'd have to look at the whole .js, tho. If there's one thing I learned when getting my poses to work, it's that there's a lot of different parts to it all, it's not just the one section you have to modify. If they can't get it to work, I'm happy to try and take a look myself!

Last night, I was able to fix another issue I have with this plugin, which you might have run into as well, since I think you mentioned you're doing a tall sprite generator. My character sprite is 48 x 72. I noticed that in the file list, when the player is selecting generator parts, it'll cut off the lower half of the preview, as if it's still a 48x48 sprite.

I just had to change one bit of code to fix that.

Spoiler
In // Window_CharacterCreator_FileList //, change
JavaScript:
    const bit = _.loadImageWPath(filePath, file);
    let wid = bit.width / 3;
    let hei = bit.height / 4;

to

JavaScript:
    const bit = .loadImageWPath(filePath, file);
    let wid = bit.width / 3;
    let hei = bit.height / 2.5;

My rationale for going from /4 to /2.5 was because i changed the sprite height from 48 to 72. 72 is 1.5 * 48, so i subtracted 1.5 from the height of 4. It took a little trial and error to figure out the exact number, haha. But it works beautifully now! (...ignore the fact that I haven't changed any of the other shirts asides from the one t-shirt, haha. Still working on the pixel art assets, but decided to take a break to fiddle w this code!


View attachment 200962

I also changed the off-set of the preview image in the box, since it bothered me that my tall sprite preview wasn't centered. I don't have the exact line of code for that, but I can share tonight if you're interested.

My only other real issue is the known visual bug where, in the file list for the sections, the preview image doesn't show both Part1 and Part2 of hair. It works fine when you equip it! But the player has no way of knowing that the highlighted hair is a long hair unless they try equipping it.
View attachment 200963

I might end up having to see if I can hire someone to fix that, but I'm going to attempt resolving it myself first. I'm also trying very hard to learn and understand the code for this program!
I can't remember where exactly but I went a different route to change the size of my filelist. I also added a pose just to preview parts and get info on the part.

Previewmine.JPG
My goal now is to fix the preview animations for walking Idle and Dashing. They all use the 8 x 4 sheet. I was planing on editing the walking and using it to do the others but I can’t figure out how to change how the pattern of frames are shown. Right now it showns 2, 1,, 2,, 3, 2. And then changes direction. Mine needs 1 - 8 then change direction.
Oh wow, your creation screen is looking fantastic! I'm excited to spruce up my creator screen as well, you're definitely further along in the process than I am re: art.

I'm curious, since tops and undershirts fit differently depending on the body type the player chooses, how did you handle that within your creator? That's been a stumbling block for me, since I have 9 body types. I currently have it set up so the player chooses their body type outside of the creator scene, but it's so clunky that way, and it's causing problems if the player decides they want to change their body type later, sigh.

Oooh, hmm, I'm not sure about changing the pattern of frames, since there's no reference to patterns in CCEX's code that I've noticed! I thought "pw" and "ph" referred to patterm, but I might be mistaken. Maybe try looking at the code for Galv's Character Frames or Modern Algebra's Extra Movement Frames to see how theirs works?
Oh wow, your creation screen is looking fantastic! I'm excited to spruce up my creator screen as well, you're definitely further along in the process than I am re: art.

I'm curious, since tops and undershirts fit differently depending on the body type the player chooses, how did you handle that within your creator? That's been a stumbling block for me, since I have 9 body types. I currently have it set up so the player chooses their body type outside of the creator scene, but it's so clunky that way, and it's causing problems if the player decides they want to change their body type later, sigh.

Oooh, hmm, I'm not sure about changing the pattern of frames, since there's no reference to patterns in CCEX's code that I've noticed! I thought "pw" and "ph" referred to patterm, but I might be mistaken. Maybe try looking at the code for Galv's Character Frames or Modern Algebra's Extra Movement Frames to see how theirs works?
I was thinking about doing a tag on each body option and having a tag on the parts and if the tags match then when you select the body the file list only shows those ones but as it stands now I have those little icons with the body icon and a number next to it in the corner of the preview that’s to let the user know which assets are compatible with which body as a guide.
I’ve found where it controls the preview image animation and messed around with it but the best I got so far is it plays half and play the rest in reverse.
I’ve found where it controls the preview image animation and messed around with it but the best I got so far is it plays half and play the rest in reverse.
Hey, that's still a start, good job! Where does it control the preview image animation? I'll take a look at it tonight if you still haven't figured it out and see if I can make some heads or tails of it!

Also, the tag system you mentioned, that's how I'd like to do it too. I have a system of switches set up to show certain folders of parts based on the chosen body type, but it won't run inside the Character Creator scene. I want to see if I can figure it out, so we'll see if I can make it work! I'm gonna take a look at it tonight I think, I'll keep you posted if I figure it out.
this is what controls walking preview animation.

//----------------------------------------------------------------------------- // Sprite_DisplayCharacter //----------------------------------------------------------------------------- Sprite_DisplayCharacter.prototype = Object.create(Sprite_Base.prototype); Sprite_DisplayCharacter.prototype.constructor = Sprite_DisplayCharacter; Sprite_DisplayCharacter.prototype.initialize = function() { Sprite_Base.prototype.initialize.call(this); this._stepCounter = 1; this._stepDirection = 1; this._directionCounter = 0; this._directions = [0, 1, 3, 2]; this._specificCounter = 0; this.visible = false; this.refresh(); }; Sprite_DisplayCharacter.prototype.update = function() { Sprite_Base.prototype.update.call(this); this._specificCounter++; if(this._specificCounter % 10 === 0) { this._stepCounter += this._stepDirection; if(this._stepCounter === 7 || this._stepCounter === 1) this._stepDirection *= (-1); this.refresh(); } if(this._specificCounter % 120 === 0) { this._directionCounter++; if(this._directionCounter > 3) this._directionCounter = 0; this.refresh(); } }; Sprite_DisplayCharacter.prototype.refresh = function(reset) { if(reset) { this._stepCounter = 1; this._stepDirection = 1; this._directionCounter = 0; this._specificCounter = 0; } this.setFrame(_.width * this._stepCounter, _.height * this._directions[this._directionCounter], _.width, _.height); if(!this.visible) this.visible = true; };

I change this to get the 8 steps but not sure why it reverses half way....

if(this._stepCounter === 7
@patternBlue I haven't tested this out yet, but I believe that the relevant code for more walking frames is here
_.width = parseInt(params['Character Width']);
_.height = parseInt(params['Character Height']);
_.fileWidth = _.width * 3;
_.fileHeight = _.height * 4;

const pw = bitmap.width / (big ? 3 : 12);
const ph = bitmap.height / (big ? 4 : 8);

Try changing * 3 to * 6, and 3 : 12 to 6 : 24.
Using your example I made changes to several areas of the code where it references 3 as the width of the walking sprite, and changed it to 6. I looked for areas that used 12 in reference to the walking sprite and changed it to 24.
But what I'm getting is two characters walking at the same time, one is using frames 1, 3, and 5, the other character is using 2, 4 and 6. Very weird.

**EDIT** I found a way to make this work! I added in Galv's Character Frames and renamed all my Body (1).png files to Body (1)%(6).png, since the Galv plugin requires adding %(number of frames) to your png files. And it works! I have just a single character walking around now!

Original thread: https://forums.rpgmakerweb.com/threads/anyone-know-how-to-combine-them.140256/