Atoa ACBS Target move wrong after move to center - Printable Version +- Save-Point (https://www.save-point.org) +-- Forum: Games Development (https://www.save-point.org/forum-4.html) +--- Forum: Code Support (https://www.save-point.org/forum-20.html) +--- Thread: Atoa ACBS Target move wrong after move to center (/thread-5226.html) |
Atoa ACBS Target move wrong after move to center - Djigit - 07-22-2014 Hello guys. Once again I need your help because of the acbs atoa battle system script. Im using the rpg xp and the atoa acbs battle system ( a siedview battle system). Links is here: http://victorscripts.wordpress.com/rpg-maker-xp/battle-scripts/atoa-custom-battle-system-3/ In one of its scripts, called "ACBS | Config 2 - Advanced" you can configurate some skills and other stuff. For example you can configurate that a User move to the center when hes using a certain skill. IM NOT USING ANY OTHER SCRIPTS ONLY THE SCRIPTS IN THE DEMO OF THE AUTHOR. NOR DID I CHANGE ANY OTHER SCRIPTS! I did the following: Skill_Settings[12] = ["MOVETYPE/SCREENCENTER"] The user will now move to the center like I configurated. In the battle this is acutally working fine just hot it should be. Look therefore screen number 1. The user perfoms the skill in the center. But after an actor or en enemy uses a skill which forces someone to the center, the actuall target move seems to be damaged. After someone used a skill with "SCREENCENTER" configuration, the user won't move direct to the enemy when attacking as he he should do. He goes to the screencenter. It seems like the "SCREENCENTER" configuration overwrites the acutal target move configuratio, which it should'nt! In picture number 2 you can see that he doenst go the enemy, as he should to. The target move is wrong. And in picture number 3 you see the correct target move, when I dont use any skill that has screencenter set. I uploaded the demo so you can see on your own. I didint change any of the scripts. I also didint add any other scripts. I just used the demo the creator of the script put online. The only thing I add was to give the hero the skill so you can test it without having to edit it. Also look at the pictures (attachment) 1. So please download the demo 2. Speak with the red haired guy with the hairband and choice easy enemies 3. Attack one enemy and see the correct animation. 4. Use the blizzard skill which has "SCREENCENTER" configuration 5. And now attack one enemy again and understand my problem Here are the main parts, which im sure where the things are configurated: THIS IS FROM ACBS | Game Battler LINE: 976 - 994 Quote:#-------------------------------------------------------------------------- and heres come the second part from ACBS | Scene Battle 4 Line: 789 -833 Quote:def battler_can_move(battler) RE: Atoa ACBS Target move wrong after move to center - DerVVulfman - 07-27-2014 You are so correct on the issue of SCREENCENTER not being reset or voided out. I took a look just now and ran a couple tests and found where to make a bit of surgery to the system. If you go to line 782 of "ACBS | Scene Battle 4" (just a little higher than you looked), you will see this line of code: Code: battler.movement = battler.step_foward = battler.action_all = false Code: battler.movement = battler.step_foward = battler.action_center = battler.action_all = false RE: Atoa ACBS Target move wrong after move to center - Djigit - 07-29-2014 Love you man works fine!! No bug found yet. But I've a question in addition. I know also another bug in this script. I dont want to open another topic for other people to give them a chance to open their topics. So im gonna ask here if you allow me to do so. If an actor is inflicted with confuse the actor leaves the screen and the game freezes. But bizarrely this only happens to actor. I have tried this with enemies. Confusing works fine for enemies. Do they know how to fix this too? Then I can die in peache :))) RE: Atoa ACBS Target move wrong after move to center - DerVVulfman - 08-03-2014 The problem wasn't that the actor attempted to escape, but was attempting to attack itself. The system that made the character move in this manner attempted to move the battler 16 pixels in a given location to a target, but unfortunately, it WAS the target. As such, you had a sliding effect. Code: #============================================================================== Paste it right below the original battlesystem and above the add-ons, and you can rest in peaches. :))) RE: Atoa ACBS Target move wrong after move to center - Djigit - 08-04-2014 Thank you so much sir. Honestly you almost fixed the entire script. If I wasnt so poor I would even pay you :)) I had so many problems and you almost completly eradicated them. THANKS THANKS THANKS! |