Theolized Sideview Battle System (Now with EDITOR!)

Discussion in 'RGSS3 Scripts (RMVX Ace)' started by TheoAllen, Jun 30, 2014.

  1. TheoAllen

    TheoAllen Self-proclaimed jack of all trades Veteran

    Messages:
    4,502
    Likes Received:
    5,109
    Location:
    Riftverse
    First Language:
    Indonesian
    Primarily Uses:
    RMVXA
    Your condition is "target_range < 0" which actually impossible to get range below 0 @.@ 
    Also, I'm not sure if I understand your question. Can you elaborate? with pics may be better
     
    AwesomeCool likes this.
  2. Jaymonius

    Jaymonius Veteran Veteran

    Messages:
    232
    Likes Received:
    74
    Location:
    Calgary Alberta
    First Language:
    English


    I can provide a video for it, but the boss wasn't using the attack I wanted. 









    The "Stampede" Attack I'd like to be trying to have it attack only enemies on the row closest to him, which I assume requires the ranged part to be 50 or higher, but it doesn't seem to want to register. 

    The attack doesn't activate on this video, but hopefully it can give you an idea what I'm talking about?
     
  3. TheoAllen

    TheoAllen Self-proclaimed jack of all trades Veteran

    Messages:
    4,502
    Likes Received:
    5,109
    Location:
    Riftverse
    First Language:
    Indonesian
    Primarily Uses:
    RMVXA
    I somewhat understand the situation.


    Given that the range of actor from the boss


    Actor A, range = 50


    Actor B, range = 100


    Actor C, range = 150


    The boss gonna attack actor A. Is that what you want?
     
  4. Jaymonius

    Jaymonius Veteran Veteran

    Messages:
    232
    Likes Received:
    74
    Location:
    Calgary Alberta
    First Language:
    English
    The boss is aiming for all character placed on the first row. 
     


    Here's a graph to hopefully get a better understanding.

    Row 1    Row 2    Row 3


    hero       blank


    hero       blank


    hero       blank


    hero       blank


    The row that the heroes would be on, are to be hit. I'm just trying to figure out what range would be required and the coding needed to initiate that.

    Note: Semi-Off toppic, Hey man, how's it been, it's been a while hasn't it? :p
     
  5. TheoAllen

    TheoAllen Self-proclaimed jack of all trades Veteran

    Messages:
    4,502
    Likes Received:
    5,109
    Location:
    Riftverse
    First Language:
    Indonesian
    Primarily Uses:
    RMVXA
    The default RPG Maker has no row, and the target_range method calculate based on the radius.


    Basically, this


    [​IMG]


    I believe it needs an additional custom addon. Can you provide the script you're using for the battle row?


    And for off-topic :
    Yeah, it had been a full year since I left this script unsupported. I also heard that people began to think I'm ded, no, I'm not. Just irl stuff and burntout tbh :p
     
  6. Jaymonius

    Jaymonius Veteran Veteran

    Messages:
    232
    Likes Received:
    74
    Location:
    Calgary Alberta
    First Language:
    English
    I'm using the formation bonus script, here's the script here.
     


    View attachment formation.txt


    This is a edited version of the script because at first it wasn't compatible with the Theo Battle System, but I was able to find a compatiable script.
     
    Last edited by a moderator: Feb 5, 2016
  7. TheoAllen

    TheoAllen Self-proclaimed jack of all trades Veteran

    Messages:
    4,502
    Likes Received:
    5,109
    Location:
    Riftverse
    First Language:
    Indonesian
    Primarily Uses:
    RMVXA
    Alright, this is untested, but worth to try


    First, set the skill target scope to all enemies, then put <area> tag in the skill. The skill is for the boss you've mentioned


    Then, in the action sequnce, call script like this at the beginning of the sequence

    Code:
    [:script, "@target_array.delete_if {|t| !t.front_row?}"]
    How it works is like, first the skill target scope are all enemies. Then it eliminates the target that is not placed in front row.


    Also, if you found an error because it has no target since there is no actor in front row, you could put if like this. It checked if it has at least one target, it will perform an action

    Code:
    [:if, "!@target_array.empty?", ... ],
    Let see if it works
     
  8. Jaymonius

    Jaymonius Veteran Veteran

    Messages:
    232
    Likes Received:
    74
    Location:
    Calgary Alberta
    First Language:
    English
    No go, tis' not working.

    I did make a slight edit above that shows the script that is compatible with the Theo Battle System.


    EDIT: Hold on, gonna try that other part you mentioned, I'll give response in a minute.


    EDIT 2: Oh sheep! It works :D  Thanks muchly :D  
     


    EDIT 3: I guess the next step to this would be to try and have it attack the next row should there be no party members on the first row so it attacks the next row instead, how would I go about doing that?
     
    Last edited by a moderator: Feb 5, 2016
  9. TheoAllen

    TheoAllen Self-proclaimed jack of all trades Veteran

    Messages:
    4,502
    Likes Received:
    5,109
    Location:
    Riftverse
    First Language:
    Indonesian
    Primarily Uses:
    RMVXA
    lmao, you're asking too much. Not that I don't like it though. It's a common sense anyay


    It's heavily based on the script. My scripting skill is a bit rusty though.

    Code:
    [:script, "
    if @target_array.any? {|t| t.front_row?}
      @target_array.delete_if {|t| !t.front_row?}
    elsif @target_array.any? {|t| t.middle_row?}
      @target_array.delete_if {|t| !t.middle_row?}
    end
    "],
    I believe there's more efficient way to script this, but just stick on this atm
     
  10. Jaymonius

    Jaymonius Veteran Veteran

    Messages:
    232
    Likes Received:
    74
    Location:
    Calgary Alberta
    First Language:
    English
    Haha, awesome. And that takes care of that problem. That is all in regards to my battle system woes, thanks for the assistance man. I'll definitely hook you up with a demo or something when I finish more stuff on there. :D
     
  11. TheoAllen

    TheoAllen Self-proclaimed jack of all trades Veteran

    Messages:
    4,502
    Likes Received:
    5,109
    Location:
    Riftverse
    First Language:
    Indonesian
    Primarily Uses:
    RMVXA
    No problem. Good luck with your project! It looks awesome btw :)
     
  12. Ravi_:)

    Ravi_:) Villager Member

    Messages:
    6
    Likes Received:
    0
    First Language:
    English
    i insert your script together with the YEA,


    Uhmm... can you help me with this thing pls?

    Untitled.jpg
     
  13. TheoAllen

    TheoAllen Self-proclaimed jack of all trades Veteran

    Messages:
    4,502
    Likes Received:
    5,109
    Location:
    Riftverse
    First Language:
    Indonesian
    Primarily Uses:
    RMVXA
    You just did NOT insert my script correctly. Or at least, you missed the implementation part. You only insert the patch. Look back to your script
     
  14. Ravi_:)

    Ravi_:) Villager Member

    Messages:
    6
    Likes Received:
    0
    First Language:
    English
    Thanks for your response :) , i will check my script... hmmm...
     
  15. Ravi_:)

    Ravi_:) Villager Member

    Messages:
    6
    Likes Received:
    0
    First Language:
    English
    After following the instructions above, i insert all


    the needed scripts in the SBS Uhmmm.. so this is the result


    that i need answer, because i did'nt understand what is my mistake.

    Untitled.jpg
     
  16. TheoAllen

    TheoAllen Self-proclaimed jack of all trades Veteran

    Messages:
    4,502
    Likes Received:
    5,109
    Location:
    Riftverse
    First Language:
    Indonesian
    Primarily Uses:
    RMVXA
    try to watch this video
     
  17. Ravi_:)

    Ravi_:) Villager Member

    Messages:
    6
    Likes Received:
    0
    First Language:
    English
    im having hard time here with the sequence, in the


    notetag im spending almost 2 hrs, but i can't make it


    pls help me..... im tired..  :|
     
  18. Ravi_:)

    Ravi_:) Villager Member

    Messages:
    6
    Likes Received:
    0
    First Language:
    English
    Oh thanks.. sorry my internet


    is unreliable, i see it just now Thanks for


    all the Help...  :)
     
  19. TheoAllen

    TheoAllen Self-proclaimed jack of all trades Veteran

    Messages:
    4,502
    Likes Received:
    5,109
    Location:
    Riftverse
    First Language:
    Indonesian
    Primarily Uses:
    RMVXA
    I already wrote lots of guide in the wiki, I also provide the demo


    If it doesn't help, maybe you could try asking people who're already familar with my system. 


    Because, I'm in the scripter's perspective, maybe you could understand more in user's perspective
     
  20. DonutHobo3

    DonutHobo3 Warper Member

    Messages:
    4
    Likes Received:
    0
    First Language:
    English
    How would one edit/create battle sprites for this?
     


    I don't want to/ won't feel right if I use yours.


    Or am i just being stupid and there's some built in thing im not seeing?
     

Share This Page