This script provides basic functionality for creating new actors during the game.
- Add or update an existing actor
- Create completely new actors
- Choose your own actor face, character sprite, and class
- Choose how to distribute bonus stats
- Choose a name for your new actor
- Easily customize your face/classes/character sprite choices
- Lock or unlock classes from being selected
Actor creation is accessed via script call
If you want to modify an existing actor, you must prepare the scene with an extra call
SceneManager.scene.prepare(actor_id, class_fixed?, face_fixed?, char_fixed?)
The actor ID must be one of the actors that are currently in the game.
The rest of the arguments are for locking fields from editing.
So for example if you want to prevent the user from changing class, face, and character sprite, you would say
SceneManager.scene.prepare(actor_id, true, true, true)
You can lock or unlock classes with the following script calls
Where n is the class ID.
In the actor information screen, you can specify details about your new actor, distribute bonus stats, and choose a name.
At the top of the script there is some configuration. In particular, if you want to add more faces and character sprites, you just have to add the filenames to the lists. Note that I'm assuming you're using Ace's 4x2 sprite sheets.
You can also specify how much bonus stats actors start with.
Required: Custom Database
If anyone can draw a better scene that would be great.
I'm planning to add some more options like selecting some extra starting features for your new actor.
Edited by Tsukihime, 25 May 2012 - 04:23 PM.