This is the first time I've seen anyone else in the RMXP community who actually knows of the Romancing Saga series. (There are a couple others on the GameFAQs boards too but I'm not sure how deep they are into the RMXP thing) I have to say, I am very impressed.
I am actually in the midst of putting together my own system for my remake of RS2 myself, and when I found your script I just had to see it. I now feel really, really noob at scripting. Yours looks great!
One question though, does your script handle formation based targeting? i.e. one skill can hit everything in a row, one skill can hit everything in a column, one skill can do splash damage, etc. I wasn't able to parse through all of the scripts yet and I just wanted to ask first.
Hello, sorry for not responding for like half a month. Thanks for your interest in the system 😛 . Regarding the targeting, haven't done it, but have it planned already. You know, that kind of targeting is very common in the three RomaSaGas xD, so it would be a failure to not include it I think. There are some other features to add too, like RomaSaGa3 formation skills, and some other special non-RomaSaGa things that I want to add. So, hopefully in a very near future, there will be a new release.
Also let me know if you make the RS2 remake. I would REALLY LOVE to play something like that!
Salut,
Orochii Zouveleki
Well, I've more or less figured out how to do the alternate range stuff in practice, but I can't get the cursor to display correctly. The other stuff is easy though.
Basically, in battle_scene_4 there's an area that does targeting, and you'll notice that all targeting is done through arrays. All attacks/heals just fill the array with the entire party, so what to take the attack all scripts, and within the loop that checks to see if the monster exists, add in an additional check to make sure the conditions match.
For vertical, the condition would be enemy.base_position_x == target.base_position_x
For horitzontal, replace base_position_x with base_position_y
For splash, you'll need to do distance calculation. I did this by using some basic quardratic calculations.
But it's basically a variant of Math.sqrt((x1-x2)^2.abs+(y1-y2)^2.abs) < splash range. The ".abs" part gets kind of tricky though, since for some reason, the RMXP engine does the math wrong if the x1-x2 value comes out negative, it will square it without making it positive, AND the ".abs" doesn't work after the power for some reason, so it won't make it into an absolute value. I had to do it the super ugly way of doing (x1-x2)(x1-x2) to get it to stick right. I'm not sure if this is a quirk of the language or what but it screws up the order of operation something fierce.
on a side note, my thing is currently focused on system first. I got a some of the more basic functionality in place, but I still need to get the background calculations and algorithms in place before I'm anywhere near ready to start dropping content. Plus, I still got to figure out an efficient way to get the animation implemented. right now I'm using the Emu Sideview Battle System, which I haven't been able to really parse out the code in yet. I know the basic animation flow for all of the movements, and it basically just tells you to make all the animation into strips on the sprite sheet. While I'm OKAY with it, it is prohibitively resource intense to have to create a new sheet for it every single time, so I'm wondering if there is a way I can hack the animation engine so that it will instead just create the film strip on the fly so I can just import a single spirte sheet with no redundancies to get it working.
For the last part, one can use the Math.hypot(x1-x2, y1-y2) it's the same thing but... it's clearer I think.
But yeah, I see your point. Thanks.
I'm pretty much eager to start coding today >=D,
Orochii Zouveleki
I just tried it an... holy , it works SOO much better. I can't believe I didn't think of using that. Thanks!
Can't believe you got so little feedback on this. You've got almost the entire game system sorted out!
I haven't played RS, but I did play Saga Frontier 2. And you got the spikes and everything in, amazing! I'll be sure to play whatever comes out of this =).