• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Eevee Expo's webhost has been having technical issues since Nov. 20th and you might be unable to connect to our site. Staff are also facing issues connecting, so please send a DM to Cat on-site or through Discord directly for faster service!
[v13+] Simple HUD

Resource [v13+] Simple HUD 3.0.1

-FL-

Pokémon Island Creator
Member
Joined
Aug 28, 2022
Posts
322
-FL- submitted a new resource:

Simple HUD - Displays a HUD with the party icons (with tones for status), HP bars and some small text.

gif.gif
screen.png

Displays a HUD with the party icons (with tones for status), HP bars and some small text.

Tested on Essentials v13 and v20.1. If this script isn't working on latest Essentials version, please inform on this thread.

Read more about this resource...
 

NoNoNever

Dev from Pokémon Illusion, Pokémon Arcadia
Member
Joined
Dec 11, 2018
Posts
108
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.3]

Exception: NoMethodError
Message: undefined method `party' for nil:NilClass

Backtrace:
Simple HUD:215:in `block in refreshAllPokemon'
Simple HUD:213:in `each'
Simple HUD:213:in `refreshAllPokemon'
Simple HUD:208:in `refresh'
Simple HUD:146:in `create'
Simple HUD:318:in `update'
Simple HUD:303:in `tryUpdate'
Simple HUD:381:in `update'
Spriteset_Map:66:in `initialize'
Sprite_AnimationSprite:52:in `initialize'
 

-FL-

Pokémon Island Creator
Member
Joined
Aug 28, 2022
Posts
322
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.3]

Exception: NoMethodError
Message: undefined method `party' for nil:NilClass

Backtrace:
Simple HUD:215:in `block in refreshAllPokemon'
Simple HUD:213:in `each'
Simple HUD:213:in `refreshAllPokemon'
Simple HUD:208:in `refresh'
Simple HUD:146:in `create'
Simple HUD:318:in `update'
Simple HUD:303:in `tryUpdate'
Simple HUD:381:in `update'
Spriteset_Map:66:in `initialize'
Sprite_AnimationSprite:52:in `initialize'
Fixed!
 

EntoniFresco

Rookie
Member
Joined
Oct 22, 2023
Posts
2
Hello I'm a Newbie,

how do i get this to work? I've put the Script in the plugins folder and flipped the switch to 1, compiled it, but i cant get it to render.

Thanks in Advance!
 

-FL-

Pokémon Island Creator
Member
Joined
Aug 28, 2022
Posts
322
Hello I'm a Newbie,

how do i get this to work? I've put the Script in the plugins folder and flipped the switch to 1, compiled it, but i cant get it to render.

Thanks in Advance!
You probably incorrectly converted it into a plugin. Instead, paste it above main (in scripts view). Here is the method to create a plugin, if you are interested.
 
Last edited:

-FL-

Pokémon Island Creator
Member
Joined
Aug 28, 2022
Posts
322
An user asked me how to change background color based in a variable. To do this. Change line BACKGROUND_COLOR = Color.new(128,128,192) to
Ruby:
Expand Collapse Copy
def backgroundColor
  return case pbGet(42)
    when 1; Color.new(192,128,128)
    when 2; Color.new(128,192,182)
    else;   Color.new(128,128,192)
  end
  return Color.new(128,128,192)
end

Change the other BACKGROUND_COLOR to backgroundColor

So, when variable 42 is 1, the color is red. When it is 2, the color is green. Else, the color is blue.

You can do a similar thing wih the text color (remember that it is an array, [Color.new,Color.new] rather than Color.net) and bg path.
 
Back
Top