HUD Issue - Oversized Jetpack Meter

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

HUD Issue - Oversized Jetpack Meter

Post by AnthonyBF2 »

In my PSP mods I munged a new HUD using using the PC version of 1playerhud.hud and the jetpack bar is oversized and blocks most of the screen. I did not change anything inside of the jetpack bar's code chunk in the hud file. I've also tried using the jetpack bar code chunk from the PS2 hud file, same thing.
Hidden/Spoiler:
Image
I am wondering if anyone can look at that bit of code and help me configure it so it looks normals. Thanks!

I put that code here so you don't have to go looking for it:
Hidden/Spoiler:
[code]Group("player1jetpackbar")
{
PropagateAlpha(1)
Viewport(1)
Position(-0.009249, 0.475520, 0.000000, "Viewport")
Rotation(359.988129, 359.970917, 270.005432)
Scale(0.146068, 0.146068, 0.146068)
FadeInTime(0.100001)
FadeHoldTime(2.009982)
FadeOutTime(1.000001)
EventEnable("player1.jetFuelFraction")
EventDisable("player1.jetDisable")
Model3D("player1jetpack_interiorfield")
{
Mesh("hud_jetpackbar_frame_front")
Viewport(1)
Position(-0.001175, 0.006385, 0.000000, "Viewport")
Alpha(0.750000)
Color(49, 66, 53)
EventEnable("initialize")
}

Model3D("player1jetpack_whiteoutsideborder")
{
Mesh("hud_jetpackbar_frame_back")
Viewport(1)
Position(0.000000, -0.000816, 0.000000, "Viewport")
Alpha(0.500000)
Color(205, 236, 234)
EventEnable("initialize")
}

BarBitmap("player1jetpack_fill")
{
EventValue("player1.jetFuelFraction")
Bitmap("hud_jetpack_and_energybar_blankfill")
BitmapRect(1.189230, 0.181946, "Left", "Top", "Viewport")
TexCoords(0.000000, 0.518232, 1.000000, 1.000000)
Viewport(1)
Position(-0.657080, 0.117393, 0.000000, "Viewport")
Scale(1.047654, 0.740389, 1.000000)
ZOrder(38)
Color(200, 200, 200)
EventEnable("player1.jetFuelFraction")
EventDisable("player1.jetDisable")
EventColor("player1.jetFuelColor")
}

BarBitmap("player1jetpack_threshold")
{
EventValue("player1.jetFuelThreshold")
Bitmap("hud_jetpack_and_energybar_blankfill")
BitmapRect(1.189230, 0.181946, "Left", "Top", "Viewport")
TexCoords(0.000000, 0.534073, 0.490000, 1.000000)
Viewport(1)
Position(-0.657080, 0.117393, 0.000000, "Viewport")
Scale(1.047654, 0.740389, 1.000000)
ZOrder(252)
Color(132, 0, 0)
ColorPulseRate(0.000000)
UseChangeColor(1)
EventEnable("player1.jetFuelThreshold")
EventDisable("player1.jetDisable")
EventPulseRate("player1.jetFuelWarning")
}

}[/code]
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: HUD Issue - Oversized Jetpack Meter

Post by Anakin »

looks like it's at the wrong position, too. First change the scale value of the whole group. Maybe you try 0,1. Try how it looks like and then go on, till is a good group size. Continue with the positions.
User avatar
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Re: HUD Issue - Oversized Jetpack Meter

Post by AnthonyBF2 »

I tried that a few times but didn't notice too much of a difference. I will keep trying again and report back.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: HUD Issue - Oversized Jetpack Meter

Post by Anakin »

if it does not work try lower numbers such as 0,001. Or you change the code to this:

Code: Select all

Model3D("player1jetpack_interiorfield")
    {
        Mesh("hud_jetpackbar_frame_front")
        Viewport(1)
        Position(-0.001175, 0.006385, 0.000000, "Viewport")
         Scale(0.500000, 0.500000, 0.500000)
        Alpha(0.750000)
        Color(49, 66, 53)
        EventEnable("initialize")
    }

    Model3D("player1jetpack_whiteoutsideborder")
    {
        Mesh("hud_jetpackbar_frame_back")
        Viewport(1)
        Position(0.000000, -0.000816, 0.000000, "Viewport")
         Scale(0.500000, 0.500000, 0.500000)
        Alpha(0.500000)
        Color(205, 236, 234)
        EventEnable("initialize")
    }
Post Reply