Actor cloning
Version: 1.0
Author: dricc
Date: May 18, 2011
Version History
- <Version 1.0> 18.05.2011 - Original Release
Based on a suggestion on this forum , i have created a script to allow the cloning of actors . It's not a difficult one , just a work on the classes game_actor and game_actors .
It is quite easy to use , you made one actor called
"soldier<model=1>"
And you can add 3 of these in your party like this :
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi29.servimg.com%2Fu%2Ff29%2F11%2F59%2F23%2F52%2Fdricc_10.png&hash=f4f16b55aeddcb28c112f7e8b4ffdaf811ba9589)
In the "recruiting" event , use the "Modify party : Add member" as usual
But before , you have to put the beginning level in a variable (32 in my demo) or the default level of the actor will be used (1 in most cases) .
Yes , it means that a variable must be reserved for the script .
(optional) The script can suggest a name for the clone .
The list of these names can be changed in the script . And you can have many lists .
put in the actor name :
"soldier<model>"
if you don't want the script to suggest . In this case , the clone will have "soldier" for name .
(optional) : The script can ask the player to rename the actor added and display the status screen :
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi29.servimg.com%2Fu%2Ff29%2F11%2F59%2F23%2F52%2Fdricc_11.png&hash=41720ecc474918305086a1e019383c4f18856b54)
(i think it should be "him/her" instead of "him" ... You will find easily where to change this , i think )
Demo 1.0 :
http://www.mediafire.com/?vz90uuvw2s32g69
NOTE : it is compatible with most of the "large party" or "reserve party" scripts .
It seems to be compatible with GTBS also (i made a quick test only) .
ADD-ON : "hue" or how to clone and recolor !
A "hue" is what you see when you are changing the picture of a monster . I made this available for actors , so the clones can now be unique .
If i say "add-on" , it's because it is another script and you delete it if you don't want to have this (especially to avoid incompatibility issues) .
Have a look :
1.1 version with this add-on :
http://www.mediafire.com/?r7cq71e972bwi93
Future version
I have some ideas :
- actor firing : it is not possible : you cannot use "modify party : remove actor"
- random equipement : But is it really useful ?
- Evolutions : the characset/faceset and class can change .
If you have more ...