Hello guys, after searching around for a while I think this is the most covenient place for me to be posting this. Not only because it fits this thread discussion but also because there are people present here who actually understands about coding and can make things clear to me, and of course to everyone else with the same questions. In advance, please forgive my bad self taugh english.
I've seen around the foruns people with this very same question, but unfortunately left with no sactisfatory answer or solution. More precisely on how to turn this:
Into this:
I believe users like @Kurot , @KillerPixEEL , @Uranium and others wanted to know how to do this. And despite being very simple to do, it ends up being more work later.
As @Restart stated some things in [Chrono mode] uses the "jumpToCharacterZero" code instead of the "moveToTarget" one. This is the case with [Chrono mode's] attack command. And in fact the Move to Target code doesn't does anything just like Restart said, because MOG deactivated it. Part of the code however is oddly called with the comments "tool_position : move_to_target" when set in the toolsIDs event page for some reason. But the "jumpToCharacterZero" function is the one that executes when the battlers are moving toward the enemies before performing the basic attack or skill.
I believe one of the reasons why MOG deactivated the code is because if ON, actors and enemies had to walk all their way to their target, covering the entire distance while walking. And walking has very slow movement speed by default. Which make an enemy who is far away from his target takes too loooooong to move all the way to perform his action, making the entire combat slow as hell and a total drag gamplay wise.
I dunno why MOG simple didn't increased the movement speed in this moment to make characters move faster. Instead he/she opted for replacing the original code with the "jumpToCharacterZero" that is pretty much an instantaneous trajectory, as a workaround for that. Maybe out of laziness or who knows, maybe because he/she was too busy working on other things and didn't want to waste more time fixing/coding the ChronoEngine or something.
Anyways, I managed to reactivate the original "moveToTarget" code and workaround the slow walking problem, by making the characters [Dash] instead. However by doing that, it complete messes up some of the skills of MOG Demo, causing them to have the characters appearing in weird positions after moving to the target, having them moving to random directions instead of target position, lots of weird placement offsets in general, and in some cases even causing the game to crash. But fortunately I already manage to track the source of the issues. Basically it mainly happens because the function parameters set in the more complex [ToolID-Skills] that uses script calls are set for the "jumpToCharacterZero" function and does not correspond with the "moveToTarget" one.
Here is the code that executes it:
To make characters [walk] instead of [jumping] just change the line to: char.moveToTarget() and the function respective parameters inside (). To make characters [dash] however you will have to add to the actual char.moveToTarget() function that it = dashing. But since I'm no coder in the first place, the way I managed to get it working is probably wrong and possible can cause other problems in MOG coding. So I will let for people who actually understands what they are doing to help with that.
So, for those wanting to make the characters move/run toward their targets instead of jumping directly on top of them. If you're thinking about using this code you will have to manually adapt all the necessary MOG Demo skills later (ex: Dragon Jump, Triple attack, etc). To fit the new "moveToTarget" code, or you will encounter errors and some other issues. Also, if you are using @Restart CrossEngine plugin it get even more weird too. As CrossEngine changes the standard "isMoving" function to fit Altimit vector-base movement compatibility into ChronoEngine, it ends up breaking a lot of things in ChronoEngine [Chrono Mode]. Because Restart coded CrossEngine with ABS in mind. So I don't recommend doing this with his Plugin ON. Otherwise you will get enemies doing moonwalks/facing the opposite direction while moving toward you, and lots of others weird movement behaviors in [Chrono Mode].
At first I just wanted to make this a very simple solution to help people with the same desire to adjust [Chrono Mode], especially for people who cannot code too like me. However it ended up being more complex than expected. Out of will power and extesive trial and error alone I even managed to make a few tweaks and even add a few more poses into ChronoEngine to make it a bit more pleasing, based on @ct_bolt codes. At a later date I found help of someone who can code and we ended up adding more features into MOG Code Original code. However I believe I will have to open an exclusive discussion to cover and explain better those new features. How long and size can video footage and media files be uploaded here?
I've seen around the foruns people with this very same question, but unfortunately left with no sactisfatory answer or solution. More precisely on how to turn this:
Into this:
I believe users like @Kurot , @KillerPixEEL , @Uranium and others wanted to know how to do this. And despite being very simple to do, it ends up being more work later.
As @Restart stated some things in [Chrono mode] uses the "jumpToCharacterZero" code instead of the "moveToTarget" one. This is the case with [Chrono mode's] attack command. And in fact the Move to Target code doesn't does anything just like Restart said, because MOG deactivated it. Part of the code however is oddly called with the comments "tool_position : move_to_target" when set in the toolsIDs event page for some reason. But the "jumpToCharacterZero" function is the one that executes when the battlers are moving toward the enemies before performing the basic attack or skill.
I believe one of the reasons why MOG deactivated the code is because if ON, actors and enemies had to walk all their way to their target, covering the entire distance while walking. And walking has very slow movement speed by default. Which make an enemy who is far away from his target takes too loooooong to move all the way to perform his action, making the entire combat slow as hell and a total drag gamplay wise.
I dunno why MOG simple didn't increased the movement speed in this moment to make characters move faster. Instead he/she opted for replacing the original code with the "jumpToCharacterZero" that is pretty much an instantaneous trajectory, as a workaround for that. Maybe out of laziness or who knows, maybe because he/she was too busy working on other things and didn't want to waste more time fixing/coding the ChronoEngine or something.
Anyways, I managed to reactivate the original "moveToTarget" code and workaround the slow walking problem, by making the characters [Dash] instead. However by doing that, it complete messes up some of the skills of MOG Demo, causing them to have the characters appearing in weird positions after moving to the target, having them moving to random directions instead of target position, lots of weird placement offsets in general, and in some cases even causing the game to crash. But fortunately I already manage to track the source of the issues. Basically it mainly happens because the function parameters set in the more complex [ToolID-Skills] that uses script calls are set for the "jumpToCharacterZero" function and does not correspond with the "moveToTarget" one.
Here is the code that executes it:
To make characters [walk] instead of [jumping] just change the line to: char.moveToTarget() and the function respective parameters inside (). To make characters [dash] however you will have to add to the actual char.moveToTarget() function that it = dashing. But since I'm no coder in the first place, the way I managed to get it working is probably wrong and possible can cause other problems in MOG coding. So I will let for people who actually understands what they are doing to help with that.
So, for those wanting to make the characters move/run toward their targets instead of jumping directly on top of them. If you're thinking about using this code you will have to manually adapt all the necessary MOG Demo skills later (ex: Dragon Jump, Triple attack, etc). To fit the new "moveToTarget" code, or you will encounter errors and some other issues. Also, if you are using @Restart CrossEngine plugin it get even more weird too. As CrossEngine changes the standard "isMoving" function to fit Altimit vector-base movement compatibility into ChronoEngine, it ends up breaking a lot of things in ChronoEngine [Chrono Mode]. Because Restart coded CrossEngine with ABS in mind. So I don't recommend doing this with his Plugin ON. Otherwise you will get enemies doing moonwalks/facing the opposite direction while moving toward you, and lots of others weird movement behaviors in [Chrono Mode].
At first I just wanted to make this a very simple solution to help people with the same desire to adjust [Chrono Mode], especially for people who cannot code too like me. However it ended up being more complex than expected. Out of will power and extesive trial and error alone I even managed to make a few tweaks and even add a few more poses into ChronoEngine to make it a bit more pleasing, based on @ct_bolt codes. At a later date I found help of someone who can code and we ended up adding more features into MOG Code Original code. However I believe I will have to open an exclusive discussion to cover and explain better those new features. How long and size can video footage and media files be uploaded here?
//=============================================================================
This is the "devlog" of what me and friend/brother added:
1-Event Battles (notetag to call special battles)2-Boss Battles (notetag to mark encounters as boss battles)
3-Boss Minions (notetag for marking enemies as a boss minion and allows to create bosses with multiple body parts)
4-New Draw phase (for the new "drawing weapons" pose before battle starts)
5-New Threat Cleared phase (after battle is won, for the new "sheathing weapons" pose)
6-Keep Dead Enemy body (notetag)
7-New "skill_target" tool_position comment (to some skills aesthetically pleasing again with the new code)
Tweaks:
By "Tweak " it reads (my stupid coded workaround) to get rid of stepping animations in several battle instances where the battlers/actors are not moving around. Which looks silly Imo.
And other small tweaks to MOG's Code.
Not Implemented ideas:
Guest/battle ally system (a comment trigger, similar to the enemy_id comment. To make map events be indetified as an ActorID/Party Member?, and temporarily add and make them controllable in battle.
Counterattack System (a battle counterattack system which makes bosses or enemies force execute an action when attacked in specific conditions. Regardless if their turn is ready at ATB gauge. Pretty much how Chrono Trigger counter works).
I will make a more elaborated topic explaining and showing those things later (if possible). And of course sharing the codes. I really hope that maybe there are more people around here willing to improve ChronoEngine and Chrono Mode even more. Cheers to all.