UGX-Mods

Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: pwman123 on March 25, 2017, 02:14:44 am

Title: Need file name for editing score bar
Post by: pwman123 on March 25, 2017, 02:14:44 am
I need to make some changes to the score bar on the hud, but I don't know where it's located in raw. I assumed that line_horizontal_scorebar was the scorebar in the hud menu file, but changes to it don't do anything. Anyone know?
Title: Re: Need file name for editing score bar
Post by: death_reaper0 on March 25, 2017, 04:07:55 pm
Code Snippet
Plaintext
	itemDef
{
name "playerscores"
rect 120 -140 100 0 HORIZONTAL_ALIGN_LEFT VERTICAL_ALIGN_BOTTOM
ownerdraw CG_COMPETITIVE_MODE_SCORES
visible 1
}

in hud.menu
Title: Re: Need file name for editing score bar
Post by: pwman123 on March 27, 2017, 02:53:21 am


in hud.menu

But how do you edit the score bar image on the hud separately from the points?
Title: Re: Need file name for editing score bar
Post by: death_reaper0 on March 27, 2017, 03:17:01 am
But how do you edit the score bar image on the hud separately from the points?

scorebar_zom_long_1.iwi
scorebar_zom_long_2.iwi
scorebar_zom_long_3.iwi
scorebar_zom_long_4.iwi
Title: Re: Need file name for editing score bar
Post by: pwman123 on March 27, 2017, 03:31:45 am
scorebar_zom_long_1.iwi
scorebar_zom_long_2.iwi
scorebar_zom_long_3.iwi
scorebar_zom_long_4.iwi

I replaced the image, but it came out as red and narrow in the game. There's no way to move the points away from the scorebar itself?
Title: Re: Need file name for editing score bar
Post by: death_reaper0 on March 27, 2017, 03:49:18 am
i dont quite get what you mean? the points and the scorebar are the same thing
Title: Re: Need file name for editing score bar
Post by: pwman123 on March 27, 2017, 03:52:51 am
i dont quite get what you mean? the points and the scorebar are the same thing

Im saying that is it possible for the player's points on the hud to be separated from the scorebar image, scorebar_zom_long_1.iwi for example
(Also, is the reason why my custom scorebar image is long and red due to a script problem or an image problem?)
Title: Re: Need file name for editing score bar
Post by: pwman123 on March 29, 2017, 03:14:37 am
well rip i guess
Title: Re: Need file name for editing score bar
Post by: death_reaper0 on March 29, 2017, 03:32:25 am
Im saying that is it possible for the player's points on the hud to be separated from the scorebar image, scorebar_zom_long_1.iwi for example
(Also, is the reason why my custom scorebar image is long and red due to a script problem or an image problem?)

the hud controls the color of it i believe
Title: Re: Need file name for editing score bar
Post by: pwman123 on March 29, 2017, 05:50:34 am
the hud controls the color of it i believe
I've changed parts of the hud script and nothing seems to change it but where it displays on the hud. I've changed the image, and it's the same results. I'm genuinely stumped

(Result)
(https://image.ibb.co/ijkxJv/rgrtgrtg.jpg)
Title: Re: Need file name for editing score bar
Post by: pwman123 on April 20, 2017, 07:05:20 am
I'll bump once and see if anyone knows.. If not, then oh well I guess
Title: Re: Need file name for editing score bar
Post by: HitmanVere on April 20, 2017, 03:19:09 pm
I've changed parts of the hud script and nothing seems to change it but where it displays on the hud. I've changed the image, and it's the same results. I'm genuinely stumped

(Result)
(https://image.ibb.co/ijkxJv/rgrtgrtg.jpg)

You broke alpha channel aka where the blending is
Title: Re: Need file name for editing score bar
Post by: pwman123 on April 21, 2017, 05:11:18 am
You broke alpha channel aka where the blending is

Are you saying that I have to make it a blend texture?