A3YROldGirl
10-19-2004, 06:52 PM
Ego, can you please release the code for the T2style ammohud measurement... Or even better (if you can), release egohud for T:V?
[Release]AmmoHUDPages :
1
[2]
A3YROldGirl 10-19-2004, 06:52 PM Ego, can you please release the code for the T2style ammohud measurement... Or even better (if you can), release egohud for T:V? Nash 10-19-2004, 07:11 PM I'ld like to ask a request if possible. That's how it's atm: http://www.daddysworld.org/tribes/ammohud1.jpg That's how i'ld like to have it (ph34r MS Paint): http://www.daddysworld.org/tribes/ammohud2.jpg If possible, remove the "G-" and align the number of grenades to the left side. Also (if possible), the color of the #Ammo changes to red if you're low on ammo (grens and weapons ammo). I guess you'ld need to add a variable for each weapon (like 5 discs for spin etc..) Moving the Hud the the left corner shouldn't be a prob i guess? :) Shad0w 10-19-2004, 07:21 PM You should be able to move the huds down more by just tweaking the offsetY/offsetX for ammoHud and Grenadelabel. I'll play with it tonight if i can keep this computer from constantly restarting . :( . Ya i can remove the G-, the next update i'll see if i cant fix up a color change deal onlow ammo(cool idea btw) and add in some default props and its own INI file so its easier to tweak and customize.. For thoses not working whats it doing? Not showing at all? or Not counting? need more info please so i can see if i can fix it up. Strega 10-19-2004, 08:39 PM You should be able to move the huds down more by just tweaking the offsetY/offsetX for ammoHud and Grenadelabel. I'll play with it tonight if i can keep this computer from constantly restarting . :( . Ya i can remove the G-, the next update i'll see if i cant fix up a color change deal onlow ammo(cool idea btw) and add in some default props and its own INI file so its easier to tweak and customize.. For thoses not working whats it doing? Not showing at all? or Not counting? need more info please so i can see if i can fix it up. For me, just not showing up at all. Top of my TribesHUD.ini looks like this: [TribesGUI.TribesHUDScript] ExtensionSpecs=(ElementNa me="ext_FlagHudContainer",ClassName="FlagHUD.Flaggy",IniFile="FlagHUD.ini") ExtensionSpecs=(ElementNa me="ext_SpeedHudContainer",ClassName="SpeedBar.SpeedHud") ExtensionSpecs=(ElementNa me="ext_PingHudContainer",ClassName="PingHUD.Ping") ExtensionSpecs=(ElementNa me="ext_AmmoHUD",ClassName="AmmoHUD.AmmoInfo") [TribesGUI.TribesRespawnHU D] HUDScriptType="FlagHUD.RespawnHUDScript" Nash 10-19-2004, 08:57 PM You forgot to add those lines after the ExtensionSpecs part: [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 So it'll look like this : [TribesGUI.TribesHUDScript] ExtensionSpecs=(ElementNa me="ext_FlagHudContainer",ClassName="FlagHUD.Flaggy",IniFile="FlagHUD.ini") ExtensionSpecs=(ElementNa me="ext_SpeedHudContainer",ClassName="SpeedBar.SpeedHud") ExtensionSpecs=(ElementNa me="ext_PingHudContainer",ClassName="PingHUD.Ping") ExtensionSpecs=(ElementNa me="ext_AmmoHUD",ClassName="AmmoHUD.AmmoInfo") [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 [TribesGUI.TribesRespawnHU D] HUDScriptType="FlagHUD.RespawnHUDScript" Strega 10-20-2004, 01:53 AM Actually those are in there, I just didn't post them. Doesn't work for some reason, might be a conflict with another hud, not sure. Decklund 10-20-2004, 01:48 PM You took out the font properties from hud.ini. Are they now covered in the zipped file or can we change the font properties in hud.ini? I run at a high resolution and the current text is too small to be easily visible. Otherwise this is a cool script. I am considering getting rid of ammo counts on my individual weapons completely and just making use of this enhancement. Shad0w 10-20-2004, 03:36 PM Ya i took it out..You can add this line to the Ammo/Grenade Label textFontName=TahomaBd8 the 8 at the end is the size of the font.. I should have an update tomo or so, addin in its own ini file with some default props so its more custmizible for people.. BFGanksta 10-20-2004, 05:14 PM NM. I'm an idiot and I fixed it. Nice hud. Also I was wondering if you could make the weapon ammo count fade when the weapon is fired? kMz. 10-20-2004, 08:44 PM I would just like Nash's request to remove the G- thanks <3 nicework :D so bump this when u update it Hybrid 10-21-2004, 01:25 PM Shadow, is there anyway i change the color to red orblue? i want it to stand out next to my hud so i realise it. Or even, like say let it be blue all the time then when ammo gets low it turns red? id just need the code/script. LostAngel 10-21-2004, 04:25 PM The offsetX and Y in my hud should place that down to the left there where you want it Nash. Just rip that code out of my hud if you want it. Shad0w 10-21-2004, 04:58 PM @ Hybrid.. Ya you can add TextColor to the Labels..that will change the colors for ya. Also I am Making the G- a tag string..so you can put anything you want or nothing at all there if you want. Whats holding me up is this color changing deal..Having a hard time getting the max ammo amount for each armor class, and the hud wont let me use the current ammo amount...its weird..i'll get something tho..hang tight..:) MikSchultzy 10-21-2004, 07:58 PM What about "Reload" times. Maybe make the ammo color red, and then when it's ready again back to white? Just an idea. Hybrid 10-22-2004, 12:22 AM For those who want to add color to it so its more visible, i got it =) the ammo hud extension should look like this [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) A Pic of what i did : http://img24.exs.cx/img24/685/Shot00109.jpg I made the normal ammo display (the one of the weapon your currently using) green and then made the Grenade display red! again awesome hud Shadow! =) its up there with the flaghud IMO (sorry but the screenshot is pretty lq, i used Irfranview to do a quick jpeg :roller: ) RA-Jeff 10-22-2004, 12:02 PM Where is the GrenadeLabels area? Mine looks like this. ;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) [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 ; LostAngel 10-22-2004, 12:05 PM Newer version of the Ammo script. RA-Jeff 10-22-2004, 12:18 PM Do I also since it is updated get rid of the default grenades and carryables sections or not? | ||