Need Some Help.....Hud editing?

Discuss general issues about modding HaloPC. Post ideas for mods here.
BriDog





Posts: 32
Joined: Sun Oct 24, 2004 11:49 pm

Need Some Help.....Hud editing?

Post by BriDog »

I'm working on a small weapon mod, it's mostly just a rebalance of the guns for SP.

What I don't know is how to make the hud show the changes I've made. For example: I doubled the sniper rifle's clip size. How do I get the hud to show 8 bullets instead of 4? I did the same with the needler too.

I've spent the last few days searching these forums, but I haven't found anything helpful.

If somebody could post a how-to, or link to a tutorial I'd really appreciate it.
BriDog





Posts: 32
Joined: Sun Oct 24, 2004 11:49 pm

Post by BriDog »

Um....bump?
BriDog





Posts: 32
Joined: Sun Oct 24, 2004 11:49 pm

Post by BriDog »

OK, I've looked through the bitmaps section of a .map file is this: ui\hud\bitmaps\combined\hud_ammo_meters what I want to edit? And will editing it automaticly make my changes work? Or is there something else I'd need to edit to get it fully functional?
User avatar
Danke




Wordewatician 500 Mad Hatter

Posts: 2256
Joined: Sun Nov 02, 2003 7:44 pm

Post by Danke »

I've been trying to figure it out for awhile, and I'm really just too lazy to do the bitmap thing, but I'm almost positive it's it. You'll probably want to size them down make more on top of the original ones. Then you'll want to change the sprite size, you'll have to change it using the HEK and coverting it over. It's actually easy to do that as long as you have a map to compile. Otherwise you'll have trouble finding the offset for it.
Image
McFarlane





Posts: 1391
Joined: Wed Mar 31, 2004 4:18 pm

Post by McFarlane »

Their was one mod that changed the hud.
It's much easier on ce.
Image
My pb | My gifts | Catch22
BriDog





Posts: 32
Joined: Sun Oct 24, 2004 11:49 pm

Post by BriDog »

Can't I just extract it with HMT, edit it with photoshop, then re-inject it into the .maps?

Then you'll want to change the sprite size, you'll have to change it using the HEK and coverting it over
I don't really understand, what is the sprite? The bullet image?

Also, would I really need to get HEK? Since this is a SP mod
McFarlane





Posts: 1391
Joined: Wed Mar 31, 2004 4:18 pm

Post by McFarlane »

BriDog wrote:Can't I just extract it with HMT, edit it with photoshop, then re-inject it into the .maps?

Then you'll want to change the sprite size, you'll have to change it using the HEK and coverting it over
I don't really understand, what is the sprite? The bullet image?
Nope.
They don't extract as bitmap tags they do as a hud_something tag.
And I don't think hmt can open those types.
And even if it was a bitmap tag, that wouldn't help either.
Based off haloCE some stuff is a tint.
Especally night-vision.
Image
My pb | My gifts | Catch22
BriDog





Posts: 32
Joined: Sun Oct 24, 2004 11:49 pm

Post by BriDog »

When I extracted it, it was a .dds file.

So, if I'm understanding you right then what "colors in" the bullets before they get shown as "empty" is a layer of tint? And that would be specified somewhere else in the .map?
hitmanbob





Posts: 365
Joined: Tue Aug 10, 2004 9:41 am
Location: here

Post by hitmanbob »

the black in the dds file basically tells halo that it souldnt even think about usin it, but all other colors show up

u can shange the reitcle, ammo, and basic hud things in halo wihtout rebuilding, but in oreder for it to say 'press ??? to swap with ???' u hav to hex it in
BriDog





Posts: 32
Joined: Sun Oct 24, 2004 11:49 pm

Post by BriDog »

OK, simple yes or no question then I'll have the info I need:

Can I simply edit the .dds file I extracted, edit it, then inject it, and everything will run fine?



BTW, thanks for the help, I appreciate it
McFarlane





Posts: 1391
Joined: Wed Mar 31, 2004 4:18 pm

Post by McFarlane »

Yes.
Image
My pb | My gifts | Catch22
BriDog





Posts: 32
Joined: Sun Oct 24, 2004 11:49 pm

Post by BriDog »

Cool. Thanks a bunch.

I'll be posting my little mod in a couple days then.
McFarlane





Posts: 1391
Joined: Wed Mar 31, 2004 4:18 pm

Post by McFarlane »

Sounds nice but I don't really play halo pc much anymore.
For me it's just xbox.
Image
My pb | My gifts | Catch22
BriDog





Posts: 32
Joined: Sun Oct 24, 2004 11:49 pm

Post by BriDog »

Oh well, I'm not trying to make an uber-mod or anything. I'm sure some people will try it out. It's mostly for some people I know who like to complain about the AR being crap and the pistol being uber.
User avatar
Danke




Wordewatician 500 Mad Hatter

Posts: 2256
Joined: Sun Nov 02, 2003 7:44 pm

Post by Danke »

You'd export hud_ammo_meters1.dds and edit it and import it back it. The problem is that the hud tag tells halo the dimensions to cut those pictures into. So the coloring on the bullets will fill in like the normal sniper rifle. If you had an 8 bullet clip, it wouldn't change the color on the first 4 shots, and would darken the other bullets 2 at a time. So you need to find the offset for how it divides that sprite.
Image
BriDog





Posts: 32
Joined: Sun Oct 24, 2004 11:49 pm

Post by BriDog »

Dan!! wrote:You'd export hud_ammo_meters1.dds and edit it and import it back it. The problem is that the hud tag tells halo the dimensions to cut those pictures into. So the coloring on the bullets will fill in like the normal sniper rifle. If you had an 8 bullet clip, it wouldn't change the color on the first 4 shots, and would darken the other bullets 2 at a time. So you need to find the offset for how it divides that sprite.

Oooooh, I understand a lot now.


Any ideas on how to find the offset? I have no experience with that......
User avatar
Danke




Wordewatician 500 Mad Hatter

Posts: 2256
Joined: Sun Nov 02, 2003 7:44 pm

Post by Danke »

I was wrong. The size of sprites is determined before you compile the bitmap, it's done in photoshop. So you can't do that. You can change the value multiplier though, which might change the amount it shades bullets. I'm gonna test right now.
Image
BriDog





Posts: 32
Joined: Sun Oct 24, 2004 11:49 pm

Post by BriDog »

Cool man, post and tell me if it worked!
User avatar
Danke




Wordewatician 500 Mad Hatter

Posts: 2256
Joined: Sun Nov 02, 2003 7:44 pm

Post by Danke »

Didn't. It's just for meters. I'm sorry I'm not sure how to do this.
Image
BriDog





Posts: 32
Joined: Sun Oct 24, 2004 11:49 pm

Post by BriDog »

Thanks for trying. I wonder where the data that needs to be changed is though......oh well, time to go hunting.
Post Reply