[Release] Updated AmmoHud.

Pages : [1] 2 3

Shad0w
10-22-2004, 06:13 AM
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=(ElementNa me="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.

MikSchultzy
10-22-2004, 07:51 AM
What about "Reload" times. Maybe make the ammo color red, and then when it's ready again back to white?

Just an idea. .

RA-Jeff
10-22-2004, 02:13 PM
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?

ParoxysM
10-22-2004, 02:46 PM
:Pstfu:

_Gummeh_
10-22-2004, 04:49 PM
Shad0w u have a pm :)

Shad0w
10-22-2004, 05:41 PM
.
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.
[default_CharacterHUD]
ExtensionSpecs=(ElementNa me="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..

kMz.
10-22-2004, 07:43 PM
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
http://upload.serverseed.com/pictars4/Shot00000amhud.jpg

RA-Jeff
10-22-2004, 09:09 PM
===========
;AmmoHUD
;

[ext_AmmoHUD]
horizontalAlignment=HALIG N_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=HALIG N_Center
verticalFill=VFILL_Relati ve
Width=40
Height=10
offsetY=0
offsetX=0
textColor=(R=0,G=255,B=0, A=255)

[ext_AmmoHUD_GrenadeLabel]
horizontalAlignment=HALIG N_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),s tyle=0)
textFontName=Res_DefaultF ont
textFont=font'Engine_res. Res_DefaultFont'
horizontalAlignment=HALIG N_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),s tyle=0,fadeDuration=0.30, bFading=true,fadeSourceCo lor=(R=255,G=0,B=0,A=255) ,fadeTargetColor=(R=255,G =255,B=255,A=255),bFadePu lse=true)
bDrawKey=false
horizontalAlignment=HALIG N_Center
verticalAlignment=VALIGN_ Middle
Width=40
Height=14
offsetY=-74
offsetX=13
keyTemplateObjectName=def ault_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.

Shad0w
10-22-2004, 09:41 PM
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..

RA-Jeff
10-22-2004, 10:08 PM
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.

BFGanksta
10-22-2004, 10:29 PM
If it has [default_*] leave it. Everything that says [ext_ammoHUD_*] delete.

RA-Jeff
10-22-2004, 10:36 PM
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?

BFGanksta
10-22-2004, 11:04 PM
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.

kRiMiNaL
10-23-2004, 03:24 AM
how do i make the numbers a lil bigger?

Shad0w
10-23-2004, 05:19 AM
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..

kRiMiNaL
10-23-2004, 08:37 PM
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?

RA-Jeff
10-23-2004, 08:47 PM
Me too.

MikSchultzy
10-23-2004, 08:48 PM
I got that problem at first too, I just moved the gren icon offscreen for the time being. I'm lazy. :(

kRiMiNaL
10-23-2004, 08:49 PM
heh ok so i didnt nerf anything. thnx

kMz.
10-23-2004, 08:55 PM
http://www.tribalwar.com/forums/showthread.php?t=335175