Theolized Sideview Battle System (In Game Editor + Version 2 Coming Soon)

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,573
Reaction score
6,503
First Language
Indonesian
Primarily Uses
RMVXA
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
 

Jaymonius

Veteran
Veteran
Joined
Mar 22, 2012
Messages
243
Reaction score
76
First Language
English
Primarily Uses
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?
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,573
Reaction score
6,503
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?
 

Jaymonius

Veteran
Veteran
Joined
Mar 22, 2012
Messages
243
Reaction score
76
First Language
English
Primarily Uses
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
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,573
Reaction score
6,503
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





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
 

Jaymonius

Veteran
Veteran
Joined
Mar 22, 2012
Messages
243
Reaction score
76
First Language
English
Primarily Uses
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:

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,573
Reaction score
6,503
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
 

Jaymonius

Veteran
Veteran
Joined
Mar 22, 2012
Messages
243
Reaction score
76
First Language
English
Primarily Uses
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 :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:

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,573
Reaction score
6,503
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
 

Jaymonius

Veteran
Veteran
Joined
Mar 22, 2012
Messages
243
Reaction score
76
First Language
English
Primarily Uses
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
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,573
Reaction score
6,503
First Language
Indonesian
Primarily Uses
RMVXA
No problem. Good luck with your project! It looks awesome btw :)
 

Ravi_:)

Villager
Member
Joined
Feb 6, 2016
Messages
6
Reaction score
0
First Language
English
Primarily Uses
i insert your script together with the YEA,


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

Untitled.jpg
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,573
Reaction score
6,503
First Language
Indonesian
Primarily Uses
RMVXA
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
 

Ravi_:)

Villager
Member
Joined
Feb 6, 2016
Messages
6
Reaction score
0
First Language
English
Primarily Uses
Thanks for your response :) , i will check my script... hmmm...
 

Ravi_:)

Villager
Member
Joined
Feb 6, 2016
Messages
6
Reaction score
0
First Language
English
Primarily Uses
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
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,573
Reaction score
6,503
First Language
Indonesian
Primarily Uses
RMVXA
try to watch this video
 

Ravi_:)

Villager
Member
Joined
Feb 6, 2016
Messages
6
Reaction score
0
First Language
English
Primarily Uses
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..  :|
 

Ravi_:)

Villager
Member
Joined
Feb 6, 2016
Messages
6
Reaction score
0
First Language
English
Primarily Uses
Oh thanks.. sorry my internet


is unreliable, i see it just now Thanks for


all the Help...  :)
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,573
Reaction score
6,503
First Language
Indonesian
Primarily Uses
RMVXA
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
 

DonutHobo3

Warper
Member
Joined
Jan 3, 2016
Messages
4
Reaction score
0
First Language
English
Primarily Uses
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?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

I should make an itch.io page one of these days...Maybe for my next large update.
whoops, forgot to get started with Advent posts! coming shortly!

Another demo of the dynamic cloud cover system, this time complete with the original soundtrack composition (which sounds even goofier at this 2x playback speed). Much left to tweak but I like it so far.
And now, some custom emotions to give the character life... :kaoslp:
First Person Combat Test Video. Simply showing off a very early concept video for an open world 3D game in MV.

Forum statistics

Threads
105,775
Messages
1,016,335
Members
137,462
Latest member
AbyssalLizard
Top