I'd like to use a sniper rifle but use the crosshairs/reticle from the pistol. I'd like to use the ammo indicator for the assault rifle also. I looked at the dependencies for the wphi for the sniper rifle: those elements are part of the bitmaps.
However, each element is in one file and the dependency won't let me switch around which part I want.
For example, ui\hud\bitmaps\combined\hud_reticles contains the reticles for all weapons (except the sniper rifle). If I had a pistol hud and I wanted to use the crosshair/reticle for the assault rifle, I would have to find out which offset the assault rifle's reticle was using and overwrite it on top of my pistol crosshair offset.
I don't know how to do this though. I think it should be pretty easy for someone who knows how to do hex. I can't hex though. Can someone help me?
I'm surprised there is no way to swap around those dependencies with HHT.
*EDIT: I looked at it with Eschaton, and I think there might be a way it names the offsets of the crosshair type).
I know this is possible, I just don't know how to explore the wphi meta. I'd do it if someone could explain how.
Mixing weapon hud dependencies around
- EchoRanger449
- Posts: 463
- Joined: Thu Aug 10, 2006 2:44 pm
- Location: It was all fun
- Contact:
![]() |
- EchoRanger449
- Posts: 463
- Joined: Thu Aug 10, 2006 2:44 pm
- Location: It was all fun
- Contact:
![]() |
<used to be talking about how there's lots that plugins can't do and how conure should have found all of this info thanks to HEK hax.>
...hehe, found it. Hex editor ftw.
In the crosshair overlays reflexive:
With the first index being zero (warthog, reticle plus a couple others), index = 1 is the turret I believe, index = 2 is rocket launcher, index = 3 is plasma pistol and so forth. Will post new plugin as an attachment in the Eschaton thread in utilities.
...hehe, found it. Hex editor ftw.
In the crosshair overlays reflexive:
Code: Select all
<short name="bitmap subindex" offset="0x46" visible="true"/>
- EchoRanger449
- Posts: 463
- Joined: Thu Aug 10, 2006 2:44 pm
- Location: It was all fun
- Contact:
![]() |
Possibly. It'd require a bit of research. Best place to look is in the correct reflexive and find gaps in the recorded data. Sometimes there's just padding, but other times it's values that were left out.
Offhand, I'd guess that the ammo bar/meter stuff is a sequence index since there's only one image in the bitmap.
As for the item icon, it looks like a mix between sequence index and bitmap indexing since there's 4 images in the bitm tag and multiple subimages within that image file (if that makes sense). wphi was pretty easy to figure out but hudg (which where I think the pick up icon is) is a bit more difficult. I might give it a try a bit later.
Offhand, I'd guess that the ammo bar/meter stuff is a sequence index since there's only one image in the bitmap.
As for the item icon, it looks like a mix between sequence index and bitmap indexing since there's 4 images in the bitm tag and multiple subimages within that image file (if that makes sense). wphi was pretty easy to figure out but hudg (which where I think the pick up icon is) is a bit more difficult. I might give it a try a bit later.