Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

2 Pages V  < 1 2  
Closed TopicStart new topic
> Counterattack Script, Read the title
ave369
post Feb 23 2012, 12:16 PM
Post #21


Level 1
Group Icon

Group: Member
Posts: 14
Type: None
RM Skill: Undisclosed




Does this only work for actors, or you can make counterattacking enemies too?
Go to the top of the page
 
+Quote Post
   
Thorondor
post Feb 23 2012, 01:04 PM
Post #22


Level 2
Group Icon

Group: Member
Posts: 19
Type: None
RM Skill: Undisclosed




It works for actors and enemies, the exact same way.
Go to the top of the page
 
+Quote Post
   
ave369
post Feb 24 2012, 10:11 AM
Post #23


Level 1
Group Icon

Group: Member
Posts: 14
Type: None
RM Skill: Undisclosed




Looks like I've found the solution for Tankentai pops. Try to insert the following line:

@spriteset.set_damage_pop(@active_battler.actor?, @active_battler.index, @hp_damage)

between the lines

display_action_effects(@active_battler) # Display effects

and

if $imported["BattleEngineMelody"]
Go to the top of the page
 
+Quote Post
   
Thorondor
post Feb 24 2012, 10:18 AM
Post #24


Level 2
Group Icon

Group: Member
Posts: 19
Type: None
RM Skill: Undisclosed




Thanks! I'll see about adding that in to the script, then. Do you happen to know if Tankentai has an $imported tag, and if so, what? I can't check right now, because all I can see for it are in demos or whatever, and this computer doesn't have RPG Maker on it. I'll check when I can though, if you don't say something first.

*edit*
Well, I finally got around to doing it... *thwacks self* Should have done it a long time ago, but I kept forgetting...

This post has been edited by Thorondor: Mar 17 2012, 09:32 AM
Go to the top of the page
 
+Quote Post
   
ave369
post Feb 24 2012, 11:55 AM
Post #25


Level 1
Group Icon

Group: Member
Posts: 14
Type: None
RM Skill: Undisclosed




I dunno and am kinda lazy to check, but I think it doesn't. I don't remember seeing it anywhere in the Tankentai scripts, and I'm pretty close to learning them by heart 8) So the best solution will be not including this line per se, but including it as a hint in comments, for the Tankentai user to do it themselves. Anyone who chooses Tankentai must be prepared to mess with the scripts alot 8)

Or perhaps it's possible to check if some Tankentai-specific constant exists. I think it may work.

This post has been edited by ave369: Feb 24 2012, 12:02 PM
Go to the top of the page
 
+Quote Post
   
new
post Jun 2 2012, 08:35 PM
Post #26


Level 4
Group Icon

Group: Member
Posts: 58
Type: None
RM Skill: Undisclosed




can you combine this with shanghai's counter attack script? shanghai's allows an attack sequence in tankentai, while your's just shows an an animation when counter occurs.. your's have conditions while shanghai's doesnt.. so if possible can you make it so that in tankentai SBS the battler actually attacks and not just display an animation?
Go to the top of the page
 
+Quote Post
   
Thorondor
post Jun 4 2012, 05:49 AM
Post #27


Level 2
Group Icon

Group: Member
Posts: 19
Type: None
RM Skill: Undisclosed




QUOTE (new @ Jun 3 2012, 12:35 AM) *
can you combine this with shanghai's counter attack script? shanghai's allows an attack sequence in tankentai, while your's just shows an an animation when counter occurs.. your's have conditions while shanghai's doesnt.. so if possible can you make it so that in tankentai SBS the battler actually attacks and not just display an animation?

I'm not sure if this is the same problem or not, but you might be able to fix it with this:

QUOTE (ave369)
Looks like I've found the solution for Tankentai pops. Try to insert the following line:

@spriteset.set_damage_pop(@active_battler.actor?, @active_battler.index, @hp_damage)

between the lines

display_action_effects(@active_battler) # Display effects

and

if $imported["BattleEngineMelody"]


If you've already tried that, you'll have to give me more details about what the problem is.

This post has been edited by Thorondor: Jun 4 2012, 05:50 AM
Go to the top of the page
 
+Quote Post
   

2 Pages V  < 1 2
Closed 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 - 03:48 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker