Vic - Animated Battlers: I've messed something up? ._.

I. Intro

II. Explanation

III. Problem 1
IV. Problem 2

V. Problem 3 [Fixed]

VI.Problem 4 [Fixed]

VII. Thanks

I. Alright alright alright, where to start

Posting this topic here because http://forums.rpgmakerweb.com/index.php?/topic/24-creating-a-support-thread/ specifically said don't post a script related topic in the support forum...

on to buisness-

II. I've been trying to give Victor Scripts a shot because it is obvious they have the potential to let you shape your project exactly how you want it...however, I have run into a few snags while trying to get a feel for it.

I looked at a few examples using the script and followed a tutorial, but both ended in the created skill damaging the user instead of the target.

I have re-typed both of the examples 4 or 5 times thinking I had pressed one to many/few keys but I just can't seem to locate the error and am hoping one of you could assist me

The scripts I am using in order are: Victor's Basic Module, Victor's Animated Battler, Victor's Actors Battles, Victor's Active Time Battle

III. First skill that just ends up damaging myself

<action: thunderclap, reset>pose: self, row magic, all frames, wait 2;anim: id 81;wait: animation;pose: self, row advance, all frames, wait 2;move: move to;wait: movement;jump: height 16;wait: 12;pose: self, row attack, frame 1;freeze: duration 40;anim: self, id 66;wait: self, freeze;wait: 4;pose: self, row attack, all frames, wait 2;wait: 4;anim: targets, effect;flash: screen, duration 8;wait: 8;effect: 75%, weapon 1;flash: screen, duration 8;wait: 4;</action>I had it placed under VE Default Acion =

the animation played out flawlessly, however it only seems to damage the character who uses it for some reason. The skill scope is set on 'One Enemy' 100% sure about that.

IV. Second skill that ends up damaging myself

# Lion Strike
<action: lion strike, reset>
wait: animation;
pose: self, row 11, all frames, wait 3;
direction: targets;
wait: 15;
anim: id 96;
wait: 120;
pose: self, row 9, all frames, wait 3;
move: self, move to, x -0, y +30, speed 15;
wait: 15;
wait: targets, movement;
pose: self, row attack, all frames, wait 4;
wait: 4;
anim: targets, effect;
wait: 40;
effect: 100%;
move: retreat;
direction: targets;
wait: 5;
</action>



a link to the tutorial I followed: the relevent section is around 10:20

V. While using animated battlers (sprites, not charsets), reviving a downed team mate causes the game to crash due to the following error. [Fixed]

Script 'Vic - Animated Battle' line 2678: NoMethodError occurred.

undefined method `call_pose' for #<Game_Actor:0x690dd40>

the following is a copy of said section of the script:

  #--------------------------------------------------------------------------
  # * Alias method: revive
  #--------------------------------------------------------------------------
  alias :revive_ve_animated_battle :revive
  def revive
    call_pose🙂revive, :clear)
    revive_ve_animated_battle
  end

VI. While not terribly important, the cast time option of Victor's Active Time Battle only worked for me in one test battle and has failed to do so ever since. [Fixed]

  #--------------------------------------------------------------------------
  # * Default magic cast
  #   Setup a default cast speed for all magic skills.
  #   Leave nil for no cast time.
  #     100 = default speed (same as the default wait time for actions)
  #--------------------------------------------------------------------------
  VE_ATB_DEFAULT_CAST = 50

that is a copy of the particular section of the script, should be around line 285 if you happen to have the script, yourself.

VII. Thank you for taking the time to read this and help me. I am not dumping a load of my errors and expecting someone to clean up for me. I honestly don't expect half of these to get resolved, but I am at wits end after spending the time I have and asking for help is all I can do at this point.

Again, thank you for your time and help; it is very much appreciated.
For the revive problem, try changing the Alias method revive section to look like this

  #--------------------------------------------------------------------------
  # * Alias method: revive
  #--------------------------------------------------------------------------
  alias :revive_ve_animated_battle :revive
  def revive
    poses.call_pose🙂revive, :clear)
    revive_ve_animated_battle
  end
  #--------------------------------------------------------------------------

Mostly just change the 3rd line to this

poses.call_pose🙂revive, :clear)
@zeraf

Thanks! revive works perfectly now (at least for player controlled characters, haven't tested with enemies yet)

If you don't mind explaining your fix, would you do so? did the script just not know where to look?

thanks again

[edit] you just fixed another problem I had XD and thanks for the links, hopefully they will help solve the remaining issues.
It was on this link that I received the information

http://www.rpgmakervxace.net/topic/13462-needing-help-with-victor-animated-battles/

I also found this page helpful with Victor's battle script

http://www.rpgmakervxace.net/topic/2349-victors-animated-battles-a-tutorial/
Closed by OP's request

Original thread: https://forums.rpgmakerweb.com/threads/vic-animated-battlers-ive-messed-something-up-_.13307/