DMV Zelda HUD

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,477
Reaction score
3,072
First Language
Binary
Primarily Uses
RMMZ

Zelda HUD


By Dekita





Introduction:


This plugin creates a simply health hud inspired by the well known Zelda RPG created by Nintendo.
The hud concept is simple: You have a number of hearts displayed on screen that represent how much of your hp you have remaining.


People who have played Zelda, may remember a time when they reached a point within the game and 'unlocked' a new heart. In order to replicate that, I have added some simple script calls that can be used to either get, or set, the numbers of hearts shown.


Additionally, the number of hearts shown is based on the current/max hp values of the main party leader. If they have full HP, the maximum number of hearts will be shown, and it will reduce as they lose hp.


Screenshots:





Plugin:


link


Required Image:


link


FAQ:


None yet.


Credits:


Dekita/DekitaRPG


Nintendo - for making zelda and giving the child version of me hours of endless fun ^_^


Avery - for the icon i used when making the hud.
 
Last edited by a moderator:

Ghost of Christmas Kloe

The Icecream Princess
Veteran
Joined
Nov 15, 2015
Messages
1,548
Reaction score
956
First Language
English
Primarily Uses
RMMZ
Lol, The hero of time sends me to a page which:


<html><body>You are being <a href="https://raw.githubusercontent.com/Dekita/DMV/master/DMV_ZeldaHUD.js">redirected</a>.</body></html>


But instead it just wants me to save this file to the pc, not redirects. I only got this text after downloading the text file and opening it, and instead of a plugin, it was this
 

Ekanselttar

It's Finally Happening
Veteran
Joined
Nov 18, 2015
Messages
67
Reaction score
16
First Language
Norwegian
Primarily Uses
Kind of a simple question,but,is it possible to use another image? If the answer is yes,which part of the code should I edit to display the custom image instead of the hearts?


Nice plugin by the way.Keep up the good work.
 

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,477
Reaction score
3,072
First Language
Binary
Primarily Uses
RMMZ
@Hudell That is some funny shyt.

It seems that Link was temporarily thwarted by the evil that is MySQL. He has since used his powers of observation to find the weak point within the MySQL's structure, and has managed to regain control of the situation. Y'all should be able to download now without any issue. ^_^


@Ekanselttar The image file that you download, and put into the img/system folder. You would change this to any image of your desire.
 
Last edited by a moderator:

Tiduril

Villager
Member
Joined
May 4, 2016
Messages
9
Reaction score
2
First Language
German, Dutch
Primarily Uses
first of all: Nice, really appreciate the idea of this plugin!


But: what is the script call to turn this hud on?


i got the image in the system folder and the plug in is activated, but no hud displays :unsure:


and the help description is sadly not very helpful to me.. i could need help to decipher ;_;
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,226
Reaction score
8,470
First Language
English
Primarily Uses
RMMV
It's in the beginning of the plugin:


* $gamePlayer.setHeartsShown( number )
 * ^ This script call sets the maximum number of hearts shown to the
 * number value that you pass in as the main argument.
 *
 * $gamePlayer.setHeartsShown()
 * ^ This script call gets the current maximum number of hearts shown.
 

Tiduril

Villager
Member
Joined
May 4, 2016
Messages
9
Reaction score
2
First Language
German, Dutch
Primarily Uses
It's in the beginning of the plugin:


* $gamePlayer.setHeartsShown( number )
 * ^ This script call sets the maximum number of hearts shown to the
 * number value that you pass in as the main argument.
 *
 * $gamePlayer.setHeartsShown()
 * ^ This script call gets the current maximum number of hearts shown.
i used " $gamePlayer.setHeartsShown() " and   "$gamePlayer.setHeartsShown(3)" as a script and as a plug in command, the plug in command doesnt work, and if i use it as a script i get following error: "Type error: undefined is not a function" :/


EDIT:


I should have press F8 earlier.. I had to install the MVCommons and the DMVCore plugin :) Works perfect!
 
Last edited by a moderator:

YunoYukiAkise

Villager
Member
Joined
Dec 28, 2015
Messages
6
Reaction score
0
First Language
English
Please help I have installed MVCommons and DMVCore and have the plugin installed however upon making a script call saying  $gamePlayer.setHeartsShown(3) I get undefined is not a function.
 

Yoshifull

Veteran
Veteran
Joined
Oct 31, 2015
Messages
49
Reaction score
4
First Language
French
Primarily Uses
Hm, the links are broken.
 

Yulia

Veteran
Veteran
Joined
Dec 25, 2017
Messages
69
Reaction score
164
First Language
Russian
Primarily Uses
RMMV
I can't find an original image... What parameters image should have??
 

Juztsacki

Game Developer
Veteran
Joined
Nov 19, 2015
Messages
55
Reaction score
9
First Language
English
Primarily Uses
N/A
Sorry wrong area. thought I was in messages.
 

Juztsacki

Game Developer
Veteran
Joined
Nov 19, 2015
Messages
55
Reaction score
9
First Language
English
Primarily Uses
N/A
The first line of that code was the actual error.
 

frokas

Villager
Member
Joined
Jun 8, 2020
Messages
10
Reaction score
0
First Language
Greek
Primarily Uses
N/A
Is there a way to enable and disable this so it doesn't constantly show though?
 

frokas

Villager
Member
Joined
Jun 8, 2020
Messages
10
Reaction score
0
First Language
Greek
Primarily Uses
N/A
Figured it out, in case anyone ever needs just install MV commons and do a script call


$gamePlayer.setHeartsShown(0) <=== will hide the hearts


$gamePlayer.setHeartsShown(3) <== Will show 3 hearts
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Where do i have to play Heisei Pistol Show the same creator that made Re: Kinder Parun
I really get the feeling I should be doing regular YouTube videos whenever I make something cool in my game, instead of waiting for massive changes. But not going to lie... I always feel like it's never quite enough to merit an update, until it's a drastic change. :kaoswt:
Going to submit to this game jam...struggling with the time crunch...
Have to keep compromising...
Just released a new OST for my game and a new place to purchase it!

Ah, things to do when you finish a game.
Ami
Me: It's dark cloudy! I hope it's Rain…
(2-3 Hours Later,Changed To Sunny)
Me: :kaolivid:

Forum statistics

Threads
104,540
Messages
1,007,018
Members
136,034
Latest member
WhatisGachi
Top