Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Low Ammo Ind. Enable #102

Closed
Excalvinur opened this issue Apr 7, 2015 · 6 comments
Closed

Low Ammo Ind. Enable #102

Excalvinur opened this issue Apr 7, 2015 · 6 comments

Comments

@Excalvinur
Copy link

I'm probably another one of those clueless people out there... but how do you enable Low Ammo Indicators? I read the insructions on the omphud website to uncomment the slashes, but I don't know which ones to uncomment. I might not understand clearly because I own a Mac. And yes, I know what uncomment means.

And if someone tells me that low ammo indicators aren't important, I'm a huge Beggar's Bazooka fan. Watching your ammo is essential.

@Excalvinur
Copy link
Author

-UPDATE-

I got the ammo text to turn red when I'm low, but when I gain ammo, the text is still red. Even when I change class or die, the text stayes red.

@Excalvinur
Copy link
Author

-UPDATE-

Messed around in the files some more, got it to work.

@jbisbee
Copy link

jbisbee commented Apr 9, 2015

Can you provide the diff?

On Wed, Apr 8, 2015 at 5:36 PM Excalviner notifications@github.com wrote:

-UPDATE-

Messed around in the files some more, got it to work.


Reply to this email directly or view it on GitHub
#102 (comment).

@Excalvinur
Copy link
Author

I'm new to coding… what is diff? Sorry xD

@jbisbee
Copy link

jbisbee commented Apr 28, 2015

Can you share the changes you've made?

On Mon, Apr 27, 2015, 8:10 PM Excalviner notifications@github.com wrote:

I'm new to coding… what is diff? Sorry xD


Reply to this email directly or view it on GitHub
#102 (comment).

@Excalvinur
Copy link
Author

Sure.


-----------------------This is what I had in my files when I got the hud for the first time----------------------------

event HudLowAmmoPulse
{
Animate HudWeaponLowAmmoImage Alpha "255" Linear 0.0 0.075
Animate HudWeaponLowAmmoImage Alpha "0" Linear 0.125 0.075

//Animate AmmoInClip            FgColor     "OmpAmmoClipLow1"   Linear 0.0 0.075
//Animate AmmoInClip            FgColor     "OmpAmmoClipLow2"   Linear 0.125 0.075

//Animate AmmoInReserve     FgColor     "OmpAmmoReserveLow1"    Linear 0.0 0.075
//Animate AmmoInReserve     FgColor     "OmpAmmoReserveLow2"    Linear 0.125 0.075

//Animate AmmoNoClip            FgColor     "OmpAmmoClipLow1"   Linear 0.0 0.075
//Animate AmmoNoClip            FgColor     "OmpAmmoClipLow2"   Linear 0.125 0.075

RunEvent HudLowAmmoPulseLoop    0.25

}

// call to loop HudLowAmmoPulse
event HudLowAmmoPulseLoop
{
RunEvent HudLowAmmoPulse 0.0
}

event HudLowAmmoPulseStop
{
StopEvent HudLowAmmoPulse 0.0
StopEvent HudLowAmmoPulseLoop 0.0

//Animate AmmoInClip        FgColor     "OmpAmmoClip"       Accel 0.0 0.0
//Animate AmmoInReserve FgColor     "OmpAmmoReserve"    Accel 0.0 0.0
//Animate AmmoNoClip        FgColor     "OmpAmmoClip"       Accel 0.0 0.0

}


-------------------------------This is what I came out with after messing around a bit--------------------------------

event HudLowAmmoPulse
{
Animate HudWeaponLowAmmoImage Alpha "255" Linear 0.0 0.075
Animate HudWeaponLowAmmoImage Alpha "0" Linear 0.125 0.075

Animate AmmoInClip          FgColor     "OmpAmmoClipLow1"   Linear 0.0 0.075
Animate AmmoInClip          FgColor     "OmpAmmoClipLow2"   Linear 0.125 0.075

Animate AmmoInReserve       FgColor     "OmpAmmoReserveLow1"    Linear 0.0 0.075
Animate AmmoInReserve       FgColor     "OmpAmmoReserveLow2"    Linear 0.125 0.075

Animate AmmoNoClip          FgColor     "OmpAmmoClipLow1"   Linear 0.0 0.075
Animate AmmoNoClip          FgColor     "OmpAmmoClipLow2"   Linear 0.125 0.075

RunEvent HudLowAmmoPulseLoop    0.25

}

//call to loop HudLowAmmoPulse
event HudLowAmmoPulseLoop
{
RunEvent HudLowAmmoPulse 0.0
}

event HudLowAmmoPulseStop
{
StopEvent HudLowAmmoPulse 0.0
StopEvent HudLowAmmoPulseLoop 0.0

Animate AmmoInClip      FgColor     "OmpAmmoClip"       Accel 0.0 0.0
Animate AmmoInReserve   FgColor     "OmpAmmoReserve"    Accel 0.0 0.0
Animate AmmoNoClip      FgColor     "OmpAmmoClip"       Accel 0.0 0.0

}

I don't know how to present these any better... sorry about that. Haven't had much experience on this website xD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants