Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> die in battle, yet continue in the game battle/map event? or a skill that damages a character to one hp
Deathrunner
post Dec 4 2010, 09:45 PM
Post #1


Level 5
Group Icon

Group: Member
Posts: 60
Type: Developer
RM Skill: Intermediate




okey, here is my question. in my game, the main character is suppose to fight a powerful enemy at the beginning of the game and lose, but when i have the game continue after the lone main character dies, the game ether ends or it glitches and the character has zero health or something along that line. Or perhaps how do i make a skill that damages a character to one ho? please and thanks for reading and i hope this is placed in the proper place happy.gif


__________________________
Deathrunner i am, king of the wolves i shall be.
click to open
CODE
[/code][img]http://www.ff-fan.com][IMG]http://www.ff-fan.com/chartest/banners/squall.jpg[/img]
http://browse.deviantart.com/?qh=&section=&q=bahamut#/d29wpt6
http://spikewayf-fert.deviantart.com/art/Running-wolf-animation-177806792?q=boost:popular+running+wolf&qo=3[code]

-_- until i get these to work, they stay hahaha lol

My deviantart profile
Go to the top of the page
 
+Quote Post
   
X-M-O
post Dec 4 2010, 09:49 PM
Post #2


Level 82
Group Icon

Group: Director
Posts: 6,347
Type: None
RM Skill: Undisclosed




When you create the event, insert an Event Command, go to Tab 3, then to Battle Processing. Select the enemy you want to appear, then check the box where it says "Continue Even When Loser".
This should work.

(Or have you already attempted this and it isn't working as it is supposed to be?)


__________________________
Go to the top of the page
 
+Quote Post
   
Deathrunner
post Dec 4 2010, 10:34 PM
Post #3


Level 5
Group Icon

Group: Member
Posts: 60
Type: Developer
RM Skill: Intermediate




QUOTE (X-M-O @ Dec 4 2010, 09:49 PM) *
When you create the event, insert an Event Command, go to Tab 3, then to Battle Processing. Select the enemy you want to appear, then check the box where it says "Continue Even When Loser".
This should work.

(Or have you already attempted this and it isn't working as it is supposed to be?)


yes, i did attempt doing what you said to do, my character has no health after defeated, and when i get done with the rest of the "aftermath" /"talking" after the battle(event ends) the game ends ( game over screen)....its very strange, i know


__________________________
Deathrunner i am, king of the wolves i shall be.
click to open
CODE
[/code][img]http://www.ff-fan.com][IMG]http://www.ff-fan.com/chartest/banners/squall.jpg[/img]
http://browse.deviantart.com/?qh=&section=&q=bahamut#/d29wpt6
http://spikewayf-fert.deviantart.com/art/Running-wolf-animation-177806792?q=boost:popular+running+wolf&qo=3[code]

-_- until i get these to work, they stay hahaha lol

My deviantart profile
Go to the top of the page
 
+Quote Post
   
-dah0rst-
post Dec 5 2010, 01:03 AM
Post #4


Level 11
Group Icon

Group: Revolutionary
Posts: 174
Type: Scripter
RM Skill: Advanced




Simple add a "recover-all" event command after the battle when looser. This should work.

For your Skill request, I'll just made this little script:

CODE
class Game_Battler

alias skill_effect_old skill_effect
  
def skill_effect(user, skill)
  skill_effect_old(user, skill)
  $special=[]
  eval(skill.note)
  if $special.include?("Weaken")
    self.hp = 1
  end
end

end


How to use this:
Just type into the note (the box on the bottom right) of a skill this:

$special=["Weaken"]

You can also do other effects with it-
For example, that the enemy looses half HP-

just write add "Half" into the brackets, like:
$special=["Half"] (you can also do more effects at one time, just write them into it divided by a colon)

and add this to the script (before the last end)

if $special.include?("Half") #<-you see the difference?
self.hp /= 2 #that means he divides his hp by 2
end

This post has been edited by -dah0rst-: Dec 5 2010, 01:04 AM


__________________________
You want Next Gen graphic algorithms in RPG VX? Ask the horst :P


But don't expect this in real time ;)
Go to the top of the page
 
+Quote Post
   
Deathrunner
post Dec 5 2010, 03:24 PM
Post #5


Level 5
Group Icon

Group: Member
Posts: 60
Type: Developer
RM Skill: Intermediate




thats a amazing little script, and thank you.for the info. biggrin.gif


__________________________
Deathrunner i am, king of the wolves i shall be.
click to open
CODE
[/code][img]http://www.ff-fan.com][IMG]http://www.ff-fan.com/chartest/banners/squall.jpg[/img]
http://browse.deviantart.com/?qh=&section=&q=bahamut#/d29wpt6
http://spikewayf-fert.deviantart.com/art/Running-wolf-animation-177806792?q=boost:popular+running+wolf&qo=3[code]

-_- until i get these to work, they stay hahaha lol

My deviantart profile
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: 19th May 2013 - 06:06 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker