Summoning

I was wondering if a summoning plugin was in the works. I know Vlue was able to whip up a pretty comprehensive script for VX Ace, one that allowed you to summon actors into battle to fight alongside you temporarily. I know adding actors to battle is pretty straightforward with events, but I always seem to run into the snag of "what if the party is full already?" I was SORT of able to do this with Yanfly's Party System, where I would make a skill and let it run an event with the plugin command that changes party max size mid battle, but the summoned actor was invisible on the battlefield. I've also dabbled with the Enemy Reinforcement plugin and the Battle Royale (Bribed State) plugins and it works, just...not exactly in the cleanest way. Anyway, is anyone currently working on a summoning script?
Bump
Bump
I am actually working on a script with the purpose of summoning new actors into battle.


The goal of my script is to summon a character that isn't in your party into the battle. Limited to one active summon at a time.



As you started above with Yanfly's plugin, I am currently working out the kinks to try and get rid of that pesky invisible summon that also plagues my plugin at the current moment.


EDIT : I'll post here again when I'm done with it. After extensive researching and studying up on my JavaScript I feel like a fool and I think I know where I went wrong but I can't complete it right away as life beckons for me at the moment.
UPDATE :10.14.16: I am throwing an error in my code while trying to perform the summoning. I've managed to narrow down the source but all that's brought about is more questions. I will continue to use this post for updates in the future because I don't like double posting or bumping in forums.


UPDATE :10.15.16: I am in the process of writing a second script from scratch, nearly done and ready to test it. The purpose of a second script was to try and answer the invisibility issue. Success means I'll be rewriting the original Summoning Script I was working on to work together with the fix either as 1 script or 2 since summoning is more of an add-on to the one I'm working on now.
UPDATE :10.14.16: I am throwing an error in my code while trying to perform the summoning. I've managed to narrow down the source but all that's brought about is more questions. I will continue to use this post for updates in the future because I don't like double posting or bumping in forums.



Thank you so much for taking on this task! I have a weird sort of relief that I wasn't the only one running into that invisible bug, hehe. Would this allow for a maximum of one summon per character on the battlefield?
I was working on the code prior to your request so in my game i only needed one more. Once i have it working i can test how it functions with more summons. You'll just need a fix for their locations in combat because by default the game engine only has support for 4.
I was working on the code prior to your request so in my game i only needed one more. Once i have it working i can test how it functions with more summons. You'll just need a fix for their locations in combat because by default the game engine only has support for 4.



I can live with that. 😉
Quick question as the first part of the plugin is finally working... a few tests have to be done but switching party members works so ideally switching to summons will be possible. That's what I have to test soon.


How do you intend summons to work? They are brought to the field and remain until combat is complete?
Quick question as the first part of the plugin is finally working... a few tests have to be done but switching party members works so ideally switching to summons will be possible. That's what I have to test soon.


How do you intend summons to work? They are brought to the field and remain until combat is complete?



Yes, they serve as additional, but temporary, party members and will vanish after the battle is over. Although, having "lingering" summons that stay through several battles until they die would be a cool option too. 🙂
Alright well as an update... well 2 updates.


1. I PM'd you a question... kinda freaked out. Sorry about that.


2. Just finished a script and ran some tests... not the results I wanted BUT it led to the answer I wanted. I'm working on setting up the final draft that I should be able to post and you should get some use out of. I'm just trying to make sure I don't mess it up since I finally figured out what I was missing.
Alright well as an update... well 2 updates.


1. I PM'd you a question... kinda freaked out. Sorry about that.


2. Just finished a script and ran some tests... not the results I wanted BUT it led to the answer I wanted. I'm working on setting up the final draft that I should be able to post and you should get some use out of. I'm just trying to make sure I don't mess it up since I finally figured out what I was missing.



No problem, take your time 🙂
Sekunri, will your skript also allow enemies to summon other enemies, or will the summoning skill be exclusive to the player?
@Raen Andaleio enemies summoning other enemies doesn't require a plugin, that can be done by default - it is the reason for the "appear halfway" option/command in troop events.
@Raen Andaleio enemies summoning other enemies doesn't require a plugin, that can be done by default - it is the reason for the "appear halfway" option/command in troop events.

Huh? I can't give an enemy a skill that allows it to summon another enemy. Like a conjurer summoning a demon in battle or something.
Huh? I can't give an enemy a skill that allows it to summon another enemy. Like a conjurer summoning a demon in battle or something.

wrong - check the help file for the command "enemy appear" (it's under battle on the third event page).


You just need to make a skill with a common event and that command, but you also need to add the enemy summoned that way to the troop and set it to appear halfway by right-click on its picture.


If you need more help, please make a topic in MV support asking for help on that option, don't post in this topic as it has nothing to do with this
@Raen Andaleio It's as Andar says. Enemies summoning others is a default skill. For this reason the script I am working on will not deal with enemies. I will give you the tip that combined with Yanfly's transforming enemies plugin you can probably do a multitude of things with that and the default summoning method.


For clarification what I am attempting to do with my script specifically is summon a new actor to the board that is not in your regular party / battle party. By default if you have a max party of 3 characters in your game and you haven't changed the default battle party you can summon 1 additional battler easily but past that it is not possible.


Likewise if you happened to have 4 characters in your battle party already summoning a 5th is not possible. I am working towards fixing that without breaking the battle system... which I have only partially succeeded... I manage to freeze the battle scene. Looking into that when I have time.


ALSO I have slowed down on my scripting at the moment because my sister's about to have her baby and I've been babysitting my nephew at this time. So I'm sorry for the wait for any following me.
Status update.




It's not perfect but the core mechanics are there now.


I'm working on adding a bit to it. Including fixing the "running on screen" part of the command but I hope it helps.


Any questions or suggestions can be posted on the linked thread and I'll respond as soon as I am able.
Status update.





It's not perfect but the core mechanics are there now.


I'm working on adding a bit to it. Including fixing the "running on screen" part of the command but I hope it helps.


Any questions or suggestions can be posted on the linked thread and I'll respond as soon as I am able.



Works wonderfully so far 🙂  I have to sift through my plugins to find out what's causing the bug that summons multiple random actors if the party is less than 4 (or whatever the default size parameter is set to).

Original thread: https://forums.rpgmakerweb.com/threads/summoning.67571/