Hello, and thanks for taking your time to read this topic! 😀 👍
Anyway, I'm looking for help with my airship event. It's (hopefully) rather basic but there are some frustrating bugs which I can't seem to exterminate. I hope it's all because my own limitations and not the engine/event system itself. Please take a look and see if you can help me out!
For this common event I'm using three plugins;
* Yanfly's Button Common Events (only used to bind the "F" key to activate this common event)
* Victor Sant's Custom Vehicles
* Galv's Basic Event Shadows
So right now my event looks like this...
If you are not familiar with Victor Sant's Custom Vehicles och Galv's Basic Shadows plugins. I've explained the plugin commands and script calls used here:
IMPORTANT!
It needs to be said that Victor Sant's "Custom Vehicle" plugin makes it possible to activate/deactivate a switch depending on if you are currently in the vehicle or not! This is done outside of this event and I have named this switch "Currently Flying".
The event works. Well kind of, it is not 100% reliable and there are some glitches I'd like to sort out so I'll list them here.
* Sometimes the airship sprite stays on screen for a split second before being stored away. The same thing happens sometime when calling the airship. For a split second it is visible at the same time as the player sprite. This mainly (but not exclusively) happens if the player is calling the airship while walking.
* When the player is flying above an area where he cannot land (an example of this would be above tiles the player can't walk on), Galv's plugin will still draw a second shadow underneath the player. Which is strange considering the "if" statements?
* Often the shadow drawn by Galv's plugin stays when the airship have been called and boarded. I've re-written the event a couple of times and this is a new glitch.
That's all. If you have any questions (or answers! 😛 ) feel free to speak up.
Thanks for taking your time.
Anyway, I'm looking for help with my airship event. It's (hopefully) rather basic but there are some frustrating bugs which I can't seem to exterminate. I hope it's all because my own limitations and not the engine/event system itself. Please take a look and see if you can help me out!
For this common event I'm using three plugins;
* Yanfly's Button Common Events (only used to bind the "F" key to activate this common event)
* Victor Sant's Custom Vehicles
* Galv's Basic Event Shadows
So right now my event looks like this...
If you are not familiar with Victor Sant's Custom Vehicles och Galv's Basic Shadows plugins. I've explained the plugin commands and script calls used here:
SetVehicleLocation PinkWing v[1] v[2] v[3] <-- This is a plugin command from the custom vehicles plugin. It calls said vehicle to players current location. PinkWing is the vehicle name. V[1] is variable 1 which handles map ID. V[2] is variable 2 which handles players map x location and V[2] is variable 3 which does the same for players map Y location.
SetVehicleLocation PinkWing 50 2 2 <-- By looking at the explanation above it's easy to figure out that this plugin command dispatches the airship when not used to a storage map which have map ID 50.
Galv.BES.pShadows(true); <-- This activates the player shadow through Galv's Basic Shadows plugin. It just draws a normal shadow under player when he is walking.
Galv.BES.pShadows(false); <-- This obviously deactivates above mentioned player shadow. This is because the vehicle is flying and flying vehicles in MV have their own shadows drawn.
SetVehicleLocation PinkWing 50 2 2 <-- By looking at the explanation above it's easy to figure out that this plugin command dispatches the airship when not used to a storage map which have map ID 50.
Galv.BES.pShadows(true); <-- This activates the player shadow through Galv's Basic Shadows plugin. It just draws a normal shadow under player when he is walking.
Galv.BES.pShadows(false); <-- This obviously deactivates above mentioned player shadow. This is because the vehicle is flying and flying vehicles in MV have their own shadows drawn.
IMPORTANT!
It needs to be said that Victor Sant's "Custom Vehicle" plugin makes it possible to activate/deactivate a switch depending on if you are currently in the vehicle or not! This is done outside of this event and I have named this switch "Currently Flying".
The event works. Well kind of, it is not 100% reliable and there are some glitches I'd like to sort out so I'll list them here.
* Sometimes the airship sprite stays on screen for a split second before being stored away. The same thing happens sometime when calling the airship. For a split second it is visible at the same time as the player sprite. This mainly (but not exclusively) happens if the player is calling the airship while walking.
* When the player is flying above an area where he cannot land (an example of this would be above tiles the player can't walk on), Galv's plugin will still draw a second shadow underneath the player. Which is strange considering the "if" statements?
* Often the shadow drawn by Galv's plugin stays when the airship have been called and boarded. I've re-written the event a couple of times and this is a new glitch.
That's all. If you have any questions (or answers! 😛 ) feel free to speak up.
Thanks for taking your time.