CODING HELP [2K3] (WITH AN ADDITIONAL FORUM QUESTION)
Posts
Pages:
1
Hello! First time making an actual topic on this place...
Anywho, I come to you fine folks for a couple questions on coding. I have an accessory that upon the user reaching 0 HP, it breaks and fully revives the user with full HP. Now, I am curious if I can run the coding for this in Common Events and not have to have it all in battle events (as of right now, about 20 pages are used for each character for this accessory alone...). The coding I have is as follows for the battle event, if anyone needs to know it:
Trigger: Hero 's HP between
Branch if: Switch ON
Message: The Reverse Doll gave its life to Reimu!
Change Condition: Reimu Death Remove
Full Heal: Reimu
Change Equipment: Reimu Accessory Unequip
Change Items: Reverse Doll 1 Remove
Switch Operation: OFF
End
And rinse and repeat for each individual character. I know I'll have to have a battle event to access this even if it's done in Common Events, but I'm wondering if it's not possible to somehow make it so that it's only 1 battle event instead of 20?
And for my second question (regarding the forums), what is the rule here on asking for help on one's game and talking about one's own game? I'm not quite familiar with this forum per say, and I know the rules are different than over at RMRK so thought I'd ask that while I'm at it. @_@
Anywho, I come to you fine folks for a couple questions on coding. I have an accessory that upon the user reaching 0 HP, it breaks and fully revives the user with full HP. Now, I am curious if I can run the coding for this in Common Events and not have to have it all in battle events (as of right now, about 20 pages are used for each character for this accessory alone...). The coding I have is as follows for the battle event, if anyone needs to know it:
Trigger: Hero 's HP between
Branch if: Switch ON
Message: The Reverse Doll gave its life to Reimu!
Change Condition: Reimu Death Remove
Full Heal: Reimu
Change Equipment: Reimu Accessory Unequip
Change Items: Reverse Doll 1 Remove
Switch Operation: OFF
End
And rinse and repeat for each individual character. I know I'll have to have a battle event to access this even if it's done in Common Events, but I'm wondering if it's not possible to somehow make it so that it's only 1 battle event instead of 20?
And for my second question (regarding the forums), what is the rule here on asking for help on one's game and talking about one's own game? I'm not quite familiar with this forum per say, and I know the rules are different than over at RMRK so thought I'd ask that while I'm at it. @_@
well, you can put a "Call Common Event" command in a page with the "{1x+0} turns elapsed" condition so that it's called every turn. Then, you just use conditional branches to check the hero HP or whatever else you want to check.
I'm guessing I would have to set it to Turns Elapsed 0x + 1 (I believe that's every turn? I might be wrong) for the trigger. I know that as it stands, the accessory does not work against Instant Death attacks (only when they're physically reduced to 0). I might WANT to try to keep that in, but not too sure on that. I'll probably give that a try and see if that'll work. If so, would it also be possible to do an Auto-Life status like this?
And speaking on this, there is a little bug I noticed while doing this. For instance, if the last person standing (or all characters at the same time) is KO'd, the message will still pop up and the character will still get up, but it'll still game over. I'm assuming there's no way to actually bypass this right?
And speaking on this, there is a little bug I noticed while doing this. For instance, if the last person standing (or all characters at the same time) is KO'd, the message will still pop up and the character will still get up, but it'll still game over. I'm assuming there's no way to actually bypass this right?
I could create a patch which doesn't do the Game Over automatically (you would then have to check that and manually do the Game Over or revive somebody, otherwise the game will be stuck because no character is able to act!). Do you want that?
(About {1x+0}: I actually wrote that in my last message, but I forgot that this damn forum just swallows everything between square brackets even if it's not a valid forum code.)
(About {1x+0}: I actually wrote that in my last message, but I forgot that this damn forum just swallows everything between square brackets even if it's not a valid forum code.)
LockeZ
I'd really like to get rid of LockeZ. His play style is way too unpredictable. He's always like this too. If he ran a country, he'd just kill and imprison people at random until crime stopped.
5958
0x + 1 happens on the first turn and then never again. 1x + 0 happens on every turn.
And yeah, if everyone in your party is at 0 HP for even a single nanosecond, in or out of battle, it's game over. You would have learned this the hard way if you had party members leave at any point in your game - I can't count how many times I've forgetten to revive everyone before changing the party, and then removed the player's party members in such an order that for a split second only a dead person was in the party, and it caused a game over in the middle of a cut scene.
And yeah, if everyone in your party is at 0 HP for even a single nanosecond, in or out of battle, it's game over. You would have learned this the hard way if you had party members leave at any point in your game - I can't count how many times I've forgetten to revive everyone before changing the party, and then removed the player's party members in such an order that for a split second only a dead person was in the party, and it caused a game over in the middle of a cut scene.
Yeah, that was the bane of my game when I had people leave and whatnot, especially when it's for extended periods of time and then they're the only party member in the party with 0 HP. So annoying...
It'd be nice to have some kind of patch that fixes that, since I find it silly that it does that to begin with (which ironically, you CAN have a 0 HP party outside of battle IF you do an Enemy Encounter with a custom handler that returns you to the map or ends event, one of the two). That'd allow for more customization with Auto-Life type abilities and whatnot. It wouldn't be hard to do the Game Over I'd think as all I'd have to do is set a skill that does 9999 damage to the entire party with a 100% hit rate or something and check from there. I'd assume that I'd need some kind of patcher to do it with (which I've never used before. I do have the entire thing backed up on my external, in case anything were to happen to my actual main files so that shouldn't be TOO much of an issue...I think...).
And I figured it was one way or the other. I always seem to screw that up from time to time. Will have to keep in mind that the first one (x) is the "per turn" one, while the second is the turn itself. >_<
It'd be nice to have some kind of patch that fixes that, since I find it silly that it does that to begin with (which ironically, you CAN have a 0 HP party outside of battle IF you do an Enemy Encounter with a custom handler that returns you to the map or ends event, one of the two). That'd allow for more customization with Auto-Life type abilities and whatnot. It wouldn't be hard to do the Game Over I'd think as all I'd have to do is set a skill that does 9999 damage to the entire party with a 100% hit rate or something and check from there. I'd assume that I'd need some kind of patcher to do it with (which I've never used before. I do have the entire thing backed up on my external, in case anything were to happen to my actual main files so that shouldn't be TOO much of an issue...I think...).
And I figured it was one way or the other. I always seem to screw that up from time to time. Will have to keep in mind that the first one (x) is the "per turn" one, while the second is the turn itself. >_<
author=Xenomic
And for my second question (regarding the forums), what is the rule here on asking for help on one's game and talking about one's own game? I'm not quite familiar with this forum per say, and I know the rules are different than over at RMRK so thought I'd ask that while I'm at it. @_@
There is no problem with asking for help about something specific in your game; like with this thread.
Pretty much the only thing you can't do is create a thread to advertise your game, that is the function of gamepages. You can use your game as a starting point of a serious discussion about game mechanics. You can post screens of your game in the screenshot topic. You can talk about stuff your adding to you game in the "whatchu workin on" topic.
There's an article that discusses some rules. http://rpgmaker.net/articles/235/ Have you read that? It doesn't go too in-depth about forums rules..maybe it should?
Ah yes, I do believe I read that back when I first showed up on here but wasn't too sure even then IIRC. It could probably do with more in-depth rules and such (for instance, what exactly do you consider advertising and not as advertising? I'm assuming making a thread all about your own game right?).
And one more question now that I think about it (geez, I feel like I'm derailing my own topic asking questions not related to it x_x;; ), is it ok for posting a topic for tutorials on various mechanics and such? I'm assuming that's ok but thought I'd ask ahead of time (I had this topic over on the other forums, but thought it'd be nice to bring over here, but making sure first...).
And one more question now that I think about it (geez, I feel like I'm derailing my own topic asking questions not related to it x_x;; ), is it ok for posting a topic for tutorials on various mechanics and such? I'm assuming that's ok but thought I'd ask ahead of time (I had this topic over on the other forums, but thought it'd be nice to bring over here, but making sure first...).
author=Xenomic
is it ok for posting a topic for tutorials on various mechanics and such?
I'm not sure if it would be considered against the rules, but it's not the right way to use this site. The reason is that there are sections specifically for that stuff.
Tutorials are filed under Articles. If you want to submit tutorials then use the Submissions options in the floating toolbar at the top of the page. Might be a good idea to browse through to see if there isn't already a tutorial on that. If there is, at least make it different enough to give it purpose. I think just like any other submission it has to be accepted by a staff member anyways.
Pages:
1















