Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

5 Pages V  < 1 2 3 4 > »   
Closed TopicStart new topic
> Jens009's Enemy HP Window, Show enemy's HP during battle
Warder
post Aug 8 2008, 06:09 AM
Post #21


Level 31
Group Icon

Group: Revolutionary
Posts: 750
Type: None
RM Skill: Undisclosed




Cool script. I was wondering ..... is there any way you could add status icons to this? I think that would be a useful feature.
Go to the top of the page
 
+Quote Post
   
jens009
post Aug 8 2008, 10:26 AM
Post #22


L Did you know? Death gods... only eat apples
Group Icon

Group: +Gold Member
Posts: 2,976
Type: Scripter
RM Skill: Skilled




QUOTE (Fade @ Aug 8 2008, 06:31 AM) *
Cool script. I was wondering ..... is there any way you could add status icons to this? I think that would be a useful feature.

Ah. Show the status icons of the enemies? It's possible. I'll take a look into it when I find the time.


__________________________

My RMXP Project:


Farewell RRR. =]
Go to the top of the page
 
+Quote Post
   
jens009
post Aug 8 2008, 06:13 PM
Post #23


L Did you know? Death gods... only eat apples
Group Icon

Group: +Gold Member
Posts: 2,976
Type: Scripter
RM Skill: Skilled




Update!
Version 1.2 is posted

Here's a little screenie:


If you think it's too clumped no worries. I just maxed it out to see how it would look like. You can disable showing the enemy's states through the config.

New Features:
- Show enemy States
- Change X and Y spacing
- Change amount of Columns
- Option of having No Lag


__________________________

My RMXP Project:


Farewell RRR. =]
Go to the top of the page
 
+Quote Post
   
lahandi
post Aug 19 2008, 10:03 AM
Post #24


Level 8
Group Icon

Group: Revolutionary
Posts: 111
Type: Artist
RM Skill: Skilled





Jens, in your v1.1 script. Do the script able to handle the 'appear half way' (hiding) enemies? I mean if the enemeis still hiding, his HP bar were hidden too; and when the enemy showed up, his HP bar also showed up.



__________________________
Go to the top of the page
 
+Quote Post
   
CaptainWinky
post Aug 20 2008, 05:17 AM
Post #25


Level 5
Group Icon

Group: Member
Posts: 65
Type: None
RM Skill: Masterful




Good Script.

Suggestion; Add customization for text size. Being able to have slightly smaller text will improve the overall look of the HUD.
Go to the top of the page
 
+Quote Post
   
meganew2
post Aug 20 2008, 05:32 AM
Post #26


Spriter/Userbar maker/Recolorer
Group Icon

Group: Revolutionary
Posts: 273
Type: Artist
RM Skill: Advanced




Looks good.....
This script can be very useful for me


__________________________

In Development
Go to the top of the page
 
+Quote Post
   
jens009
post Aug 20 2008, 10:21 PM
Post #27


L Did you know? Death gods... only eat apples
Group Icon

Group: +Gold Member
Posts: 2,976
Type: Scripter
RM Skill: Skilled




QUOTE (lahandi @ Aug 19 2008, 10:25 AM) *
Jens, in your v1.1 script. Do the script able to handle the 'appear half way' (hiding) enemies? I mean if the enemeis still hiding, his HP bar were hidden too; and when the enemy showed up, his HP bar also showed up.

Ah! There we go. I knew I missed something
I have yet to make slight modifications for this. In the next version, sure. =]

QUOTE (CaptainWinky @ Aug 20 2008, 05:39 AM) *
Good Script.
Suggestion; Add customization for text size. Being able to have slightly smaller text will improve the overall look of the HUD.

Very well, this is not at all difficult.

QUOTE (meganew2 @ Aug 20 2008, 05:54 AM) *
Looks good.....
This script can be very useful for me

Great. Glad you like it.


__________________________

My RMXP Project:


Farewell RRR. =]
Go to the top of the page
 
+Quote Post
   
bro
post Aug 27 2008, 12:19 PM
Post #28


Level 3
Group Icon

Group: Member
Posts: 32
Type: None
RM Skill: Undisclosed




Is possible to turn off number of enemy hp?
Go to the top of the page
 
+Quote Post
   
jens009
post Aug 27 2008, 07:06 PM
Post #29


L Did you know? Death gods... only eat apples
Group Icon

Group: +Gold Member
Posts: 2,976
Type: Scripter
RM Skill: Skilled




QUOTE
is possible to turn off number of enemy hp?

Yes. I'll be working on that on the next version as well as the appear-half feature.


__________________________

My RMXP Project:


Farewell RRR. =]
Go to the top of the page
 
