[?] Supply crate HUD count?

Making or wanting help making your own asset? Check in here
Post Reply
dkleader
Posts: 35
Joined: 2009-07-31 10:55

[?] Supply crate HUD count?

Post by dkleader »

I am creating another version of the H34 used in Vietnam, but in PR:V there is not HUD showing how many supply crates left, and I'm not that skilled yet with con and tweak files so i can locate the code used, any one knows what to use, to have the HUD showing how many crates left?

Thanks in advance

Image
Im Working For Illution
Illution.dk
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: Supply crate HUD count

Post by Rhino »

Not sure on this but it might be due to your guiIndex defined in the flare counter:

Code: Select all

ObjectTemplate.weaponHud.guiIndex 509
ObjectTemplate.weaponHud.altGuiIndex 509
Chinook etc have this set to -1 for there flare counters and only have the supply crate weapon as guiIndex 27 which you already have for your supply crate, but this might be overriding it.

Also if you haven't already fixed it can you try and stop the selection icons from showing when using the POVs etc, can't see any cause for it but possibly someone else might be able to help out there :)

POVs are also better but top one looking up is still a bit far over to the left, should be this sort of view: http://i.imgur.com/LQ3zt.jpg
And one looking right could be a little more out towards the right :)

Other than that, looking good and keep up the good work! :D
Image
dkleader
Posts: 35
Joined: 2009-07-31 10:55

Re: Supply crate HUD count

Post by dkleader »

I'll try fixing the problem with the supply crate and the selection icons have i removed looked around and found something in the POV code block called showSelectionIcon and i outcommented it :-)

Image
Im Working For Illution
Illution.dk
dkleader
Posts: 35
Joined: 2009-07-31 10:55

Re: Supply crate HUD count

Post by dkleader »

It wasn't the:
<code>
ObjectTemplate.weaponHud.guiIndex 509
ObjectTemplate.weaponHud.altGuiIndex 509
</code>
that caused the problem with the HUD...
But i uploaded a new version to my website with the newest fixes.

Image
Im Working For Illution
Illution.dk
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: Supply crate HUD count

Post by Rhino »

you could try changing:

Code: Select all

ObjectTemplate.weaponHud.guiIndex 509
ObjectTemplate.weaponHud.altGuiIndex 509
to:

Code: Select all

ObjectTemplate.weaponHud.guiIndex 27
ObjectTemplate.weaponHud.altGuiIndex 27
On the flare counter and that might help :)
Image
dkleader
Posts: 35
Joined: 2009-07-31 10:55

Re: [?] Supply crate HUD count?

Post by dkleader »

Thanks!
That did work, i have one more thing to fix and then i send you the files.

Image
Im Working For Illution
Illution.dk
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: [?] Supply crate HUD count?

Post by Rhino »

Awesome sounds good! :D

After that you up for doing the same tweaks to the UH-1H? POVs, flares and hud counter :)
Image
dkleader
Posts: 35
Joined: 2009-07-31 10:55

Re: [?] Supply crate HUD count?

Post by dkleader »

Yeah sure :-)

Image
Im Working For Illution
Illution.dk
Post Reply

Return to “PR:BF2 Community Modding”