Page 1 of 1

[?] Supply crate HUD count?

Posted: 2012-05-05 17:32
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

Re: Supply crate HUD count

Posted: 2012-05-05 17:44
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

Re: Supply crate HUD count

Posted: 2012-05-05 18:12
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 :-)

Re: Supply crate HUD count

Posted: 2012-05-05 18:24
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.

Re: Supply crate HUD count

Posted: 2012-05-05 18:27
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 :)

Re: [?] Supply crate HUD count?

Posted: 2012-05-06 09:58
by dkleader
Thanks!
That did work, i have one more thing to fix and then i send you the files.

Re: [?] Supply crate HUD count?

Posted: 2012-05-06 10:00
by Rhino
Awesome sounds good! :D

After that you up for doing the same tweaks to the UH-1H? POVs, flares and hud counter :)

Re: [?] Supply crate HUD count?

Posted: 2012-05-06 14:39
by dkleader
Yeah sure :-)