Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> Rm2003 help. Stop screen flash when poisoned, In the field walking around. I can work out how to stop the flashing
Hex420
post Sep 13 2012, 03:06 PM
Post #1



Group Icon

Group: Member
Posts: 4
Type: Musician
RM Skill: Intermediate




Its a condition ive created which drains HP while walking around ( just like a poison) but i dont want the screen to flash when HP is lost

Im using rm2003

Any solutions?

Thanks in advance
Go to the top of the page
 
+Quote Post
   
 
Start new topic
Replies
Hex420
post Sep 16 2012, 07:53 AM
Post #2



Group Icon

Group: Member
Posts: 4
Type: Musician
RM Skill: Intermediate




QUOTE (Kazesui @ Sep 15 2012, 08:28 PM) *
Probably possible... but it would require real programming knowledge well beyond novice level.
So unless there's some magic box I haven't seen in the editor yet, consider it practically impossible.

As far as I'm concerned, I think the easiest solution would be the evented one as described above, where you store the current x coordinate in one variable, and an old x coordinate in another. You'll have a branch check if the current x coordinate is unequal to the old one, and if it is, you set the old x coordinate to the value of the current one, and do damage to the hero manually if he is afflicated with the condition (you'll need a branch for each hero for this).
You make an identical branch but with y coordinate variables instead to account for all 4 moveable directions.

This prevents the damage from happening unless you're moving, and if you don't want the damage to happen at each step taken, you can add another branch in there which checks if some counter variable has reached a certain value, at which point, you check if any of the heroes are afflicted with the condition and reset the counter variable.

This might sound complicated, but it really isn't all that bad.


Thats done it.
Bloody complicated and im not looking forward to someone asking how i did it lol
Go to the top of the page
 
+Quote Post
   
Zinx10
post Sep 25 2012, 02:33 AM
Post #3


Master of Darkness
Group Icon

Group: Revolutionary
Posts: 1,196
Type: Developer
RM Skill: Advanced
Rev Points: 5




QUOTE (Hex420 @ Sep 16 2012, 07:53 AM) *
QUOTE (Kazesui @ Sep 15 2012, 08:28 PM) *
Probably possible... but it would require real programming knowledge well beyond novice level.
So unless there's some magic box I haven't seen in the editor yet, consider it practically impossible.

As far as I'm concerned, I think the easiest solution would be the evented one as described above, where you store the current x coordinate in one variable, and an old x coordinate in another. You'll have a branch check if the current x coordinate is unequal to the old one, and if it is, you set the old x coordinate to the value of the current one, and do damage to the hero manually if he is afflicated with the condition (you'll need a branch for each hero for this).
You make an identical branch but with y coordinate variables instead to account for all 4 moveable directions.

This prevents the damage from happening unless you're moving, and if you don't want the damage to happen at each step taken, you can add another branch in there which checks if some counter variable has reached a certain value, at which point, you check if any of the heroes are afflicted with the condition and reset the counter variable.

This might sound complicated, but it really isn't all that bad.


Thats done it.
Bloody complicated and im not looking forward to someone asking how i did it lol

Trust me, it may seem complicated, but in the future (if you become a great eventer), it will be easy eventing. Now, making a custom CBS is difficult. Also, I do recommend the eventing method as described within my quoting.


__________________________
My Games
Phelxyre: Time Unbound (Current Project)
Game Thread
A game where you start in the future, but you go to the past, to make things right, hopefully.

The Hidden World
Game Thread
An Arcade-style game where you must go through various puzzles to see if you go home.

Here are all the things I Support (They Include Links!)




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 June 2013 - 05:13 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker