Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

KGC SP/HP + Largeparty error

Finally found KGC Website today! :lol: And so I started to play around with some of his giagantic lists of scripts. I wanted to see if I could use japaneese scripts before pasting them on to my project(which is nearly Completed). The two scripts that I found were the Large Party battle script and HP/SP bar script. Unfortunetly when I put them together I got this error:
http://i246.photobucket.com/albums/gg88 ... /KGC-1.jpg[/img]
It just doesn't go with the other script...I don't know how to script :dead: but I know for certain that it has something to with the number of party members in the battle, because it works just fine in the menu. Again, I'm not sure...

I posted up a small demo for a better understanding of my situation.
DEMO : RapidShare Shouldn't take more than a minute to download... It's a very small file...
http://rapidshare.com/files/99333357/KGC.exe
If you need a demo on another sharing site please let me know, I'll get it uploaded right away... :smile:
~Thanks for your time.
 

khmp

Sponsor

When you get that error close the test play and open your script editor(F11). It will take you to the line that gave you trouble. On that line change KGC::LargeParty::MAX_MEMBER to KGC::LargeParty::MAX_BATTLE_MEMBER. And on that same line you have a subtraction of zero... Don't do that.

So in surmise change this line(Line: 553 KGC Gauges):
Code:
      gw -= (KGC::LargeParty::MAX_MEMBER - 0) * 32
to this:
Code:
      gw -= KGC::LargeParty::MAX_BATTLE_MEMBER * 32

Good luck with it Mustardy85! :thumb:
 
khmp":1wlig2py said:
When you get that error close the test play and open your script editor(F11). It will take you to the line that gave you trouble. On that line change KGC::LargeParty::MAX_MEMBER to KGC::LargeParty::MAX_BATTLE_MEMBER. And on that same line you have a subtraction of zero... Don't do that.

So in surmise change this line(Line: 553 KGC Gauges):
Code:
      gw -= (KGC::LargeParty::MAX_MEMBER - 0) * 32
to this:
Code:
      gw -= KGC::LargeParty::MAX_BATTLE_MEMBER * 32

Good luck with it Mustardy85! :thumb:

Great! It works just fine. Thank-you soo much! :smile:
~Now for the next problem...
http://i246.photobucket.com/albums/gg88 ... /KGC-2.jpg[/img]
I want to have atleast 6 party members up for Battle, But there are only 4 bars to support only four of them...
I don't know how KGC managed to pull it off but he did... Here is his screenshot...
http://f44.aaa.livedoor.jp/~ytomy/tkool ... auge01.jpg[/img]
Here is his website page...http://f44.aaa.livedoor.jp/~ytomy/tkool ... hpsp_alter
~Thanks for your time...
 

khmp

Sponsor

In my opinion six reduces the readability of it but go to the top of KGC Gauges script.

See this line:
Code:
  HPSP_DRAW_NAME_LUMP = true
Change it to this:
Code:
  HPSP_DRAW_NAME_LUMP = false

Good luck with it Mustardy85! :thumb:
 
khmp":3toaszu5 said:
In my opinion six reduces the readability of it but go to the top of KGC Gauges script.

See this line:
Code:
  HPSP_DRAW_NAME_LUMP = true
Chage it to this:
Code:
  HPSP_DRAW_NAME_LUMP = false

Good luck with it Mustardy85! :thumb:

Thanks you sooo much! It works perfectly!

EDIT: Just noticed one more problem, HOPEFULLY This is the last one... the bars don't refresh automatically after an ally is hit... (E.G. Aluxes was hit with a '300' damage attack, but his bar still stayed the same [100% value] it should have decreesed by atleast to something like [50%] no? :shock:? Does this mean the refresh feature isn't working?

I started to play around with the bars today, and got to the point where I totally changed thier dimensions... and the refreshing inside battle still didn't work :down:. I know for sure now that it has something to do with the script. :dead: Any thoughts from your side khmp? or anybody else reading this?

~Thanks for your time!
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top