Nicke 150 Posted January 3, 2012 (edited) Simple Gold Hud Version: 1.0b IntroductionA simple script that allows you to display a gold hud on the map.Features Easy to use and install. Simple to change location of the window. Choose an icon that will be displayed next the gold value. The ability to have a switch turn it on/off. A few more simple tweaks that you can play around with. A counting effect when updating the gold amount. The ability to enable/disable the counting effect with a switch. Can be neat if you want to disable it when giving the player a huge reward in money. ScreenshotsHow to UseTo install this script, open up your script editor and copy/paste this script to an open slot below Materials but above Main. Remember to save.Script Get the script here and the Core Script. UpdatesVersion 1.b: Added the ability to enable/disable the counting effect with a simple switch ingame. Cleaned up some code and commented a few things to make it more clear.CreditDo credit me, Nicke, if you are planning on using this script. Thanks.Can be use in a commercial project. Edited January 27, 2013 by Nicke 1 KayDgirl91 reacted to this Share this post Link to post Share on other sites
Rosenblack 79 Posted January 3, 2012 This would be so useful to me, Im sick of going into the menu to check the gold. now I can while in map. Good job Niclas Share this post Link to post Share on other sites
RaiMaker 4 Posted January 3, 2012 Just join this Gold Window to a HUD and you got a perfect combination! Excelent script, already in my RPG. Share this post Link to post Share on other sites
Faalhaas 10 Posted January 11, 2012 I remember you pointing me out to this script for some random project i made. you converted your scripts to RGSS3 pretty fast, nice job niclas! Share this post Link to post Share on other sites
ma5amune 6 Posted January 11, 2012 dont work for me! is this just plug n play script? I just modifet the gold icon! mb some incompatibility with another scripts I use! Share this post Link to post Share on other sites
Faalhaas 10 Posted January 11, 2012 probably change the X and Y settings ma5amune. that's where i ran into last time. Share this post Link to post Share on other sites
Nicke 150 Posted January 11, 2012 Thanks for the feedback everyone. @ma5amune: Set the x and y position to the ones you want and change the switch_id as well. Then simply set that to ON when you start the game and you should be good to go. Share this post Link to post Share on other sites
Angius 0 Posted March 30, 2012 Great script, indeed. But try to add about 500 gold to your actor, it will be a loooong time Share this post Link to post Share on other sites
Nicke 150 Posted March 31, 2012 @Angius: It depends on what time you set on the counter and yeah, it will take a long time if you decided to give the player 10.000 gold in a quest reward for example. Share this post Link to post Share on other sites
Angius 0 Posted March 31, 2012 Even on time=0 it takes pretty long Is there any possibility to make something like limits? You know, you set the config option to 500 in example, and every higher amount of gold will be added instantly? Without counting animation, just SE and that's all? Share this post Link to post Share on other sites
Nicke 150 Posted March 31, 2012 @Anigus: Yep, I can probably add a feature so that you can enable/disable the counting effect instead. Then you can choose yourself when you want to enable/disable the effect. Share this post Link to post Share on other sites
Jan Henrik Daniel P. Francisco 0 Posted April 1, 2012 @Anigus: Yep, I can probably add a feature so that you can enable/disable the counting effect instead. Then you can choose yourself when you want to enable/disable the effect. I'll be waiting for that too. Share this post Link to post Share on other sites
Nicke 150 Posted April 1, 2012 @Angius & @O-M-E-G-A: Version 1.0b is up! You should now be able to to enable/disable the counting effect as you please ingame using only a simple switch. Share this post Link to post Share on other sites
Wyrelade 15 Posted April 2, 2012 Thanks for this fantastic, but yet simple script. I were too lazy to code one, and I luckly :-Dfound this one from here. thanks once more! <3 Share this post Link to post Share on other sites
ladygagod 1 Posted March 20, 2013 I seem to get a problem about: Script gold line 154: NameError occured undefined local variable or method 'dispose_var_hud' for #<Scene_Map:0x636a85c Please help! Share this post Link to post Share on other sites
Nicke 150 Posted March 20, 2013 Should work now. Grab it again. Share this post Link to post Share on other sites
ladygagod 1 Posted March 22, 2013 Oh my gosh it did work!!!! Thank you so much!!! What name shall I use to write you as one of the credits for my game!!??? Share this post Link to post Share on other sites
meili13onnie 0 Posted April 6, 2013 I'm newbie here, how to switch it on? Where is the switch? Share this post Link to post Share on other sites
Darkanine 116 Posted April 6, 2013 I'm newbie here, how to switch it on? Where is the switch? On line 30-31 there should be this code # GOLD = [icon, switch_id, show_icon, show_vocab, count_switch] GOLD = [361, 1, true, false, 1] the 1 next to 361 is the switch ID Share this post Link to post Share on other sites
PiFace 0 Posted July 6, 2013 I'm having a problem: when I turn on the HUD switch, it won't show up untill I open and close the menu. Can anyone help me? great script btw, saved me a lot of work. (sorry for my poor english, I speak Portuguese) Share this post Link to post Share on other sites
Draaloff 13 Posted August 6, 2013 I'm newbie here, how to switch it on? Where is the switch? On line 30-31 there should be this code # GOLD = [icon, switch_id, show_icon, show_vocab, count_switch] GOLD = [361, 1, true, false, 1] the 1 next to 361 is the switch ID I don't know how to turn it on, even with this information. Share this post Link to post Share on other sites
nyxzryu 1 Posted August 11, 2013 yeah me too. i've put the script and not touch anything on it and no one's changing. i noticed the switch id is 1, but i don't know what button is that. Share this post Link to post Share on other sites
KayDgirl91 99 Posted August 18, 2013 I am having the same problem as PiFace, I have the switch ID set correctly. I turn on the switch, but the HUD won't update until I open the switch/variable menu (F9). Does anyone know why that is? Share this post Link to post Share on other sites
Mael 2 Posted August 24, 2013 Hello, I wondered if there was a line to not have it before I decide to turn the switch on. (Because when I start a game and deactivate the switch it's still visible until the switch takes effect) Share this post Link to post Share on other sites
KayDgirl91 99 Posted August 24, 2013 It shouldn't display the window until the switch is turned on. So if you are starting a new game it shouldn't show up (unless you have an event that is activating the switch by accident.) Have you made sure that the window is being triggered by the desired switch? Is it set to the default number 1 switch? Share this post Link to post Share on other sites