[Release]AmmoHUD

Pages : [1] 2

Shad0w
10-18-2004, 03:54 AM
I was bored and missed not having a ammo hud by my rets.So i made one and thot i would share.

1st. Add the following to TribesHUD.ini
[default_CharacterHUD]ExtensionSpecs=(ElementNa me="ext_AmmoHUD",ClassName="AmmoHUD.AmmoInfo")
2nd.Add this under the above or where ever in the file.
[ext_AmmoHUD]
horizontalAlignment=HALIG N_Center
verticalAlignment=VALIGN_ Middle
Width=40
Height=14
offsetY=2
offsetX=45

[ext_AmmoHUD_AmmoLabel]
horizontalAlignment=HALIG N_Center
verticalFill=VFILL_Relati ve
Width=30
offsetY=0
offsetX=0
justification=TXTA_Right
textFontName=TahomaBd8
bShadowed=true
shadowColor=(R=0,G=0,B=0, A=255)

3rd.Unzip and add this .u file in your bin folder..And enjoy.
(sorry for the lack of real download site)
http://www.geocities.com/nitehouseofplugins/AmmoHUD.zip

Basicly all it does is shows your current weapons ammo count off to the right hand side of the ret..Energy shows as INF..Also it disapears while zoomed.It was getting of the way durning zooms.

Anyhows enjoy.

WildKnight
10-18-2004, 09:17 AM
pics in use?

DesertJugg
10-18-2004, 10:20 AM
I'm getting a critical error when It trys to spawn me.

Access Violation caused General protection fault!

History: Process_Native_Func <- UObject::CallFunction

[SCRIPT='TribesGui.HUDElem ent.Layout' OBJ='default_CharacterHUD '] <- UObject::CallFunction
[SCRIPT='TribesGui.HUDElem ent.DoLayout' OBJ='default_CharacterHUD '] <- UObject::CallFunction
[SCRIPT='TribesGui.TribesH UDScript.DoUpdate' OBJ='default_CharacterHUD '] <- UObject::CallFunction
[SCRIPT='TribesGui.TribesH UD.DrawHUD' OBJ='TribesCharacterHUD0'] <- UObject::CallFunction
[SCRIPT='Engine.HUD.PostRe nder' OBJ='TribesCharacterHUD0']
<- UObject::ProcessEvent [Function TribesGui.TribesHUD.PostR ender() on TribesCharacterHUD MP-Spiridian.TribesCharacter HUD0]
<- FPlayerSceneNode::Render <- UGameEngine::Draw
<- UWindowsViewport::Repaint <- UWindowsClient::Tick
<- ClientTick <- UGameEngine::Tick <- UpdateWorld <- MainLoop

GreyHound
10-18-2004, 11:33 AM
shots

ilys
10-18-2004, 11:37 AM
He is missing an open bracket for the extension specs
ExtensionSpecs=(ElementNa me="ext_AmmoHUD",ClassName="AmmoHUD.AmmoInfo")
Try that.

ParoxysM
10-18-2004, 01:27 PM
:Pstfu:

Ego
10-18-2004, 01:37 PM
http://www.pudge.org.uk/pics/tvscreeny.jpg

I moved it to left side instead of right and took off bold

Nikita
10-18-2004, 01:49 PM
Hey Ego! :)

Ego
10-18-2004, 01:58 PM
woooaaaahhhhh

Hi spy, long time no see :)

Shad0w
10-18-2004, 02:07 PM
screensshots..Sorry for lack of screen shots last night, it was late .
also sorry about the type-o. Anyhows enjoy.
http://www.geocities.com/nitehouseofplugins/ahud1.jpg
http://www.geocities.com/nitehouseofplugins/ahud2.jpg

ArkhoN
10-19-2004, 12:44 AM
awesome work

Shad0w
10-19-2004, 01:18 AM
Updated..Added Grenade Count(Per MonkeyHero suggestion) and Moved the huds over to the left side of the rets.They seemed to be gettin in the way .also changed up the font stuff..

UnZip Place in bin.
http://www.geocities.com/nitehouseofplugins/AmmoHUD.zip

Place in TribesHUD.ini.Under this line.
[default_CharacterHUD]
ExtensionSpecs=(ElementNa me="ext_AmmoHUD",ClassName="AmmoHUD.AmmoInfo")

Place in TribesHUD.ini where ever ya like.
[ext_AmmoHUD]
horizontalAlignment=HALIG N_Center
verticalAlignment=VALIGN_ Middle
Width=40
Height=10
offsetY=0
offsetX=-30
[ext_AmmoHUD_AmmoLabel]
horizontalAlignment=HALIG N_Center
verticalFill=VFILL_Relati ve
Width=40
Height=10
offsetY=0
offsetX=0
[ext_AmmoHUD_GrenadeLabel]
horizontalAlignment=HALIG N_Center
verticalAlignment=VALIGN_ Middle
Width=40
Height=10
offsetY=10
offsetX=0

Screen shots
http://www.geocities.com/nitehouseofplugins/aghud1.jpg
http://www.geocities.com/nitehouseofplugins/aghud2.jpg

Enjoy and feel free to edit as you please.If you have any ideas suggests let me know i'll see what i can do.
Next update i'll include the source so others can learn from.

Thanks and enjoy guys.

Alex the mad
10-19-2004, 01:51 AM
do egoammo :p

Oxide
10-19-2004, 01:59 AM
!

I didn't know this existed yet, too many forums to keep track of. :)

Nash
10-19-2004, 02:44 AM
Kickass.
GJ man :)

MonkeyHero
10-19-2004, 09:23 AM
Thank you very much :]

Hybrid
10-19-2004, 11:09 AM
Hey! i just played with you Monkey! lol and i was using the ammo hud! good job on the hud shadow =)

Strega
10-19-2004, 12:11 PM
No workie for me =(


No clue what I'm doing wrong =\

RA-Jeff
10-19-2004, 05:26 PM
Me either. Could it be the fact that I have Jotun's new Status bars around the retcile? If so what do I do different?

MikSchultzy
10-19-2004, 05:41 PM
Workin good here. Nice stuff.