[XP] Custom Blizz-ABS HUD

Started by winkio, November 23, 2008, 02:38:38 pm

Previous topic - Next topic

Stray

Not compatible with "Growing Stats" and "Journal" Script.
Spoiler: ShowHide

I'm very grateful to you all for your great help.

Blizzard

After a quick run through the code, I can see that it's based on the HUD subsystem that I provided in Blizz-ABS. So sadly no, this won't work out of the box without Blizz-ABS. Editing the script to work without Blizz-ABS isn't a simple or quick job either.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Xsyiaris

Sorry for asking but the script

$game_system.parhud = false


Is not working, i added it as an even made it a process and its not working.

Help?

athreus

Quote from: megaman30796 on December 27, 2010, 09:35:24 am
winkio, i have a problem.......the script crashes when i try 2 turn on the minimap.
it says:

script 'custom hud' line 1076: NoMethodError occured
undefined method 'dropped' for #<Game_Event:0x40d88a0>


I have the same problem. how i can resolve it? I use Blizz-Abs Version 2.84.
Ty!

andyrew004

Quote from: Xsyiaris on February 02, 2012, 02:21:46 pm
Sorry for asking but the script

$game_system.parhud = false


Is not working, i added it as an even made it a process and its not working.

Help?


I know that it is usually not correct forum etiquette to resurrect and old topic, but I am using this script and am having a similar error.

I only have Blizz ABS, this addon (below Blizz ABS), and Advanced Message System 4 (above Blizz ABS) and during the intro of the game, I attempt to hide the hud by calling the script:
$game_system.parhud = false


It is an autorun event and with that code, nothing happens and the events don't start to take place.

Using this worked to get rid of the hud:
$game_system.hud= false
$game_system.hotkeys= false
$game_system.minimap= 0


But I was unable to bring the hud back with:
$game_system.hud= true
$game_system.hotkeys= true
$game_system.minimap= 1


or

$game_system.parhud = true


Any idea on how I could fix this issue? Thank you.

Blizzard

RMXP has a bug in script calls if there is only one line. Either break them up into 2 lines like this:

$game_system.parhud =
true


Or get the Interpreter fix: http://forum.chaos-project.com/index.php/topic,938.0.html
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

andyrew004

Quote from: Blizzard on February 02, 2013, 01:53:44 pm
RMXP has a bug in script calls if there is only one line. Either break them up into 2 lines like this:

$game_system.parhud =
true


Or get the Interpreter fix: http://forum.chaos-project.com/index.php/topic,938.0.html


Wow, thank you! I assume that this code goes above the Blizz ABS Part 1 script?

Blizzard

You can add that script wherever you want, only make sure it's below the default scripts and above Main.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

andyrew004

Quote from: athreus on July 29, 2012, 09:36:50 am
Quote from: megaman30796 on December 27, 2010, 09:35:24 am
winkio, i have a problem.......the script crashes when i try 2 turn on the minimap.
it says:

script 'custom hud' line 1076: NoMethodError occured
undefined method 'dropped' for #<Game_Event:0x40d88a0>


I have the same problem. how i can resolve it? I use Blizz-Abs Version 2.84.
Ty!


I also get an error when I try to toggle the Minimap.

My error says:

"Script 'Group HUD' Line 1076: NoMethodError occurred.
undefined method 'dropped' for #<Game_Event:0x88d7768>"

KK20

Typo I think. Locate this on line 1011
          if @names[i] != '' && !@events[i].dropped &&

And put a ? after dropped.
          if @names[i] != '' && !@events[i].dropped? &&


Do the exact same thing on line 1076
        elsif @events[i].dropped

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

andyrew004

Quote from: KK20 on February 02, 2013, 07:23:32 pm
Typo I think. Locate this on line 1011
          if @names[i] != '' && !@events[i].dropped &&

And put a ? after dropped.
          if @names[i] != '' && !@events[i].dropped? &&


Do the exact same thing on line 1076
        elsif @events[i].dropped



Yep, that solved it. Thank you very much!