[Release] Updated AmmoHud.

Shad0w

Veteran X
http://www.geocities.com/nitehouseofplugins/AmmoHudv2.zip

Well i hit a road block..lol..But i tried to get aleast some of the suggestions in.

Heres the list, theses are also in the readme file thats in the zipfile.

I couldnt get the flashing to work right so that will have to wait along with a more dynamic ammo color changing system..


/////////////////////////////////////////////////////
Added a few custimizible settings.
Full Ammo Color:Color of your ammohud when its full or 75% give or take.
Half Ammo Color:Color of your ammohud when you reach low ammo.
Gren Ammo Color:Color of your grenade counter.
Grenade Tag :You can add a Text tag or you can remove it..IE: "g"

Know Issues.
The INF Ammo changed colors when its not ment too -_-..Its a bug i havent worked out yet.Jumps from full ammo color to half ammo color depending on which why you cycle thru your weapons.

Ammo Color change:
For some odd reason i am unable to get the armors MAX ammo.So i did the best that i could with the weapon base ammo.
Base ammo meaning Light Armor ammo IE:15 disc etc..So once you reach 50% of 15 the ammo hud changes color.But bigger armors carry more ammo so you can kinda see the problem. Hopefully once the TW Dev site is up i can fix this issue and make it more Dynamic.

INSTALL.

Place this line into your TribesHUD.ini File at the top.Under this line

[default_CharacterHUD]
ExtensionSpecs=(ElementName="ext_AmmoHUD",ClassName="AmmoHUD.AmmoInfo",IniFile="AmmoHUD.ini")

Unzip and place Both files AmmoHUD.ini and AmmoHUD.u in
C:\Program Files\VUGames\Tribes Vengeance\Program\Bin .
Or in the Bin folder if you have installed the game else where.
/////////////////////////////////////////////////////////////////////
Enjoy guys, and thanks for the great ideas.
 
Since this new update, what do I not need from the previous update? Do I still need the Ammo HUD stuff to be in the TribesHUD.ini file besdies the extension thing which I know needs to stay and has now been changed?
 
MikSchultzy said:
Heh i tried that, it would just disappear..I think i am using the wrong hud element, i am gonna wait till the TW Dev site is up again, so i can study up and firgure this out better.

ParaxysM, it looks the same, just more custmizible now.I'll put up some screens today tho when i get a chance.

RA-Jeff, all ya need is the new extension.
Code:
[default_CharacterHUD]
ExtensionSpecs=(ElementName="ext_AmmoHUD",ClassName="AmmoHUD.AmmoInfo",IniFile="AmmoHUD.ini")

Then put the ini file and .u file in your tribes Bin folder..Then you can go in the AmmoHUD.INI and tweak out the colors you want..
 
How would I make this change, from the ammohud to the black box, which variables and where and ~what # do u think it would be. It's at 1024x768
Shot00000amhud.jpg
 
Last edited:
Code:
===========
;AmmoHUD
;

[ext_AmmoHUD]
horizontalAlignment=HALIGN_Center
verticalAlignment=VALIGN_Middle
Width=40
Height=10
offsetY=0
offsetX=-30
textColor=(R=0,G=255,B=0,A=255)

[ext_AmmoHUD_AmmoLabel]
horizontalAlignment=HALIGN_Center
verticalFill=VFILL_Relative
Width=40
Height=10
offsetY=0
offsetX=0
textColor=(R=0,G=255,B=0,A=255)

[ext_AmmoHUD_GrenadeLabel]
horizontalAlignment=HALIGN_Center
verticalAlignment=VALIGN_Middle
Width=40
Height=10
offsetY=10
offsetX=0
textColor=(R=255,G=0,B=0,A=255)

[default_grenades]
emptyTexture=(drawColor=(R=255,G=255,B=255,A=255),style=0)
fullTexture=(drawColor=(R=255,G=255,B=255,A=255),style=0)
textFontName=Res_DefaultFont
textFont=font'Engine_res.Res_DefaultFont'
horizontalAlignment=HALIGN_Center
verticalAlignment=VALIGN_Middle
bDrawKey=False
Width=40
Height=14
offsetY=30
offsetX=14

[default_Carryable]
emptyTexture=(drawColor=(R=255,G=255,B=255,A=255),style=0)
fullTexture=(drawColor=(R=255,G=255,B=255,A=255),style=0,fadeDuration=0.30,bFading=true,fadeSourceColor=(R=255,G=0,B=0,A=255),fadeTargetColor=(R=255,G=255,B=255,A=255),bFadePulse=true)
bDrawKey=false
horizontalAlignment=HALIGN_Center
verticalAlignment=VALIGN_Middle
Width=40
Height=14
offsetY=-74
offsetX=13
keyTemplateObjectName=default_EquipmentHotkeyLabel

;

So I get rid of all of this in the tribes.ini file? I have put in the new extension and the new Ammohud.ini file.
 
Do you really want to get rid of your carryable? thats the flag icon and ball etc..instead of getting rid of something thats stock..Just comment it out. like so, add " ; " infront of each line..AS for the ammohud stuff ya you can remove it ..

It has its own INI file now, you can tweak the ammohud there.

@Kmz use the offsetY offsetX in [ext_AmmoHUD] and [ext_AmmoHUD_GrenadeLabel]..
I think someone already moved it around where your asking in is in the old thread..
 
what's the grenades part for and the grenades lable thing? Is that part of the Ammo HUD old version? I'll keep caryable. I didn't know what that was for.
 
Done. Now I have noticed that my Ammo count is in white. How do I change the color for better contrast? And what's this blue G2 thing below my Ammo count?
 
The G2 is your grenade count. G-renade 2, this number will change as you get and use grenades. To change the color go into your program/bin folder and find the ammohud.ini file and change the Red, Green, Blue values as you see fit.
 
Look for this line in both grenadeLabel AmmoLabel .In AmmoHUD.ini file .
;textFontName=Tahoma8 remove the ; symbol ..chnage the 8 at the end of Tahoma8 if its still to small..
 
when i got rid of the icon for the grenades (since 2 sorces of ammo count is not needed) i got numbers in the top left of my screen. i think one of the numbers is the ammo count. did i goof up or is this a bug?
 
I got that problem at first too, I just moved the gren icon offscreen for the time being. I'm lazy. :(
 
Back
Top