+Quote Post
   
sogekishu
post Aug 28 2008, 04:43 AM
Post #30



Group Icon

Group: Member
Posts: 3
Type: None
RM Skill: Undisclosed




Hey, i just wondered if you could give me a little hand making the Enemy Info a little smaller. It seems a bit bulky, i have tried to change a few things about testing, but end up making it look really crappy =\.

Any help would be appreciated =).

By the way lovely script and deffinately gonna be a part of my Project and your name will appear in the Credits =).
Go to the top of the page
 
+Quote Post
   
Twilight27
post Aug 28 2008, 07:23 AM
Post #31


Level 19
Group Icon

Group: Revolutionary
Posts: 371
Type: Event Designer
RM Skill: Beginner




Jens, have you ever played Zelda: Wind Waker? Do you know that Link can obtain a mask, that when worn, reveals the life bar of his enemies?

I would like to do something like that with your script. Is it possible to do this with a switch or two to reveal the enemies' life bar (BUT just the bar, not the number; like 25 HP)


__________________________

Fall to the power of the Emo!
We have cookies!


Notice!! Check out my topic (http://www.rpgrevolution.com/forums/index.php?showtopic=45736&st=0#entry454175) if you're interested in helping me make a script that limits the number of characters & items you use in battle AND also an item durability feature! Thanks for any help in advance!
Go to the top of the page
 
+Quote Post
   
jens009
post Aug 28 2008, 06:07 PM
Post #32


L Did you know? Death gods... only eat apples
Group Icon

Group: +Gold Member
Posts: 2,976
Type: Scripter
RM Skill: Skilled




QUOTE (sogekishu @ Aug 28 2008, 05:05 AM) *
Hey, i just wondered if you could give me a little hand making the Enemy Info a little smaller. It seems a bit bulky, i have tried to change a few things about testing, but end up making it look really crappy =\.
Any help would be appreciated =).
By the way lovely script and deffinately gonna be a part of my Project and your name will appear in the Credits =).


Ah sure. All of the enemy information is under the class Window_EnemyHP
In version 1.2 I did gave you the option under JCONFIG to customize the enemy HP window:
CODE
  SPACING_X = 90          # X spacing per enemy info
  SPACING_Y = 44          # Y spacing per enemy info
  COLUMNS = 4             # By default, Do 4 Columns.
  SHOW_STATES = true      # true will show enemies states
                          # false will not show states

To make it less bulkier, you can set Show States to false, change the number of columns to a lower number and mess around with the X and Y spacing.
I hope this helps.

IF you still want to modify the enemy hp window further, you have to go under the class and edit it manually, but I think the given config can solve your problem.

QUOTE (Twilight27 @ Aug 28 2008, 07:45 AM) *
Jens, have you ever played Zelda: Wind Waker? Do you know that Link can obtain a mask, that when worn, reveals the life bar of his enemies?
I would like to do something like that with your script. Is it possible to do this with a switch or two to reveal the enemies' life bar (BUT just the bar, not the number; like 25 HP)

This was already implemented in the script.

lookie:
CODE
module JCONFIG
  USE_GSWITCH = false       # Setting it to false will use the script
                            #   switch $game_system.enemy_hp instead.
                            # Setting it to true will use an in-game switch
                            #   using the switch ID below.
  ENEMY_WINDOW_SWITCH = 1 # Switch ID that will be used to check
                          # Enemy Window is only ON, when Switch is ON

By default, you can use Game Switch ID 1 to check if the enemy window is on or not. So essentially, you just have to activate the game switch at the right time.

As for hiding the number, you might want to find the line
CODE
def draw_enemy_hp

and delete the text methods over there.


__________________________

My RMXP Project:


Farewell RRR. =]
Go to the top of the page
 
+Quote Post
   
Twilight27
post Aug 28 2008, 07:45 PM
Post #33


Level 19
Group Icon

Group: Revolutionary
Posts: 371
Type: Event Designer
RM Skill: Beginner




Thanks very much jen. I love this script now! lol

What about...making the life bar appear only for normal enemies and not bosses (when you have the mask).
This isn't really necessary. I'll just like to see your response to this.


__________________________

Fall to the power of the Emo!
We have cookies!


