hello there I'd need help with a feature I'd like to implement in my game. Let's say I have all the marvel superhero as playable (you choose your character at the start). You can have Spiderman, hulk, etc. and the party can be of only 1 or up to 4 superheroes. Now, I need to choose how to manage events requiring change of the sprite (jumping on mining wagons, fishing, etc) and I find me on trouble for I would need to have a dedica sprite for each one. I came to this solution: they switch to a hyperhero mode and they have all the same sprite when activated (triggered mode / berserk mode). But I don't get how to switch back to their original sprite. Is there a script or command to track the party id and then restoring their sprite? Counting that the party has followers so I don't know how to manage them! Thanks for help
MV plugin / eventing transformation to superhero help
Javascript/Plugin Supportthe key is that you, as the game developer, need to either remember which actor has which original sprite, or store that information in a way that you can access it when you need it.
all of those procedures depend on how you handle the sprite change in the first place, and there are several different ways to do that.
so we need to see screenshots of the events you already have that show how the sprites are changed, before we can give any advice on how to handle this.
all of those procedures depend on how you handle the sprite change in the first place, and there are several different ways to do that.
so we need to see screenshots of the events you already have that show how the sprites are changed, before we can give any advice on how to handle this.
Oh well I do not have events yet. What do you suggest, how can I handle that information? I can choose 4 variables (1 for each party member) and set the variable to the value of the Actor ID. But I feel there's a smarter way to handle the thing through a script
no - you already know what variable is for what actor, so you don't need to set the actor ID.
what you need (if you go that route) is to store a number that will tell you what sprite the actor originally had before changing it, so that you can compare it later and change back to that sprite.
what you need (if you go that route) is to store a number that will tell you what sprite the actor originally had before changing it, so that you can compare it later and change back to that sprite.
yes, I can't figure how ..
why not?
in simplest form, that would be nothing other than a list on a paper/notebook that you refer to when writing the events.
a simple table with a column of numbers 1 2 3 4 and a column of sprite filenames for every number.
if I have 1000+ actors it gets complicated (just think about how many marvel hero there are...)
doesn't change that you have to organise things in your project.
yes, it will be tedious with a large number of actors, but that is your choice about the project size.
I would suggest making a preselection and only work with less than fifty of the marvel heroes until you know how much work game development is. I NEVER heard of any such big project ever completed without a team and company behind it.
That said, plugins and plugin programmers are not miracle workers.
While it is understandable that you want to automate things if you have to handle that for 1000 actors, your original description was never enough to make a plugin for you - it was missing too many details, including (but not only) the fact that this has to store the sprite association for that many actors, which also means that it is impossible to handle by variables alone - you'll need either self-variables or to store the critical info in each actors notetag or something like that.
If you want a plugin programmer to automate this for you (especially without payment), then you need to tell him in more details what exactly you want the plugin to do.
yes, it will be tedious with a large number of actors, but that is your choice about the project size.
I would suggest making a preselection and only work with less than fifty of the marvel heroes until you know how much work game development is. I NEVER heard of any such big project ever completed without a team and company behind it.
That said, plugins and plugin programmers are not miracle workers.
While it is understandable that you want to automate things if you have to handle that for 1000 actors, your original description was never enough to make a plugin for you - it was missing too many details, including (but not only) the fact that this has to store the sprite association for that many actors, which also means that it is impossible to handle by variables alone - you'll need either self-variables or to store the critical info in each actors notetag or something like that.
If you want a plugin programmer to automate this for you (especially without payment), then you need to tell him in more details what exactly you want the plugin to do.
Hmm okay I'll manage lowering the number of the characters.
It has nothing to do with the number of characters (although, frankly, that number is kind of absurd...Marvel games made by professional developer teams don't have anywhere near that number of characters).
If you're only changing the actor's sprite, not actually changing between actor IDs, referencing information in the $dataActors array stores all of the information as you originally typed it in your database.
So the original character graphic you set is stored in
If you're only changing the actor's sprite, not actually changing between actor IDs, referencing information in the $dataActors array stores all of the information as you originally typed it in your database.
So the original character graphic you set is stored in
$dataActors[ID].characterName, and if that was a larger sheet with multiple characters on it, the index is $dataActors[ID].characterIndexOriginal thread: https://forums.rpgmakerweb.com/threads/plugin-eventing-transformation-to-superhero-help.140370/