Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: UltimateGamer9 on August 23, 2015, 03:43:35 AM

Title: Questions about health bars
Post by: UltimateGamer9 on August 23, 2015, 03:43:35 AM
Does anyone know the boxing health bar? I don't mean the boss fight health bars. I mean the health bar when you go boxing. The one like Bif Taylor VS Jimmy(the health bar appears). Does anyone know how to do that?
Title: Re: Questions about health bars
Post by: Unknownsoldier on August 23, 2015, 04:19:23 AM
i have this:
(https://i.gyazo.com/29ddbd8ba21318a0853a2f9542ab43c2.png)

u have to do this:
HUDSetFightStyle()
PedShowHealthBar(ped, true, PedGetName(ped), true)


N_PedNames can be found in "\Objects\default.ide" as the last perimeter of the ped's information.

EDIT: only problem is idk how to add the trouble meter back. im gonna have to mess around with the hud components to try to make it visible.

EDIT2: ok so i looked around, and there MAY not be a way to make the trouble meter visible again. because from what i remember, you do not see the minimap at ALL during the boxing matches/fights.

(http://www.mobygames.com/images/shots/l/631092-bully-scholarship-edition-xbox-360-screenshot-fight-in-the.jpg)
see, there's no minimap.
Title: Re: Questions about health bars
Post by: UltimateGamer9 on August 23, 2015, 04:41:41 AM
i have this:
(https://i.gyazo.com/29ddbd8ba21318a0853a2f9542ab43c2.png)

u have to do this:
HUDSetFightStyle()
PedShowHealthBar(ped, true, PedGetName(ped), true)


N_PedNames can be found in "\Objects\default.ide" as the last perimeter of the ped's information.

EDIT: only problem is idk how to add the trouble meter back. im gonna have to mess around with the hud components to try to make it visible.

EDIT2: ok so i looked around, and there MAY not be a way to make the trouble meter visible again. because from what i remember, you do not see the minimap at ALL during the boxing matches/fights.

(http://www.mobygames.com/images/shots/l/631092-bully-scholarship-edition-xbox-360-screenshot-fight-in-the.jpg)
see, there's no minimap.
Thank you. It works. I used PedGetName before you even told me to use PedGetName
Title: Re: Questions about health bars
Post by: Unknownsoldier on August 23, 2015, 02:18:38 PM
nice lol. daboss told me i should have used it, so i edited.

but the healthbar thing, i found that from trial and error.
Title: Re: Questions about health bars
Post by: UltimateGamer9 on August 23, 2015, 11:26:54 PM
nice lol. daboss told me i should have used it, so i edited.

but the healthbar thing, i found that from trial and error.
What do you mean about trouble meter visible? I just tested it in freeroam multiplayer mod. I need ideas of features so I can make it perfect. Check my multiplayer topic in Bully Modding.
Title: Re: Questions about health bars
Post by: Unknownsoldier on August 23, 2015, 11:37:42 PM
not trouble meter. I mean jimmy's health bar. Not important, since it's on top now. So good luck.