Viewed Battle System

Discussion in 'RGSS3 Scripts (RMVX Ace)' started by Jet, Jul 20, 2012.

    Tags:
  1. Jet

    Jet Flying in a sky near you Veteran

    Messages:
    172
    Likes Received:
    101
    Location:
    California
    First Language:
    English
    Viewed Battle System




    by Jet


    Introduction

    What? Not a "Side-view" battle system? Oh it is a side-view. from left or right sides too. It's also a rear-view, and a front-view with sprites on top.

    You can choose which direction the players will face! It's all the views in one. The script will adapt to the view you choose in the configuration.

    Also has other features listed below.

    Features

    - Choose between any of the 4 directional views

    - Special sprite-changing conditions based on state

    - Center the actor lines, instead of having pre-determined lines

    - Reverse the field with the opposite direction on ambushes

    - Built-in mouse support for selecting on-screen enemies and actors

    - Visible flashing to determine selected enemy/actor

    - Use sprites for monsters instead of battlers

    - And more...

    Screenshots

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]
    Script

    http://pastebin.com/raw.php?i=uiU1Fswd

    Credit

    Jet

    Note

    I have a license, it's in my signature.

    You can other JVBS scripts by searching for the JVBS tag in posts. All JVBS scripts are compatible with the displayed actors in this script.
     
    Last edited by a moderator: Jul 20, 2012
    #1
  2. Mako

    Mako Veteran Veteran

    Messages:
    272
    Likes Received:
    47
    First Language:
    English
    This is amazing... jet you are a legend.

    EDIT: Im having a bit of an issue, it seems to be looking for a state I can't seem to find.

    [​IMG]

    Any ideas?
     
    Last edited by a moderator: Jul 20, 2012
    #2
  3. Jet

    Jet Flying in a sky near you Veteran

    Messages:
    172
    Likes Received:
    101
    Location:
    California
    First Language:
    English
    Sorry about that. That is what i get for working on so many scripts at one time. I never know what script has what method in it.

    Updated the link.
     
    Last edited by a moderator: Jul 20, 2012
    #3
  4. Mako

    Mako Veteran Veteran

    Messages:
    272
    Likes Received:
    47
    First Language:
    English
    Werks fan~tastic. Thanks a bunch!
     
    #4
  5. hyde9318

    hyde9318 RMC Coordinator Veteran

    Messages:
    2,593
    Likes Received:
    680
    Location:
    Michigan, USA
    First Language:
    English
    Primarily Uses:
    RMMV
    Actors on the top of the screen and monsters on the bottom?

    ...

    ...

    ...

    Uhm... how do I explain this... That is interesting. I dont think I have ever thought about that before. But I cant believe how cool that actually is. I have a cool idea though.

    I am not one to usually ask for add-ons, but would it be possible to define monsters to have sprites of their own? Like, instead of a battler, can the monsters have something to define their own sprite to show up and work the same as one of the actor's sprite, just opposite sides?

    For instance, actors each use their own sprite when they go into battle and (I assume) their sprite will move forward a bit when they attack. Say we put a notetag in a enemy notebox (<sprite Monster1, 2> {would go spritesheet Monster1, Index 2}), that enemy would show up in battle as a sprite instead of a battler image. Then, when they attack, they will move forward slightly kind of like the actors do.

    Sorry if that is hard to understand. I am bad at explaining things. But is that possible at all or would it have to be heavily edited to do this?
     
    #5
  6. Jet

    Jet Flying in a sky near you Veteran

    Messages:
    172
    Likes Received:
    101
    Location:
    California
    First Language:
    English
    @hyde: I figured i might as well add every direction, so who knows?

    Also, I added your sprite feature in. Grab the new version in the top post.

    I also fixed a crucial bug which causes enemy portraits to reappear after death. this has been corrected. Everybody should grab the new version.
     
    #6
    Rayne likes this.
  7. hyde9318

    hyde9318 RMC Coordinator Veteran

    Messages:
    2,593
    Likes Received:
    680
    Location:
    Michigan, USA
    First Language:
    English
    Primarily Uses:
    RMMV
    dayum Jet, I knew you were an awesome scripter, but that was really freaking fast. I didnt even expect a reply about it until tomorrow. Lol.

    And thank you. I really think I must find a project to use this in. I guess I can now replace SSBS, lol.

    And doing a battle system as versatile as this was probably one of the best ideas I have ever seen. There are so many good battle systems out there, but can many of them really say that they allow the users to choose how their battles look while still providing the same system? If you really think about it, this script here should have been how Enterbrain did their battle system in the first place. Allow the users to choose.

    Anyways, awesome job with this.

    Also, would it be cool to either post or link to this script over on RMParadise? I think that they would have a field day with this script. Its cool if you dont want to though.
     
    #7
    Rayne likes this.
  8. Skyelarke

    Skyelarke Villager Member

    Messages:
    9
    Likes Received:
    2
    Location:
    USA
    First Language:
    English
    Hey Jet,

    Glad to see yer gonna be back in my game again. :) You got an alignment system for Ace yet or should I continue to wait? BTW: Thanks for the battle script again. :)
     
    #8
  9. Tecprincess

    Tecprincess Lady Noob Veteran

    Messages:
    171
    Likes Received:
    2
    Location:
    Desert New Mexico
    First Language:
    English
    Primarily Uses:
    N/A
    *got it worked out*
     
    Last edited by a moderator: Jul 22, 2012
    #9
  10. Tecprincess

    Tecprincess Lady Noob Veteran

    Messages:
    171
    Likes Received:
    2
    Location:
    Desert New Mexico
    First Language:
    English
    Primarily Uses:
    N/A
    Im a bit scared of editing things... so I will ask for help. How do change it so the monsters are further away from the players? the way it is now, it shows the slimes right next to the main character.
     
    #10
  11. servantb7

    servantb7 Servantb7 Veteran

    Messages:
    250
    Likes Received:
    33
    Location:
    Maryland, USA
    First Language:
    English
    @TecPrincess, you can add new scripts below "Materials" and above "Main" in the Script Editor.
     
    #11
  12. ディーノス

    ディーノス Make a new destiny! Veteran

    Messages:
    187
    Likes Received:
    19
    Location:
    Indonesia
    First Language:
    Indonesian
    this script can compatible with tankentai script?
     
    #12
  13. Tecprincess

    Tecprincess Lady Noob Veteran

    Messages:
    171
    Likes Received:
    2
    Location:
    Desert New Mexico
    First Language:
    English
    Primarily Uses:
    N/A
    I got that, but when I battle, it makes the sprite so close to the mob. So when the animation goes swing a sword, the character walks over the mob. The move is like five pixels away. They are in the same place as they were in the default first person view.
     
    #13
  14. Jet

    Jet Flying in a sky near you Veteran

    Messages:
    172
    Likes Received:
    101
    Location:
    California
    First Language:
    English
    No.

    You need to move the enemy battlers in the database, in the Troops tab.
     
    #14
  15. Tecprincess

    Tecprincess Lady Noob Veteran

    Messages:
    171
    Likes Received:
    2
    Location:
    Desert New Mexico
    First Language:
    English
    Primarily Uses:
    N/A
    nvm I got it. Thanks for helping me! I was looking at the wrong data base hehe. was still in the script
     
    Last edited by a moderator: Jul 22, 2012
    #15
  16. None

    None Villager Member

    Messages:
    15
    Likes Received:
    0
    This is awesome, thank you!

    One issue I've found is that if a character starts a battle with 0 HP, they still appear alongside the other party members (if no state sprites are assigned). This issue is probably not a problem if you assign a sprite for a death state but I still thought you might like to know for those who may not do that.

    Also, any chance you might add a way for a character to move to the enemy they are attacking in a future version?
     
    #16
  17. Lord Valdyr

    Lord Valdyr Team BlackHawk Dev Veteran

    Messages:
    159
    Likes Received:
    18
    Location:
    Lake Jackson, Texas
    First Language:
    English
    Thank you Jet! Your the man!

    Edit:

    Will you be improving upon this? Like maybe adding weapon sprites and such in the characters hands when they attack?
     
    Last edited by a moderator: Jul 26, 2012
    #17
  18. Niten Ichi Ryu

    Niten Ichi Ryu Grey Lords Emissary Veteran

    Messages:
    1,305
    Likes Received:
    1,199
    Location:
    Tanelorn
    First Language:
    French
    Primarily Uses:
    RMMV
    Beautiful work, I was looking for a system where we could actually see the heroes on screen, but keeping the back view... thank you Jet, you made my day!
     
    Last edited by a moderator: Jul 27, 2012
    #18
  19. Sit-Amun

    Sit-Amun Warper Member

    Messages:
    3
    Likes Received:
    1
    First Language:
    German
    Is it possible to use more than 4 battlemembers in this script? I've changed the number of battlemembers to 6

    In the script Game_Party I've changed the number in line 73 (max_battle_members)

    If I want to battle with 5 members then i get the following message:

    Script 'Jet's Viewed Battle System' line 509: NoMethodError occured.

    undefined method 'effect?' for false:FalseClass

    How can I change that?

    Thanks.
     
    Last edited by a moderator: Aug 1, 2012
    #19
    Nefertari83 likes this.
  20. Xenophil 2.0

    Xenophil 2.0 Tutorialist =3 Veteran

    Messages:
    578
    Likes Received:
    15
    Location:
    Jasper,Al
    First Language:
    English
    Hey Jet, anyway this could be made for RMVX? .o. this is almost exactly what I want for my game
     
    Last edited by a moderator: Aug 5, 2012
    #20

Share This Page