Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> 


———
Before you ask! Read! ;)

You must have 30+ Posts to create a topic here!

Thanks for reading!
———

 
Reply to this topicStart new topic
> Tankentai 3.4 Animated Enemy Animation Mirror, How do you turn it off?
Penguin
post May 18 2012, 04:41 PM
Post #1


I'll evolve any time now.
Group Icon

Group: Revolutionary
Posts: 225
Type: Event Designer
RM Skill: Masterful




I'm posting this here because I'm not allowed to post a topic in the script development forum? mellow.gif

I'm using Tankentai v3.4, and all my animated battler enemies' skills' animations are mirrored. I tried removing the "Invert" line of this...

CODE
"Clear image"          => ["Clear image"],
  "Afterimage ON"        => ["Afterimage ON"],
  "Afterimage OFF"       => ["Afterimage OFF"],
  "Invert"               => ["Invert"],
  "Don't Wait"           => ["Don't Wait"],
  "Can Collapse"         => ["Can Collapse"],
  "Two Wpn Only"         => ["Two Wpn Only"],
  "One Wpn Only"         => ["One Wpn Only"],
  "Process Skill"        => ["Process Skill"],
  "Process Skill End"    => ["Process Skill End"],
  "Start Pos Change"     => ["Start Pos Change"],
  "Start Pos Return"     => ["Start Pos Return"],
  "Cancel Action"        => ["Cancel Action"],
  "End"                  => ["End"],


...But nothing happened. Does anyone know how to disable the animated enemy animation mirror?
Hopefully someone will answer this unlike all my other topics.

This post has been edited by Penguin: May 18 2012, 06:18 PM


__________________________
Go to the top of the page
 
+Quote Post
   
Penguin
post May 20 2012, 03:16 PM
Post #2


I'll evolve any time now.
Group Icon

Group: Revolutionary
Posts: 225
Type: Event Designer
RM Skill: Masterful




BUMP


__________________________
Go to the top of the page
 
+Quote Post
   
Night_Runner
post May 21 2012, 04:56 AM
Post #3


Level 50
Group Icon

Group: +Gold Member
Posts: 1,523
Type: Scripter
RM Skill: Undisclosed




So you would like to mirror the skills?

If you go to line 1028/1029 of Sideview 2 (3.4e) it should look like this:
img


CODE
  def pop_damage(target, obj, action)
    index = @active_battler.index


And insert the snipper between those lines
CODE
action[1] = !action[1]

So it becomes:
img


CODE
  def pop_damage(target, obj, action)
    action[1] = !action[1]
    index = @active_battler.index


That flps tha skill animations for me happy.gif


__________________________
K.I.S.S.
Want help with your scripting problems? Upload a demo! Or at the very least; provide links to the scripts in question.

Most important guide ever: Newbie's Guide to Switches
Go to the top of the page
 
+Quote Post
   
Penguin
post May 21 2012, 06:22 PM
Post #4


I'll evolve any time now.
Group Icon

Group: Revolutionary
Posts: 225
Type: Event Designer
RM Skill: Masterful




Okay... but that mirrors the skills for everyone. Like I said, I want to UNmirror the skills for animated battler enemies, because for some reason their skill animations are mirrored.


__________________________
Go to the top of the page
 
+Quote Post
   
Night_Runner
post May 22 2012, 03:48 AM
Post #5


Level 50
Group Icon

Group: +Gold Member
Posts: 1,523
Type: Scripter
RM Skill: Undisclosed




Well then, undo what I said in the last post, and we'll try again smile.gif

Line 126 of Sideview 1 (3.4e) should have the text:
CODE
self.mirror = true if !@battler.actor? && @battler.action_mirror


Directly after that, insert the snippet
CODE
      self.mirror = !self.mirror if !@battler.actor? && @battler.enemy.enemy_animate_noteread != :nothing


So it looks like this:
img


And that makes is so you don't have to have the <mirror> tag in the animated enemies, they will face the correct direction naturally.
I just thought it was strange that you needed to add <mirror> in the first place, and since you don't have a <mirror> tag in your enemy it won't flip the skill animations any more.


__________________________
K.I.S.S.
Want help with your scripting problems? Upload a demo! Or at the very least; provide links to the scripts in question.

Most important guide ever: Newbie's Guide to Switches
Go to the top of the page
 
+Quote Post
   
Penguin
post May 22 2012, 06:18 PM
Post #6


I'll evolve any time now.
Group Icon

Group: Revolutionary
Posts: 225
Type: Event Designer
RM Skill: Masterful




Ooookay, I'm getting this error when I load a battle:



Any idea what's wrong?


__________________________
Go to the top of the page
 
+Quote Post
   
Night_Runner
post May 23 2012, 03:58 AM
Post #7


Level 50
Group Icon

Group: +Gold Member
Posts: 1,523
Type: Scripter
RM Skill: Undisclosed




Nope, no idea.

Here's a link to my copy, if you talk to the cat in the bottom right it's the animated enemy that I've been testing with
http://min.us/mOtFmpdzo
Does it work for you, or does it create an error?

Otherwise I'd have to ask for a demo and an enemy in the demo that created the error


__________________________
K.I.S.S.
Want help with your scripting problems? Upload a demo! Or at the very least; provide links to the scripts in question.

Most important guide ever: Newbie's Guide to Switches
Go to the top of the page
 
+Quote Post
   
Penguin
post May 23 2012, 05:22 PM
Post #8


I'll evolve any time now.
Group Icon

Group: Revolutionary
Posts: 225
Type: Event Designer
RM Skill: Masterful




It works on the demo... must be a script problem. But I have NO idea what could be causing it...


__________________________
Go to the top of the page
 
+Quote Post
   
Night_Runner
post May 24 2012, 04:57 AM
Post #9


Level 50
Group Icon

Group: +Gold Member
Posts: 1,523
Type: Scripter
RM Skill: Undisclosed




PM me a copy of your game (or a small demo of it if you prefer to), I'm happy to have a look at what's causing it on your end


__________________________
K.I.S.S.
Want help with your scripting problems? Upload a demo! Or at the very least; provide links to the scripts in question.

Most important guide ever: Newbie's Guide to Switches
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 22nd May 2013 - 10:36 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker