RPG Maker VX Ace

RPG Maker VX Ace

Ei tarpeeksi arvosteluja
Shared HP Battle System - v 0.1
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
UGC Type: Edit And Play
Tiedostokoko
Julkaistu
Päivitetty
514.862 KB
8.3.2015 klo 18.00
20.5.2015 klo 7.31
7 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Shared HP Battle System - v 0.1

Kuvaus
Hello everyone, this is my first script that I'm working on, still learning the ropes but I think I have somewhat of a grasp with Ruby. Feel free to laugh at my terrible code and give me pointers on how to improve upon it.

This system is functionally identical to the default battle system, but the difference is, everyone's HP is pooled together and when any member heals or takes damage, only the pool is affected.
Another thing to note is that this system adds to the default menu screen to show the party's current total HP.

This is still a work-in-progress so please don't mind the messiness. I actually would love input on how to improve upon updating the GUI to reflect this system.

Functionally, there shouldn't be any bugs, but please let me know if you run into any.

Dropbox Mirror[dl.dropboxusercontent.com]

Links to the three classes for this system (paste them in order above main):
Shared_HP[pastebin.com]
Shared_HP_ValueDisplay[pastebin.com]
Shared_HP_MenuWindow[pastebin.com]

YEA Battle Engine compatibility
Check it out, it's a great system.[yanflychannel.wordpress.com]
Please read the instructions in the compatibility script.
Shared_HP add on for the engine[pastebin.com]

Neo Gauge Ultimate Ace compatibility
These gauges are shiny, check it out![pacmanvx.wordpress.com]
Please read the instructions in the script.
Shared_HP compatibility for Neo Gauge Ultimate Ace[pastebin.com]

Yanfly's Command Party compatibility (new!)
Check it out, it's pretty nice.[yanflychannel.wordpress.com]
Instructions are in script.
Yanfly's Command Party compatibility[pastebin.com]
16 kommenttia
Isometric Exercise 20.5.2015 klo 21.27 
That seems to have solved the problem nicely. Thanks! :)
Kiri  [tekijä] 20.5.2015 klo 7.30 
Oh, I just realized what I did wrong there.
Change
$game_party.partyhp(
to
$game_party.pthealth(

I'm not sure how I missed that this whole time!
Isometric Exercise 20.5.2015 klo 1.58 
Hm, in the current demo, I'm getting the same Shared_HP error as before, except now it occurs on line 160. The only alteration I made from the demo was giving one party member a healing spell strong enough to always heal above the party's max HP for testing purposes.
Kiri  [tekijä] 19.5.2015 klo 17.16 
About to update my pastebin, will also post a compatibility script for Yanfly's Command Party Script.

Sorry it took so long, life happened.
Kiri  [tekijä] 19.5.2015 klo 15.43 
I can't seem to reproduce the first bug with Shared_HP.

As for the second thing you posted, I'm working on it. So far, it's updating when the turn starts, so I just gotta get it to update earlier than that.
Isometric Exercise 4.5.2015 klo 21.46 
Also, the shared HP total does not update if you change the party inside a battle. For example, I was using Yanfly's Command Party script and swapped one party member out for another with far higher HP. The shared HP total retained the same HP as before, as if the party member I swtiched out was still there.
Isometric Exercise 4.5.2015 klo 21.43 
I've discovered a new bug. If the player heals their party above the maximum shared HP total, it crashes with the following error:

Script "Shared_HP" line 145: ArgumentError occured.
wrong number of arguments (1 for 0)
Kiri  [tekijä] 29.4.2015 klo 7.48 
For those interested, you can now use this script with Neo Gauge Ultimate Ace. I just put up a compatibility patch for it.
Isometric Exercise 28.4.2015 klo 3.55 
This is excellent news! Only after playing around with it did I notice that Yanfly's stuff had issues with this script. Well done on solving it!
Kiri  [tekijä] 20.4.2015 klo 11.21 
This isn't really an update, but for those of you that use the Ace Battle Engine by Yanfly, I've managed to whip up something to make this system compatible with it. WIll be updating the description shortly on how to use it with that.