Floating Status

Discussion in 'JS Plugin Requests' started by Maldra, Jan 8, 2018.

  1. Maldra

    Maldra Veteran Veteran

    Messages:
    51
    Likes Received:
    6
    First Language:
    English
    Primarily Uses:
    RMMV
    Hey all - I'm attempting to make a Float status similar to what is in FF games - the character floats in the air to avoid damage from below like a quake spell. I've got the map part figured out to avoid damage tiles when the character has float, and I don't care about the animation appearing to be floating on the map. I do, however, care about the sv actor battler looking like it is floating! There are some yanfly plugins to make the enemies appear to be floating, and there are plugins to make a character float during an action, but I cannot seem to find anything to make an actor float based on a "Float" status effect.

    Can anyone help out with this?

    Thanks in advance!
     
    #1
  2. Maldra

    Maldra Veteran Veteran

    Messages:
    51
    Likes Received:
    6
    First Language:
    English
    Primarily Uses:
    RMMV
    I forget the rules on how often you can bump a post, but it has been quite some time and nobody has replied. Can anyone assist on advise on how to make a player float in battle based on a status?
     
    #2
  3. Erinblue

    Erinblue Villager Member

    Messages:
    12
    Likes Received:
    3
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    I want to do exactly the same, but don't know how.
     
    #3
  4. bgillisp

    bgillisp Global Moderators Global Mod

    Messages:
    11,608
    Likes Received:
    11,598
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMVXA
    The rules are 72 hours after your post you can bump it. Also the only way to do that is with a plug-in, so I need to move this to Plug-in Requests.

    Moved to Plug-In Requests

     
    #4
  5. Maldra

    Maldra Veteran Veteran

    Messages:
    51
    Likes Received:
    6
    First Language:
    English
    Primarily Uses:
    RMMV
    Bump :(
     
    #5
  6. Megablackdragon31

    Megablackdragon31 Veteran Veteran

    Messages:
    215
    Likes Received:
    35
    Location:
    Argentina
    First Language:
    Spanish
    #6
    Canini likes this.
  7. Erinblue

    Erinblue Villager Member

    Messages:
    12
    Likes Received:
    3
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    Hi,
    It works to me, thanks!
     
    #7
  8. Maldra

    Maldra Veteran Veteran

    Messages:
    51
    Likes Received:
    6
    First Language:
    English
    Primarily Uses:
    RMMV
    Thanks, I'll check it out!!
     
    #8
  9. Canini

    Canini Veteran Veteran

    Messages:
    962
    Likes Received:
    632
    First Language:
    Swedish
    Just as a heads-up, here is the translated licensing terms:

    "Terms of service
    This plug-in is released under MIT license. It is possible to modify and redistribute without permission of the author, and there is no restriction on usage forms (commercial, 18 prohibited use etc). This plugin is already yours."
     
    #9
  10. Maldra

    Maldra Veteran Veteran

    Messages:
    51
    Likes Received:
    6
    First Language:
    English
    Primarily Uses:
    RMMV
    This plugin works but doesn't seem to be compatible with Yanfly's Animated SV Enemies plugin.. All of the enemies are backwards when this plugin is used :/
     
    #10
  11. Johnboy

    Johnboy Veteran Veteran

    Messages:
    309
    Likes Received:
    98
    Location:
    Canadia
    First Language:
    English
    If using Yanfly Buffs and States Core, place this in the state notebox:

    <Custom Apply Effect>
    user.battler().setupFloat(1.0, 20);
    </Custom Apply Effect>

    <Custom Remove Effect>
    user.battler().setupFloat(0, 20);
    </Custom Remove Effect>

    I can't remember who posted it but it was posted a while ago. This will make all the battlers that have the float status float in the air.
     
    #11
    caethyril likes this.
  12. Maldra

    Maldra Veteran Veteran

    Messages:
    51
    Likes Received:
    6
    First Language:
    English
    Primarily Uses:
    RMMV
    That didn't quite give me what I needed since I received an error when using the float spell outside of battle, but after some trial and error I was able to find the exact code required to make it work!

    <Custom Apply Effect>
    if ($gameParty.inBattle() == true)
    { user.battler().setupFloat(1, 20);}
    </Custom Apply Effect>

    <Custom Battle Effect>
    user.battler().setupFloat(1, 20);
    </Custom Battle Effect>

    <Custom Remove Effect>
    if ($gameParty.inBattle() == true)
    { user.battler().setupFloat(0, 20);}
    </Custom Remove Effect>

    Thanks!!
     
    #12
    caethyril likes this.
  13. AsuranFish

    AsuranFish Veteran Veteran

    Messages:
    112
    Likes Received:
    80
    First Language:
    English
    For me, this code seems to just move the character "up" a bit on the battle background, but doesn't give the illusion that they're floating. It just looks like they're standing on a different part of the ground than usual.

    Is there a way to have them somewhat bob up and down by a few pixels?
     
    #13

Share This Page