Creating and or deleting the instance of an actor from the Database?

MakeAndCreate

Veteran
Veteran
Joined
Jul 3, 2014
Messages
40
Reaction score
3
First Language
English
Primarily Uses
Looking to make a simple plugin for this as I have yet to find a proper one for it yet.  I assume I have to reference $dataActors in one of the .josn files, but I"m not sure how to go about it.  Can anyone  give me an idea how to?  
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,108
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
It is just $dataActors[id] but I would have to question why you would want to do such a thing. The way $dataActors is stored and loaded, and links to $gameActors means you could be messing up other things in the current game, other saved games, a new game, or the current game if you save it, close completely, then relaunch and reload.


I really can't think of any valid reasons why you would want to do that.
 

MakeAndCreate

Veteran
Veteran
Joined
Jul 3, 2014
Messages
40
Reaction score
3
First Language
English
Primarily Uses
It is just $dataActors[id] but I would have to question why you would want to do such a thing. The way $dataActors is stored and loaded, and links to $gameActors means you could be messing up other things in the current game, other saved games, a new game, or the current game if you save it, close completely, then relaunch and reload.

I really can't think of any valid reasons why you would want to do that.
Sorry w I should have been more clear.

I want make a plugin myself for a monster farming game. (Pokemon, monster rancher, etc.)

I want to figure out how to look for a monster's data in the actor database, and produce an initialized clone of that monster in order to have multiple instances of that actor monster in the party.

Is making something like that too much for mv?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,108
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
No. But it's a little different to the way MV is set up. It has a link between $gameActors[1] and $dataActors[1]. What you're talking about is being able to create several actors all linking back to the same $dataActor object.


I have not played those games. Do you need them "in the party"? Game_Troop has an implementation where a number of enemies are created from the same $dataEnemies object. You could take a look at how that script sets them up and see if you can learn anything from it. If you decide to go with actors, you can probably do something similar, just being aware that the link between the $gameActors and $dataActors objects won't be based on them having the same id.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.
time for a new avatar :)

Forum statistics

Threads
106,017
Messages
1,018,356
Members
137,802
Latest member
rencarbali
Top