Theolized Sideview Battle System

Hoo boy, looks like I'm back with a new question in mind. I'm trying to do a ranged attack from an enemy to an ally, but it is not working. 


Hidden Content


It's mostly on the IF command there, I'm a little confused on how to make it register hitting say a front row of characters but not the back row.

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
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



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?
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?
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? 😛
The default RPG Maker has no row, and the target_range method calculate based on the radius.


Basically, this


BEXtQeg.jpg



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 😛
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.
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
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 ! It works 😀  Thanks muchly 😀  
 


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?
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
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. 😀
No problem. Good luck with your project! It looks awesome btw 🙂
i insert your script together with the YEA,


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

Untitled.jpg
i insert your script together with the YEA,


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


View attachment 31068

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
Thanks for your response 🙂 , i will check my script... hmmm...
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
try to watch this video
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..  :|
Oh thanks.. sorry my internet


is unreliable, i see it just now Thanks for


all the Help...  🙂
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..  :|

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
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?

Original thread: https://forums.rpgmakerweb.com/threads/theolized-sideview-battle-system.29231/