Notice!! Check out my topic (http://www.rpgrevolution.com/forums/index.php?showtopic=45736&st=0#entry454175) if you're interested in helping me make a script that limits the number of characters & items you use in battle AND also an item durability feature! Thanks for any help in advance!
Go to the top of the page
 
+Quote Post
   
jens009
post Aug 28 2008, 08:32 PM
Post #34


L Did you know? Death gods... only eat apples
Group Icon

Group: +Gold Member
Posts: 2,976
Type: Scripter
RM Skill: Skilled




QUOTE (Twilight27 @ Aug 28 2008, 08:07 PM) *
Thanks very much jen. I love this script now! lol

What about...making the life bar appear only for normal enemies and not bosses (when you have the mask).
This isn't really necessary. I'll just like to see your response to this.

Ah, well it's the same concept really by using the switches.

But there's also another way by modifying the script itself. But I really think is unnecessary.


__________________________

My RMXP Project:


Farewell RRR. =]
Go to the top of the page
 
+Quote Post
   
Twilight27
post Aug 29 2008, 06:33 AM
Post #35


Level 19
Group Icon

Group: Revolutionary
Posts: 371
Type: Event Designer
RM Skill: Beginner




QUOTE (jens009 @ Aug 28 2008, 11:54 PM) *
QUOTE (Twilight27 @ Aug 28 2008, 08:07 PM) *
Thanks very much jen. I love this script now! lol

What about...making the life bar appear only for normal enemies and not bosses (when you have the mask).
This isn't really necessary. I'll just like to see your response to this.

Ah, well it's the same concept really by using the switches.

But there's also another way by modifying the script itself. But I really think is unnecessary.


I thought you might say that. I just foresaw that If the player DID NOT have the item to reveal the life, the switch would naturally be off, but either way, before the (boss) battle I would take the switch off and then after it, I would put it back on. (The switch would actually be put on without even having the item)

However, that isn't a problem. I believe conditional branches should solve this.
Thanks again!


__________________________

Fall to the power of the Emo!
We have cookies!


Notice!! Check out my topic (http://www.rpgrevolution.com/forums/index.php?showtopic=45736&st=0#entry454175) if you're interested in helping me make a script that limits the number of characters & items you use in battle AND also an item durability feature! Thanks for any help in advance!
Go to the top of the page
 
+Quote Post
   
bro
post Aug 31 2008, 01:58 PM
Post #36


Level 3
Group Icon

Group: Member
Posts: 32
Type: None
RM Skill: Undisclosed




Is possible to chnge position of Enemy HP Window?
And
Change font size and type for enemy's name aboce hp bars?

This post has been edited by bro: Aug 31 2008, 01:59 PM
Go to the top of the page
 
+Quote Post
   
acela
post Oct 3 2008, 08:12 PM
Post #37



Group Icon

Group: Member
Posts: 2
Type: None
RM Skill: Undisclosed




Yay finally got the cap I wanted methinks.

Ok to show what I want (IE just an enemy name showing --- it doesn't matter if it doesn't disappear before and after targeting the foe)

General positioning of the party names.

(Yes it's Golden Sun 2 and SHtA. Shh smile.gif )

There general idea across. I hope smile.gif (ie just showing Enemy name rather than hp, and positioning it to where it flushes with each enemy...

the idea is to compensate by moving the name over from the center the more foes are on screen http://www.youtube.com/watch?v=gK3QlHXkovcso it will be flush with the battlers erm... that video though he speeds through should

show you what I mean for when it'd be in battle with numerous battlers :3

Many thanks man biggrin.gif
(yeah just name showing up and it can stay there permanently smile.gif ) No HP or Status shown.

Now off to explain what I mean for battle status biggrin.gif

Attached File(s)
 
Go to the top of the page
 
+Quote Post
   
Skyhunter
post Oct 15 2008, 03:42 AM
Post #38


Level 2
Group Icon

Group: Member
Posts: 21
Type: Event Designer
RM Skill: Masterful




Umm, when an enemy is hidden it still shows his name and HP.


__________________________
It's time to kick ass and chew bubblegum.
Go to the top of the page
 
+Quote Post
   
jens009
post Oct 16 2008, 05:21 PM
Post #39


L Did you know? Death gods... only eat apples
Group Icon

Group: +Gold Member
Posts: 2,976
Type: Scripter
RM Skill: Skilled




QUOTE (Skyhunter @ Oct 15 2008, 04:42 AM) *
Umm, when an enemy is hidden it still shows his name and HP.

This is one bug I have yet to fix. Expect a new version up on soon


__________________________

My RMXP Project:


Farewell RRR. =]
Go to the top of the page
 
+Quote Post
   
tobster12
post Oct 20 2008, 08:17 AM
Post #40


Level 10
Group Icon

Group: Revolutionary
Posts: 162
Type: Developer
RM Skill: Advanced




awesome! about time someone made one of these scripts! =D


__________________________
Better To Reign In Hell
Than To Serve In Heaven.
Go to the top of the page
 
+Quote Post
   

5 Pages V  < 1 2 3 4 > » 
Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 17th May 2013 - 09:08 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker