Original Source
- Original title: Entity that protects party members from damage (Satellite summon)
- Original author: petpous
- Original date: June 2, 2021
- Source thread: https://forums.rpgmakerweb.com/threads/entity-that-protects-party-members-from-damage-satellite-summon.137092/
- Source forum path: Game Development Engines > RPG Maker Tutorials > RMMV Tutorials
Summary
This took me a long time to figure out so I thought I would share a tutorial so that anyone else wanting to make something similar can. What it does: This is the satellite, basically what it does is each turn it protects the player and takes the hit for them. It also rotates around party member (e.g. turn 1 actor 1, turn 2 actor 2 etc.) It cannot fight or be hit, it is just a shield. When it protects a hit, it will break but it will be...
Archived First Post
What it does:
This is the satellite, basically what it does is each turn it protects the player and takes the hit for them. It also rotates around party member (e.g. turn 1 actor 1, turn 2 actor 2 etc.) It cannot fight or be hit, it is just a shield. When it protects a hit, it will break but it will be back after 2 turns.
Tutorial
Plugins you will need:
YEP_BattleEngineCore
YEP_PartySystem
YEP_AutoPassiveStates
YEP_BuffsStatesCore
YEP_TargetCore
YEP_X_SelectionControl
YEP_BaseTroopEvents
YEP_WeaponUnleash
Recommended but non essential plugins:
YEP_X_ActSeqPack1
YEP_X_ActSeqPack2
YEP_X_ActSeqPack3
YEP_X_AnimatedSVEnemies
Before you start, go into the plugin settings of the YEP_Party System and set the maximum amount of party members to 5 and go into BaseTroopEvents and set which troop will be the base troop
Also, make sure to create your Satellite actor
Then using YEP_WeaponUnleash <Replace Attack: 0> they cannot attack anything
Step 1: Base Troop Event Set up
For this example, the satellite appears by a switch as it is not always there in the game, only after a certain checkpoint.
Now create a base troop event or add an event page to your current base troop event and make the condition the switch, make sure it spans every turn
Protected downloadAll of these next pieces will make up the code of the base troop event page
When satellite = 5 it needs to be reset to 1 so it knows to cycle through again from the beginning.
Step 2: Common events
Here are all the common events you will need
They are for each of the actors (Satellite shuffle, the satellite protecting each member, Actor Name Satellite is the protection event)
First I explain the Satellite shuffle events
All party members apart from Summer get removed
Now the satellite gets added next to Summer and the rest of the party members can be added back. Then a switch is turned on which lets the game know that Summer is currently protected.
Now this event will be repeated 3 more times making sure the satellite is next to the correct player
Now for the "Actor Name" Satellite event
Make sure it can only run if the satellite is alive and the actor can be protected.
Then the satellite will turn invisible, the animation of the satellite protecting the player will play on the actor, then the satellite will be given a graphic where it is broken on the floor
Now the satellite will be dead as it =1 and the counting for each turn it is dead will start
Then using a different variable from the first time, find out their current HP and take away the first variable from the second variable
If it is no difference, nothing needs to happen. But if it is the HP needs to be added back so that it is as if no damage was taken and they are recovered.
Step 3: Passive States
The custom React Effect will make code play after the player is attacked by an enemy, this how we will know the player has been targeted. Then common event 148 was "summer satellite" so if the conditions of being protected by the satellite are met the satellite will protect Summer
Playtest:
Let me know what you think, I know some things could be simplified probably but this works for me
Features Mentioned
- Tutorial
- Plugins you will need:
- YEP_BattleEngineCore
- YEP_PartySystem
- YEP_AutoPassiveStates
- YEP_BuffsStatesCore
- YEP_TargetCore
- YEP_X_SelectionControl
- YEP_BaseTroopEvents
- YEP_WeaponUnleash
- Recommended but non essential plugins:
- YEP_X_ActSeqPack1
- YEP_X_ActSeqPack2
- YEP_X_ActSeqPack3
- YEP_X_AnimatedSVEnemies
- Before you start, go into the plugin settings of the YEP_Party System and set the maximum amount of party members to 5 and go into BaseTroopEvents and set which troop will be the base troop
- Also, make sure to create your Satellite actor
- "lightbox_close": "Close",
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadReferenced Images / Attachments
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...
