Original Source
- Original title: SumRndmDde's Character Creator-EX plugin: F.A.Q's
- Original author: Rhino
- Original date: December 21, 2017
- Source thread: https://forums.rpgmakerweb.com/threads/sumrndmddes-character-creator-ex-plugin-f-a-qs.88746/
- Source forum path: Game Development Engines > RPG Maker Tutorials > RMMV Tutorials
Summary
Disclaimer: I am not the creator of this plugin. I don't understand javascript and I can't help you with complex issues. This is just a list I've put together to answer some commonly asked questions! This plugin is NOT recommended for beginners to the software. Unfortunately I don't have time to answer questions that amount to ‘how to use MV/explain this basic term’, please ask that in the relevant support forum. If your question isn’t here, chances are I don’t know the solution... But you can still ask! However you...
Archived First Post
This plugin is NOT recommended for beginners to the software. Unfortunately I don't have time to answer questions that amount to ‘how to use MV/explain this basic term’, please ask that in the relevant support forum.
If your question isn’t here, chances are I don’t know the solution... But you can still ask! However you might be better off posting in Sumdrndmdde’s old thread for CC or Javascript/Plugin Support so your question will be more visible to others. You can also try contacting the creator directly via his blog.
You can download the plugin >Here<
NOTE: All links and answers are related to the EX version of this plugin. Make sure that you’re downloading files for this as opposed to the original CC version.
FEATURES
Q) What is this plugin? How do I use it?
You can also read a written help file by viewing the plugin in the plugin manager (inside MV.)
Q) How do I open the correct section for the character creator in the SuperTools engine?
Q) How can I make ‘visual equipment’? (Having the character image change depending on what the actor has equipped.)
Q) How can I make a faceset based off of the custom created character? (To change the expression during dialogue.)
Q) How can I use my custom character in cutscenes?
But to go straight to the point;
You can show your custom character’s dead sprite by using the plugin command
SetDeadCustomCharacter (actorI) (true/false)
If you want an event to have the same image as your custom character use the notetag
<CustomCharacter: [actorId]>
<CustomDeadCharacter: [actorId]>
Q) How can I make it so there’s default pieces that appear when the player opens the character creator?
Then paste that into your event using a script call command. (Above the plugin command opening CCEX.) In your script, edit the beginning part var id = 0 to have the Actor ID that you want to use. (It should be the same number that you’ve used in the plugin command.)
Q) Can I make the colour choices automatic as they are in the generator? E.g. the skin colour should change the nose and mouth colour too?
Q) Why is there no option to change the colour for a certain section?
If you’re having trouble getting your changes to register in the supertools engine, please see the ‘troubleshooting’ section below.
Q) Does this save the custom character to a .png? Can I import a character from a .png?
Q) Can I make hidden sections that unlock during the game?
A simple example:
$gameSwitches.value(1) == true
Q) Can I make a response based on the pieces the player has chosen? E.g. To find their gender?
After you've called the character creator, use a conditional branch: script and write
$gameCharacterCreations.getInfo(ActorId).Body.file == 'Body (1)'
The Actor ID needs to be the same one that you've used in the plugin command, e.g.
$gameCharacterCreations.getInfo(1).Body.file == 'Body (1)'. This is going to return true for the character being female, so you can add an else branch for male. From there, you can use your switch/variable or whatever else you want to register the gender for easier access later.
To be safe, you can use the code
$gameCharacterCreations.hasInfo(actorId)
You can also use this solution by patternBlue to find colours,
Yes I was able to figure this out, here is the approach I took:
1. First you grab the colour you want from the actor and store that information into a variable. In the Control Variables window use a script similar to this example:
For this example I am looking at actor #9 and grabbing the colour information from the Eyes, but you could put "Body" or "Front Hair" or whatever body part you want to get the information from.Code:$gameCharacterCreations.getInfo(9)["Eyes"].color
So this will store the colour information array in that variable. The array contains the hue, saturation, etc, but what I wanted to look for was the name that I had given the colour.
2. In your conditional, set it to script and then use a script similar to this:
Change "Red" to whatever the name is of the colour you want. This name is what you yourself input when you are setting up CCEX options.Code:$gameVariables.value(49).includes("Red")
In this example the variable 49 is where I stored the eye colour information from step 1. So it's using the javascript includes() method to search the array stored in variable 49 to see if it contains the string "Red". If it does, then I know that character has red eyes and I go on with whatever actions I wanted to perform from there.
Go into your image folders and rename the folders to remove the spaces, then also update the names in the layers of the plugin parameters. i.e. You want them all to be named "BodyPartX".
That done, you can follow the tutorial above, Just update the conditional branch part where it says "Body.file" and change it to "BodyPart1.file". (Doesn't matter if it's part 1 or part 2.)
RESOURCES
Q) Some of the resources seem to be missing…
Q) Can I add my own resources?
You can find out more about asset standards here.
For a detailed guide on how to add these resources please see the question below.
Q) How do I add/organise new resources?
Let's start with the pieces, anything from the default generator/pieces you download from this forum will be organised into folders like this-
We're only interested in the first four folders.
You need to merge the three layers to form a single image. To do this, you'll need an image editor, e.g. GIMP (it's free.) Make sure the image you save is a .png and still has it's transparency.
Pieces from other folders have a colour mask, it'll always be labelled with the suffix _c. You can safety ignore this second image.
Grab the pieces from the face, sv, tv and tvd folders. The name you give the files should match any other files in the folder. We're going to add this to the clothing folder, where all the pieces are aptly also named 'Clothing (x).' X is the number of the piece. Unlike the in-built generator which needs to go from 1>2, CCEX doesn't mind if you're missing a few numbers. (e.g. 1>5) Give all the images for that piece the same number.
This is an easy set-up, now let's try something harder. The wings are split into two folders, and don't have a face piece. However, we can't have any missing pieces, so any images we might be lacking get replaced with a blank picture. This can be any size, it just needs to be completely empty/transparent.
Troubleshooting:
You might encounter an error message like this when trying to run your game;
CCEX checks for images starting from the dead folder, so just because it's come up with this error, doesn't mean it's necessarily where your problem lies, however, it's a good place to start.
- Check that the image is there- Go into the folder it's specifying, and make sure the piece really exists. If not, copy it over and try again.
- If it is there, check whether the piece exists in all the other folders as well.
- Double check your numbers, make sure that they're all the same for this piece. Then check to see if you've got any numbers following it, e.g. you might accidentally have a copy called Front Hair (16) in one folder, and the game is now confused why it can't find the rest of the images in other folders for "16"
- Make sure that you've spelt everything right- even a double space will cause an error.
- Even if all the names and numbers look right, try retyping them. Rename it with a typo, and then erase and retype the original name.
If you've followed this correctly, you should manage to fix any errors you've been having. Sometimes you might need to redo the steps in case you've accidentally made another mistake. Keeping a close eye on what the error message says should help you figure out which piece is causing you grief.
Q) I've heard you made a tutorial and demo about adding in Face Shape Pieces?
TROUBLESHOOTING
Q) I can’t get the character creator to open???!!
- Have you got CCEX and SuperTools Engine installed in your plugin manager? Are they in the correct order? (STE needs to be ABOVE all other plugins.)
- Are you using the correct plugin command? Does the Actor ID you’re trying to call exist in the party?
- Is your event actually working? Try using a show text to ensure it’s running.
- Have you got the most recent versions of the plugin? I recommend installing SRD-Plugin Updater to make sure you stay up to date.
- Is your PROJECT 1.3.0+? (You can check by going into js>rpg_core and seeing what number shows up on the first line. If not, you need to do the following;
- Visit RPG Maker web, download and install the latest version of the editor.
- Make a backup of your project.
- Create a new project or go to the NewData folder in your RPG Maker MV root (where MV is installed) folder.
- Copy the new js files (RPG*.js and Libs Folder) and replace the one in your -old project.
- DO NOT COPY plugins.js or it will replace your plugin settings.
- Copy index.html files to your current project.
- Try setting everything up in a blank project to ensure that it’s not a plugin conflict.
- Make sure your images are set up correctly. It should be /img/SumRndmDde/character-creator-ex/
Q) The custom Face/SV Battlers aren't appearing...
Q) It’s not saving my changes when I try to edit a section in SuperTools!
If not, you’ll need to make some manual edits. Go into your project’s data folder and find the ‘Character Creator.json.’ If it’s a colour edit you just need to copy some data over from an old piece, or if you’re trying to create a new section, copy one of paragraphs from the original pieces and make sure to rename it. Once you’ve saved that, you’ll be able to register any future changes to that section directly through SuperTools.
Q) I keep getting the error “ReferenceError: CacheMap”
Q) I keep getting the error "TypeError: Cannot set property '_neededCustomUpdate' of undefined”
1- You're loading an old save game. When making changes to plugins/the database, these updates aren't reflected in old saves, so loading them up can cause a number of errors. Try launching from a new game and running the event again.
2-If you are starting from a new game and seeing this error, you need to make sure there's an actor in your party. Check the database>system>starting party and add an actor in, mostly likely you'll want to use the actor id you're trying to make a custom character for.
Q) I keep getting the error “Uncaught SyntaxError: Unexpected token u”
Q) I’m getting an error when trying to encrypt my game.
if(!stat.isDirectory() && _.isImageFile(files)) {
const f = files.replace(‘.png’, ”);
and
_.isImageFile = function(filename) {
return !!(filename.match(/\.png/i));
Q) I can’t get CCEX to work when I try to export my game to android.
Q) Is this compatible with [X] plugin?
Q) Have any patches been made to fix any issues?
EXTRA
Q) I love this plugin! How can I support the creator?
Q) Where have all these answers come from?
Q) If you didn't write this plugin, why are you getting involved?
Features Mentioned
- Q) What is this plugin? How do I use it?
- Spoiler
- I’d recommend that you watch this video. It’ll help you A LOT if you watch this the whole way through instead of skipping. It answers most of the questions that are commonly brought up.
- You can also read a written help file by viewing the plugin in the plugin manager (inside MV.)
- Q) How do I open the correct section for the character creator in the SuperTools engine?
- You open SuperTools by pressing F12. Click on Database Ex, then find Custom Editors in the top bar and you’ll see the Character Creator Editor.
- Q) How can I make ‘visual equipment’? (Having the character image change depending on what the actor has equipped.)
- You’re going to need the dynamic actors extension plugin. Watch the video on the blog for an explanation of how to use it.
- Q) How can I make a faceset based off of the custom created character? (To change the expression during dialogue.)
- You need the message faces extension plugin. Watch the video on the blog for an explanation of how to use it.
- Q) How can I use my custom character in cutscenes?
- You should really have watched this video.
- But to go straight to the point;
- You can show your custom character’s dead sprite by using the plugin command
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...